org.apache.lucene.store.jdbc.index
Class JdbcBufferedIndexOutput
java.lang.Object
org.apache.lucene.store.IndexOutput
org.apache.lucene.store.ConfigurableBufferedIndexOutput
org.apache.lucene.store.jdbc.index.JdbcBufferedIndexOutput
- All Implemented Interfaces:
- JdbcIndexConfigurable
- Direct Known Subclasses:
- AbstractJdbcIndexOutput
public abstract class JdbcBufferedIndexOutput
- extends ConfigurableBufferedIndexOutput
- implements JdbcIndexConfigurable
A simple base class that performs index output memory based buffering. The buffer size can be configured
under the BUFFER_SIZE_SETTING name.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JdbcBufferedIndexOutput
public JdbcBufferedIndexOutput()
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.