public abstract class JdbcBufferedIndexOutput extends org.apache.lucene.store.ConfigurableBufferedIndexOutput implements JdbcIndexConfigurable
Modifier and Type | Field and Description |
---|---|
static String |
BUFFER_SIZE_SETTING
The buffer size setting name.
|
Constructor and Description |
---|
JdbcBufferedIndexOutput() |
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.
|
close, flush, getChecksum, getFilePointer, length, seek, writeByte, writeBytes
public static final String BUFFER_SIZE_SETTING
JdbcFileEntrySettings.setIntSetting(String,int)
.
Should be set in bytes.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.