public abstract class PointsWriter extends Object implements Closeable
Modifier | Constructor and Description |
---|---|
protected |
PointsWriter()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
finish()
Called once at the end before close
|
void |
merge(MergeState mergeState)
Default merge implementation to merge incoming points readers by visiting all their points and
adding to this writer
|
protected void |
mergeOneField(MergeState mergeState,
FieldInfo fieldInfo)
Default naive merge implementation for one field: it just re-indexes all the values
from the incoming segment.
|
abstract void |
writeField(FieldInfo fieldInfo,
PointsReader values)
Write all values contained in the provided reader
|
protected PointsWriter()
public abstract void writeField(FieldInfo fieldInfo, PointsReader values) throws IOException
IOException
protected void mergeOneField(MergeState mergeState, FieldInfo fieldInfo) throws IOException
IOException
public void merge(MergeState mergeState) throws IOException
IOException
public abstract void finish() throws IOException
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.