public class RAMJdbcIndexOutput extends AbstractJdbcIndexOutput
BUFFER_SIZE_SETTING| Constructor and Description |
|---|
RAMJdbcIndexOutput() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(String name,
OracleJdbcDirectory jdbcDirectory)
Configures this object instance with the given name and OracleJdbcDirectory
object.
|
void |
flushBuffer(byte[] src,
int offset,
int len)
Flushes an array of bytes into the buffer
|
void |
flushToIndexOutput(org.apache.lucene.store.IndexOutput indexOutput)
Flush the contents of this stream into the specified IndexOutput
|
long |
length()
Returns he number of bytes in the file
|
void |
seek(long pos)
Sets the current position in this file, where the next write will occur
|
closegetSettingflush, getChecksum, getFilePointer, writeByte, writeBytespublic void configure(String name, OracleJdbcDirectory jdbcDirectory) throws IOException
configure in interface JdbcIndexConfigurableconfigure in class AbstractJdbcIndexOutputname - the name of this IndexOutput objectjdbcDirectory - the OracleJdbcDirectory where the index is stored.IOExceptionpublic void flushBuffer(byte[] src,
int offset,
int len)
src - the bytes to writeoffset - the offset in the byte arraylen - the number of bytes to writepublic void flushToIndexOutput(org.apache.lucene.store.IndexOutput indexOutput)
throws IOException
indexOutput - an IndexOutput object.IOExceptionpublic long length()
length in class org.apache.lucene.store.ConfigurableBufferedIndexOutputIOExceptionpublic void seek(long pos)
throws IOException
seek in class org.apache.lucene.store.ConfigurableBufferedIndexOutputIOExceptionConfigurableBufferedIndexOutput.getFilePointer()Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.