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
|
getSetting
clone, getBufferSize, getFilePointer, readByte, readBytes, seek, setBufferSize, slice
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.lucene.store.IndexInput
IOException
public void configure(String name, OracleJdbcDirectory directory) throws IOException
configure
in interface JdbcIndexConfigurable
configure
in class JdbcBufferedIndexInput
name
- the name of this IndexOutput objectdirectory
- the OracleJdbcDirectory where the index is stored.IOException
public long length()
length
in class org.apache.lucene.store.IndexInput
public 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.