org.apache.lucene.index
Class BaseTermVectorsFormatTestCase.RandomTokenStream
java.lang.Object
org.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.index.BaseTermVectorsFormatTestCase.RandomTokenStream
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- BaseTermVectorsFormatTestCase
protected class BaseTermVectorsFormatTestCase.RandomTokenStream
- extends TokenStream
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 |
BaseTermVectorsFormatTestCase.RandomTokenStream
protected BaseTermVectorsFormatTestCase.RandomTokenStream(int len,
String[] sampleTerms,
BytesRef[] sampleTermBytes)
BaseTermVectorsFormatTestCase.RandomTokenStream
protected BaseTermVectorsFormatTestCase.RandomTokenStream(int len,
String[] sampleTerms,
BytesRef[] sampleTermBytes,
boolean offsetsGoBackwards)
hasPayloads
public boolean hasPayloads()
incrementToken
public final boolean incrementToken()
throws IOException
- Specified by:
incrementToken
in class TokenStream
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.