public class IndexWriter extends Object
| Constructor and Description |
|---|
IndexWriter(WriteOutBytes outBytes,
NumberSerializer positionSerializer) |
IndexWriter(WriteOutBytes outBytes,
NumberSerializer positionSerializer,
NumberSerializer indexSizeSerializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getSerializedSize() |
void |
persistAndIncrement(int increment) |
void |
transferTo(WritableByteChannel channel) |
public IndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer, NumberSerializer indexSizeSerializer)
public IndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer)
public void persistAndIncrement(int increment)
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic void transferTo(WritableByteChannel channel) throws IOException
IOExceptionpublic long getSerializedSize()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.