C# Class Lucene.Net.Analysis.Sinks.TeeSinkTokenFilter.SinkFilter

A filter that decides which AttributeSource states to store in the sink.
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode Description
Accept ( Lucene.Net.Util.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.

Method Details

Accept() public abstract méthode

Returns true, iff the current state of the passed-in AttributeSource shall be stored in the sink.
public abstract Accept ( Lucene.Net.Util.AttributeSource source ) : bool
source Lucene.Net.Util.AttributeSource
Résultat bool

Reset() public méthode

Called by SinkTokenStream#reset(). This method does nothing by default and can optionally be overridden.
public Reset ( ) : void
Résultat void