public static class Sort.ByteSequencesWriter extends Object implements Closeable
Sort.ByteSequencesReader.| Constructor and Description |
|---|
Sort.ByteSequencesWriter(DataOutput os) |
Sort.ByteSequencesWriter(File file) |
public Sort.ByteSequencesWriter(File file) throws IOException
IOExceptionpublic Sort.ByteSequencesWriter(DataOutput os)
public void write(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 Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.