C# Class 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.

Inheritance: AtomicReader
Afficher le fichier Open project: paulirwin/lucene.net

Protected Properties

Свойство Type Description
@in AtomicReader

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
DoClose ( ) : void

Method Details

CheckIntegrity() public méthode

public CheckIntegrity ( ) : void
Résultat void

DoClose() protected méthode

protected DoClose ( ) : void
Résultat void

Document() public méthode

public Document ( int docID, Lucene.Net.Index.StoredFieldVisitor visitor ) : void
docID int
visitor Lucene.Net.Index.StoredFieldVisitor
Résultat void

FilterAtomicReader() public méthode

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
Résultat System.Collections.Generic

GetBinaryDocValues() public méthode

public GetBinaryDocValues ( string field ) : Lucene.Net.Index.BinaryDocValues
field string
Résultat Lucene.Net.Index.BinaryDocValues

GetDocsWithField() public méthode

public GetDocsWithField ( string field ) : Bits
field string
Résultat Bits

GetNormValues() public méthode

public GetNormValues ( string field ) : Lucene.Net.Index.NumericDocValues
field string
Résultat Lucene.Net.Index.NumericDocValues

GetNumericDocValues() public méthode

public GetNumericDocValues ( string field ) : Lucene.Net.Index.NumericDocValues
field string
Résultat Lucene.Net.Index.NumericDocValues

GetSortedDocValues() public méthode

public GetSortedDocValues ( string field ) : Lucene.Net.Index.SortedDocValues
field string
Résultat Lucene.Net.Index.SortedDocValues

GetSortedSetDocValues() public méthode

public GetSortedSetDocValues ( string field ) : Lucene.Net.Index.SortedSetDocValues
field string
Résultat Lucene.Net.Index.SortedSetDocValues

GetTermVectors() public méthode

public GetTermVectors ( int docID ) : Fields
docID int
Résultat Fields

ToString() public méthode

public ToString ( ) : string
Résultat string

Unwrap() public static méthode

Get the wrapped instance by reader as long as this reader is an intance of FilterAtomicReader.
public static Unwrap ( AtomicReader reader ) : AtomicReader
reader AtomicReader
Résultat AtomicReader

Property Details

@in protected_oe property

The underlying AtomicReader.
protected AtomicReader,Lucene.Net.Index @in
Résultat AtomicReader