public class GridLuceneOutputStream
extends org.apache.lucene.store.IndexOutput
IndexOutput implementation.| Constructor and Description |
|---|
GridLuceneOutputStream(GridLuceneFile f)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copyBytes(org.apache.lucene.store.DataInput input,
long numBytes) |
void |
flush() |
long |
getFilePointer() |
long |
length() |
void |
reset()
Resets this to an empty file.
|
void |
seek(long pos) |
long |
sizeInBytes()
Returns byte usage of all buffers.
|
void |
writeByte(byte b) |
void |
writeBytes(byte[] b,
int offset,
int len) |
public GridLuceneOutputStream(GridLuceneFile f)
f - File.public void reset()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.store.IndexOutputIOExceptionpublic void seek(long pos)
throws IOException
seek in class org.apache.lucene.store.IndexOutputIOExceptionpublic long length()
length in class org.apache.lucene.store.IndexOutputpublic void writeByte(byte b)
throws IOException
writeByte in class org.apache.lucene.store.DataOutputIOExceptionpublic void writeBytes(byte[] b,
int offset,
int len)
throws IOException
writeBytes in class org.apache.lucene.store.DataOutputIOExceptionpublic void flush()
throws IOException
flush in class org.apache.lucene.store.IndexOutputIOExceptionpublic long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexOutputpublic long sizeInBytes()
public void copyBytes(org.apache.lucene.store.DataInput input,
long numBytes)
throws IOException
copyBytes in class org.apache.lucene.store.DataOutputIOExceptionCopyright © 2014. All rights reserved.