Class TeeSinkTokenFilter.SinkFilter
A filter that decides which AttributeSource states to store in the sink.
Inheritance
System.Object
    TeeSinkTokenFilter.SinkFilter
      
      
      
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Analysis.Sinks
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public abstract class SinkFilter
  Methods
| Improve this Doc View SourceAccept(AttributeSource)
Returns true, iff the current state of the passed-in AttributeSource shall be stored in the sink.
Declaration
public abstract bool Accept(AttributeSource source)
  Parameters
| Type | Name | Description | 
|---|---|---|
| AttributeSource | source | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Reset()
Called by Reset(). This method does nothing by default and can optionally be overridden.
Declaration
public virtual void Reset()