org.apache.lucene.store.jdbc.index
Class JdbcBufferedIndexInput
java.lang.Object
org.apache.lucene.store.IndexInput
org.apache.lucene.store.ConfigurableBufferedIndexInput
org.apache.lucene.store.jdbc.index.JdbcBufferedIndexInput
- All Implemented Interfaces:
- Cloneable, JdbcIndexConfigurable
- Direct Known Subclasses:
- FetchOnBufferReadJdbcIndexInput, FetchPerTransactionJdbcIndexInput
public abstract class JdbcBufferedIndexInput
- extends ConfigurableBufferedIndexInput
- implements JdbcIndexConfigurable
A simple base class that performs index input memory based buffering. The buffer size can be configured
under the BUFFER_SIZE_SETTING name.
- Author:
- kimchy
| Methods inherited from class org.apache.lucene.store.IndexInput |
close, length, readBytes, readChars, readInt, readLong, readString, readVInt, readVLong, setModifiedUTF8StringsMode, skipChars |
BUFFER_SIZE_SETTING
public static final String BUFFER_SIZE_SETTING
- The buffer size setting name. See
JdbcFileEntrySettings.setIntSetting(String,int).
Should be set in bytes.
- See Also:
- Constant Field Values
JdbcBufferedIndexInput
public JdbcBufferedIndexInput()
configure
public void configure(String name,
JdbcDirectory jdbcDirectory,
JdbcFileEntrySettings settings)
throws IOException
- Description copied from interface:
JdbcIndexConfigurable
- Configures the newly created
IndexInput or IndexOutput implementations.
- Specified by:
configure in interface JdbcIndexConfigurable
- Parameters:
name - The name of the file entryjdbcDirectory - The jdbc directory instancesettings - The relevant file entry settings
- Throws:
IOException
Copyright (c) 2004-2008 The Compass Project.