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
파일 보기 프로젝트 열기: paulirwin/lucene.net

보호된 프로퍼티들

프로퍼티 타입 설명
@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