lux.index.analysis
Class ValueTokenStream

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by lux.index.analysis.ValueTokenStream
All Implemented Interfaces:
Closeable
Direct Known Subclasses:
PathValueTokenStream, QNameValueTokenStream

public abstract class ValueTokenStream
extends org.apache.lucene.analysis.TokenStream


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State
 
Field Summary
protected  int pos
           
protected  org.apache.lucene.analysis.tokenattributes.CharTermAttribute termAtt
           
protected  char[] value
           
 
Constructor Summary
protected ValueTokenStream(Iterable<char[]> values)
           
 
Method Summary
protected  boolean advanceValue()
           
 void reset()
           
protected  void setValues(Iterable<char[]> values)
           
 
Methods inherited from class org.apache.lucene.analysis.TokenStream
close, end, incrementToken
 
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

termAtt

protected final org.apache.lucene.analysis.tokenattributes.CharTermAttribute termAtt

pos

protected int pos

value

protected char[] value
Constructor Detail

ValueTokenStream

protected ValueTokenStream(Iterable<char[]> values)
Method Detail

setValues

protected void setValues(Iterable<char[]> values)

reset

public void reset()
Overrides:
reset in class org.apache.lucene.analysis.TokenStream

advanceValue

protected boolean advanceValue()


Copyright © 2013. All Rights Reserved.