public abstract class FieldsProducer extends Fields implements Closeable
EMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
FieldsProducer()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
checkIntegrity()
Checks consistency of this reader.
|
abstract void |
close() |
abstract long |
ramBytesUsed()
Returns approximate RAM bytes used
|
getUniqueTermCount, iterator, size, termsprotected FieldsProducer()
public abstract void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic 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.
IOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.