public abstract class FieldsProducer extends Fields implements Closeable, Accountable
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() |
getUniqueTermCount, iterator, size, termsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitramBytesUsedprotected FieldsProducer()
public abstract void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic 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-2015 Apache Software Foundation. All Rights Reserved.