Class DocValuesProducer
Abstract API that produces numeric, binary and sorted docvalues.
Implements
Inherited Members
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public abstract class DocValuesProducer : IDisposable
Constructors
| Improve this Doc View SourceDocValuesProducer()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected DocValuesProducer()
Methods
| Improve this Doc View SourceCheckIntegrity()
Checks consistency of this producer.
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
Declaration
public abstract void CheckIntegrity()
Dispose()
Disposes all resources used by this object.
Declaration
public void Dispose()
Dispose(Boolean)
Implementations must override and should dispose all resources used by this instance.
Declaration
protected abstract void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
GetBinary(FieldInfo)
Returns BinaryDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread.
Declaration
public abstract BinaryDocValues GetBinary(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field |
Returns
Type | Description |
---|---|
BinaryDocValues |
GetDocsWithField(FieldInfo)
Returns a IBits at the size of reader.MaxDoc
,
with turned on bits for each docid that does have a value for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
Declaration
public abstract IBits GetDocsWithField(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field |
Returns
Type | Description |
---|---|
IBits |
GetNumeric(FieldInfo)
Returns NumericDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread.
Declaration
public abstract NumericDocValues GetNumeric(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field |
Returns
Type | Description |
---|---|
NumericDocValues |
GetSorted(FieldInfo)
Returns SortedDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread.
Declaration
public abstract SortedDocValues GetSorted(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field |
Returns
Type | Description |
---|---|
SortedDocValues |
GetSortedSet(FieldInfo)
Returns SortedSetDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread.
Declaration
public abstract SortedSetDocValues GetSortedSet(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field |
Returns
Type | Description |
---|---|
SortedSetDocValues |
RamBytesUsed()
Returns approximate RAM bytes used.
Declaration
public abstract long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |