Closeable, AutoCloseablepublic static class Sort.ByteSequencesWriter extends Object implements Closeable
Sort.ByteSequencesReader.| Constructor | Description |
|---|---|
ByteSequencesWriter(DataOutput os) |
|
ByteSequencesWriter(File file) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Closes the provided
DataOutput if it is Closeable. |
void |
write(byte[] bytes) |
|
void |
write(byte[] bytes,
int off,
int len) |
|
void |
write(org.apache.lucene.util.BytesRef ref) |
public ByteSequencesWriter(File file) throws IOException
IOExceptionpublic ByteSequencesWriter(DataOutput os)
public void write(org.apache.lucene.util.BytesRef ref)
throws IOException
IOExceptionpublic void write(byte[] bytes)
throws IOException
IOExceptionpublic void write(byte[] bytes,
int off,
int len)
throws IOException
IOExceptionpublic void close()
throws IOException
DataOutput if it is Closeable.close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.