public class GridLuceneOutputStream
extends org.apache.lucene.store.IndexOutput
implements org.apache.lucene.util.Accountable
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) |
long |
getChecksum() |
Collection<org.apache.lucene.util.Accountable> |
getChildResources() |
long |
getFilePointer() |
long |
ramBytesUsed() |
void |
reset()
Resets this to an empty file.
|
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 long getChecksum()
throws IOException
getChecksum in class org.apache.lucene.store.IndexOutputIOExceptionpublic 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 long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexOutputpublic void copyBytes(org.apache.lucene.store.DataInput input,
long numBytes)
throws IOException
copyBytes in class org.apache.lucene.store.DataOutputIOExceptionpublic long ramBytesUsed()
ramBytesUsed in interface org.apache.lucene.util.Accountablepublic Collection<org.apache.lucene.util.Accountable> getChildResources()
getChildResources in interface org.apache.lucene.util.Accountable
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018