C# 클래스 org.apache.lucene.analysis.sinks.TeeSinkTokenFilter.SinkFilter

A filter that decides which AttributeSource states to store in the sink.
파일 보기 프로젝트 열기: paulirwin/lucene.net

공개 메소드들

메소드 설명
accept ( AttributeSource source ) : bool

Returns true, iff the current state of the passed-in AttributeSource shall be stored in the sink.

reset ( ) : void

Called by SinkTokenStream#reset(). This method does nothing by default and can optionally be overridden.

메소드 상세

accept() 공개 추상적인 메소드

Returns true, iff the current state of the passed-in AttributeSource shall be stored in the sink.
public abstract accept ( AttributeSource source ) : bool
source AttributeSource
리턴 bool

reset() 공개 메소드

Called by SinkTokenStream#reset(). This method does nothing by default and can optionally be overridden.
public reset ( ) : void
리턴 void