C# Класс Lucene.Net.Index.FilterAtomicReader

A FilterAtomicReader contains another AtomicReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality. The class FilterAtomicReader itself simply implements all abstract methods of IndexReader with versions that pass all requests to the contained index reader. Subclasses of FilterAtomicReader may further override some of these methods and may also provide additional methods and fields.

NOTE: If you override #getLiveDocs(), you will likely need to override #numDocs() as well and vice-versa.

NOTE: If this FilterAtomicReader does not change the content the contained reader, you could consider overriding #getCoreCacheKey() so that IFieldCache and CachingWrapperFilter share the same entries for this atomic reader and the wrapped one. #getCombinedCoreAndDeletesKey() could be overridden as well if the #getLiveDocs() live docs are not changed either.

Наследование: AtomicReader
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
@in AtomicReader

Открытые методы

Метод Описание
CheckIntegrity ( ) : void
Document ( int docID, Lucene.Net.Index.StoredFieldVisitor visitor ) : void
FilterAtomicReader ( AtomicReader @in ) : System.Collections.Generic

Construct a FilterAtomicReader based on the specified base reader.

Note that base reader is closed if this FilterAtomicReader is closed.

GetBinaryDocValues ( string field ) : Lucene.Net.Index.BinaryDocValues
GetDocsWithField ( string field ) : Bits
GetNormValues ( string field ) : Lucene.Net.Index.NumericDocValues
GetNumericDocValues ( string field ) : Lucene.Net.Index.NumericDocValues
GetSortedDocValues ( string field ) : Lucene.Net.Index.SortedDocValues
GetSortedSetDocValues ( string field ) : Lucene.Net.Index.SortedSetDocValues
GetTermVectors ( int docID ) : Fields
ToString ( ) : string
Unwrap ( AtomicReader reader ) : AtomicReader

Get the wrapped instance by reader as long as this reader is an intance of FilterAtomicReader.

Защищенные методы

Метод Описание
DoClose ( ) : void

Описание методов

CheckIntegrity() публичный Метод

public CheckIntegrity ( ) : void
Результат void

DoClose() защищенный Метод

protected DoClose ( ) : void
Результат void

Document() публичный Метод

public Document ( int docID, Lucene.Net.Index.StoredFieldVisitor visitor ) : void
docID int
visitor Lucene.Net.Index.StoredFieldVisitor
Результат void

FilterAtomicReader() публичный Метод

Construct a FilterAtomicReader based on the specified base reader.

Note that base reader is closed if this FilterAtomicReader is closed.

public FilterAtomicReader ( AtomicReader @in ) : System.Collections.Generic
@in AtomicReader
Результат System.Collections.Generic

GetBinaryDocValues() публичный Метод

public GetBinaryDocValues ( string field ) : Lucene.Net.Index.BinaryDocValues
field string
Результат Lucene.Net.Index.BinaryDocValues

GetDocsWithField() публичный Метод

public GetDocsWithField ( string field ) : Bits
field string
Результат Bits

GetNormValues() публичный Метод

public GetNormValues ( string field ) : Lucene.Net.Index.NumericDocValues
field string
Результат Lucene.Net.Index.NumericDocValues

GetNumericDocValues() публичный Метод

public GetNumericDocValues ( string field ) : Lucene.Net.Index.NumericDocValues
field string
Результат Lucene.Net.Index.NumericDocValues

GetSortedDocValues() публичный Метод

public GetSortedDocValues ( string field ) : Lucene.Net.Index.SortedDocValues
field string
Результат Lucene.Net.Index.SortedDocValues

GetSortedSetDocValues() публичный Метод

public GetSortedSetDocValues ( string field ) : Lucene.Net.Index.SortedSetDocValues
field string
Результат Lucene.Net.Index.SortedSetDocValues

GetTermVectors() публичный Метод

public GetTermVectors ( int docID ) : Fields
docID int
Результат Fields

ToString() публичный Метод

public ToString ( ) : string
Результат string

Unwrap() публичный статический Метод

Get the wrapped instance by reader as long as this reader is an intance of FilterAtomicReader.
public static Unwrap ( AtomicReader reader ) : AtomicReader
reader AtomicReader
Результат AtomicReader

Описание свойств

@in защищенное свойство

The underlying AtomicReader.
protected AtomicReader,Lucene.Net.Index @in
Результат AtomicReader