org.apache.blur.store.buffer
Class ReusedBufferedIndexOutput
java.lang.Object
org.apache.lucene.store.DataOutput
org.apache.lucene.store.IndexOutput
org.apache.blur.store.buffer.ReusedBufferedIndexOutput
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- CachedIndexOutput
public abstract class ReusedBufferedIndexOutput
- extends org.apache.lucene.store.IndexOutput
Methods inherited from class org.apache.lucene.store.IndexOutput |
setLength |
Methods inherited from class org.apache.lucene.store.DataOutput |
copyBytes, writeBytes, writeInt, writeLong, writeShort, writeString, writeStringSet, writeStringStringMap, writeVInt, writeVLong |
BUFFER_SIZE
public static final int BUFFER_SIZE
- See Also:
- Constant Field Values
ReusedBufferedIndexOutput
public ReusedBufferedIndexOutput()
ReusedBufferedIndexOutput
public ReusedBufferedIndexOutput(int bufferSize)
flush
public void flush()
throws IOException
- Specified by:
flush
in class org.apache.lucene.store.IndexOutput
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class org.apache.lucene.store.IndexOutput
- Throws:
IOException
getFilePointer
public long getFilePointer()
- Specified by:
getFilePointer
in class org.apache.lucene.store.IndexOutput
seek
public void seek(long pos)
throws IOException
- Specified by:
seek
in class org.apache.lucene.store.IndexOutput
- Throws:
IOException
length
public long length()
throws IOException
- Specified by:
length
in class org.apache.lucene.store.IndexOutput
- Throws:
IOException
writeByte
public void writeByte(byte b)
throws IOException
- Specified by:
writeByte
in class org.apache.lucene.store.DataOutput
- Throws:
IOException
writeBytes
public void writeBytes(byte[] b,
int offset,
int length)
throws IOException
- Specified by:
writeBytes
in class org.apache.lucene.store.DataOutput
- Throws:
IOException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.