public abstract class TermVectorsReader extends Object implements Cloneable, Closeable, 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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources, ramBytesUsed
protected TermVectorsReader()
public abstract Fields get(int doc) throws IOException
OffsetAttribute
available from the PostingsEnum
.IOException
public abstract void checkIntegrity() throws IOException
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
IOException
public abstract TermVectorsReader clone()
public TermVectorsReader getMergeInstance()
getMergeInstance()
.
The default implementation returns this
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.