public abstract class TermVectorsReader extends Object implements Cloneable, Closeable
| 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.
|
abstract long |
ramBytesUsed()
Returns approximate RAM bytes used
|
protected TermVectorsReader()
public abstract Fields get(int doc) throws IOException
OffsetAttribute
available from the DocsAndPositionsEnum.IOExceptionpublic abstract long ramBytesUsed()
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.
IOExceptionpublic abstract TermVectorsReader clone()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.