public abstract class TermVectorsReader extends Object implements Cloneable, Closeable, 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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitramBytesUsedprotected TermVectorsReader()
public abstract Fields get(int doc) throws IOException
OffsetAttribute
available from the DocsAndPositionsEnum.IOExceptionpublic 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.
IOExceptionpublic abstract TermVectorsReader clone()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.