public static class Sort.ByteSequencesWriter
extends java.lang.Object
implements java.io.Closeable
Sort.ByteSequencesReader.| Constructor and Description |
|---|
ByteSequencesWriter(java.io.DataOutput os) |
ByteSequencesWriter(java.io.File file) |
| Modifier and Type | Method and 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(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic ByteSequencesWriter(java.io.DataOutput os)
public void write(org.apache.lucene.util.BytesRef ref)
throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] bytes)
throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] bytes,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
DataOutput if it is Closeable.close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.