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, terms
protected FieldsProducer()
public abstract void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public 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.
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.