public abstract class TermVectorsReader extends implements , , Accountable
NULL_ACCOUNTABLE
Modifier | Constructor and Description |
---|---|
protected |
TermVectorsReader()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
checkIntegrity()
Checks consistency of this reader.
|
abstract TermVectorsReader |
clone()
Create a clone that one caller at a time may use to
read term vectors.
|
abstract Fields |
get(int doc)
Returns term vectors for this document, or null if
term vectors were not indexed.
|
TermVectorsReader |
getMergeInstance()
Returns an instance optimized for merging.
|
getChildResources, ramBytesUsed
protected TermVectorsReader()
public abstract Fields get(int doc) throws
OffsetAttribute
available from the PostingsEnum
.
public abstract void checkIntegrity() throws
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
public abstract TermVectorsReader clone()
in class
public TermVectorsReader getMergeInstance()
getMergeInstance()
.
The default implementation returns this
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.