public abstract class JdbcBufferedIndexInput extends org.apache.lucene.store.ConfigurableBufferedIndexInput implements JdbcIndexConfigurable
Modifier and Type | Field and Description |
---|---|
static String |
BUFFER_SIZE_SETTING
The buffer size setting name.
|
Constructor and Description |
---|
JdbcBufferedIndexInput()
Constructs a JdbcBufferedIndexInput
|
JdbcBufferedIndexInput(String resourceDescription)
Constructs a JdbcBufferedIndexInput from the given resource description
|
Modifier and Type | Method and Description |
---|---|
void |
configure(String name,
OracleJdbcDirectory jdbcDirectory)
Configures this object instance with the given name and OracleJdbcDirectory
object.
|
int |
getSetting(String setting,
int defaultValue)
Returns the int value that matches the given setting.
|
clone, getBufferSize, getFilePointer, readByte, readBytes, seek, setBufferSize, slice
public static final String BUFFER_SIZE_SETTING
JdbcFileEntrySettings.setIntSetting(String,int)
.
Should be set in bytes.public JdbcBufferedIndexInput()
public JdbcBufferedIndexInput(String resourceDescription)
resourceDescription
- a string describing this resource. It must NOT be null.public void configure(String name, OracleJdbcDirectory jdbcDirectory) throws IOException
configure
in interface JdbcIndexConfigurable
name
- the name of this IndexOutput objectjdbcDirectory
- the OracleJdbcDirectory where the index is stored.IOException
public int getSetting(String setting, int defaultValue)
setting
- The setting namedefaultValue
- The default value to be used if no setting is foundCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.