public abstract class TermVectorsFormat extends Object
Modifier | Constructor and Description |
---|---|
protected |
TermVectorsFormat()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract TermVectorsReader |
vectorsReader(Directory directory,
SegmentInfo segmentInfo,
FieldInfos fieldInfos,
IOContext context)
Returns a
TermVectorsReader to read term
vectors. |
abstract TermVectorsWriter |
vectorsWriter(Directory directory,
SegmentInfo segmentInfo,
IOContext context)
Returns a
TermVectorsWriter to write term
vectors. |
protected TermVectorsFormat()
public abstract TermVectorsReader vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) throws IOException
TermVectorsReader
to read term
vectors.IOException
public abstract TermVectorsWriter vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) throws IOException
TermVectorsWriter
to write term
vectors.IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.