public class FetchPerTransactionJdbcIndexInput extends JdbcBufferedIndexInput
BUFFER_SIZE_SETTING| Constructor and Description |
|---|
FetchPerTransactionJdbcIndexInput() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream to further operations.
|
void |
configure(String name,
OracleJdbcDirectory directory)
Configures this object instance with the given name and OracleJdbcDirectory
object.
|
long |
length()
Returns the number of bytes in the file
|
static void |
releaseBlobs(Connection connection)
Releases all the Blob holders for the given connection
|
static void |
releaseBlobs(Connection connection,
String tableName,
String name)
Release the Blob holders for the given connection and table name
|
getSettingclone, getBufferSize, getFilePointer, readByte, readBytes, seek, setBufferSize, slicepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.store.IndexInputIOExceptionpublic void configure(String name, OracleJdbcDirectory directory) throws IOException
configure in interface JdbcIndexConfigurableconfigure in class JdbcBufferedIndexInputname - the name of this IndexOutput objectdirectory - the OracleJdbcDirectory where the index is stored.IOExceptionpublic long length()
length in class org.apache.lucene.store.IndexInputpublic static void releaseBlobs(Connection connection)
connection - a connection to the database holding the files of
the text indexpublic static void releaseBlobs(Connection connection, String tableName, String name)
connection - a connection to the database holding the files of
the text indextableName - the table name of the JDBC Directoryname - the file name to removeCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.