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
|
close
getSetting
flush, getChecksum, getFilePointer, writeByte, writeBytes
public void configure(String name, OracleJdbcDirectory jdbcDirectory) throws IOException
configure
in interface JdbcIndexConfigurable
configure
in class AbstractJdbcIndexOutput
name
- the name of this IndexOutput objectjdbcDirectory
- the OracleJdbcDirectory where the index is stored.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 writepublic void flushToIndexOutput(org.apache.lucene.store.IndexOutput indexOutput) throws IOException
indexOutput
- an IndexOutput
object.IOException
public long length()
length
in class org.apache.lucene.store.ConfigurableBufferedIndexOutput
IOException
public void seek(long pos) throws IOException
seek
in class org.apache.lucene.store.ConfigurableBufferedIndexOutput
IOException
ConfigurableBufferedIndexOutput.getFilePointer()
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.