org.apache.lucene.store.jdbc.index
Class AbstractJdbcIndexOutput
java.lang.Object
org.apache.lucene.store.IndexOutput
org.apache.lucene.store.ConfigurableBufferedIndexOutput
org.apache.lucene.store.jdbc.index.JdbcBufferedIndexOutput
org.apache.lucene.store.jdbc.index.AbstractJdbcIndexOutput
- All Implemented Interfaces:
- JdbcIndexConfigurable
- Direct Known Subclasses:
- FileJdbcIndexOutput, RAMJdbcIndexOutput
public abstract class AbstractJdbcIndexOutput
- extends JdbcBufferedIndexOutput
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
jdbcDirectory
protected JdbcDirectory jdbcDirectory
AbstractJdbcIndexOutput
public AbstractJdbcIndexOutput()
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
- Overrides:
configure
in class JdbcBufferedIndexOutput
- Parameters:
name
- The name of the file entryjdbcDirectory
- The jdbc directory instancesettings
- The relevant file entry settings
- Throws:
IOException
close
public void close()
throws IOException
- Description copied from class:
ConfigurableBufferedIndexOutput
- Closes this stream to further operations.
- Overrides:
close
in class ConfigurableBufferedIndexOutput
- Throws:
IOException
openInputStream
protected abstract InputStream openInputStream()
throws IOException
- Throws:
IOException
doAfterClose
protected void doAfterClose()
throws IOException
- Throws:
IOException
doBeforeClose
protected void doBeforeClose()
throws IOException
- Throws:
IOException
Copyright (c) 2004-2008 The Compass Project.