org.apache.lucene.store
public abstract class BufferedIndexOutput extends IndexOutput
Method Summary | |
---|---|
void | close() Closes this stream to further operations. |
void | flush() Forces any buffered output to be written. |
protected abstract void | flushBuffer(byte[] b, int len) Expert: implements buffer write. |
long | getFilePointer() Returns the current position in this file, where the next write will
occur. |
abstract long | length() The number of bytes in the file. |
void | seek(long pos) Sets current position in this file, where the next write will occur. |
void | writeByte(byte b) Writes a single byte. |
void | writeBytes(byte[] b, int length) Writes an array of bytes. |
Parameters: b the bytes to write len the number of bytes to write
See Also: BufferedIndexOutput
See Also: getFilePointer
See Also: readByte
Parameters: b the bytes to write length the number of bytes to write
See Also: (byte[],int,int)