public class RAMJdbcIndexOutput extends AbstractJdbcIndexOutput
BUFFER_SIZE_SETTING| Constructor and Description |
|---|
RAMJdbcIndexOutput() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(java.lang.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, writeBytes
public void configure(java.lang.String name,
OracleJdbcDirectory jdbcDirectory)
throws java.io.IOException
configure in interface JdbcIndexConfigurableconfigure in class AbstractJdbcIndexOutputname - the name of this IndexOutput objectjdbcDirectory - the OracleJdbcDirectory where the index is stored.java.io.IOException
public void flushBuffer(byte[] src,
int offset,
int len)
src - the bytes to writeoffset - the offset in the byte arraylen - the number of bytes to write
public void flushToIndexOutput(org.apache.lucene.store.IndexOutput indexOutput)
throws java.io.IOException
indexOutput - an IndexOutput object.java.io.IOExceptionpublic long length()
length in class org.apache.lucene.store.ConfigurableBufferedIndexOutputjava.io.IOException
public void seek(long pos)
throws java.io.IOException
seek in class org.apache.lucene.store.ConfigurableBufferedIndexOutputjava.io.IOExceptionConfigurableBufferedIndexOutput.getFilePointer()Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.