protected class BaseTermVectorsFormatTestCase.RandomTokenStream extends TokenStream
AttributeSource.AttributeFactory, AttributeSource.State| Modifier | Constructor and Description |
|---|---|
protected |
BaseTermVectorsFormatTestCase.RandomTokenStream(int len,
String[] sampleTerms,
BytesRef[] sampleTermBytes) |
protected |
BaseTermVectorsFormatTestCase.RandomTokenStream(int len,
String[] sampleTerms,
BytesRef[] sampleTermBytes,
boolean offsetsGoBackwards) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPayloads() |
boolean |
incrementToken() |
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringprotected BaseTermVectorsFormatTestCase.RandomTokenStream(int len,
String[] sampleTerms,
BytesRef[] sampleTermBytes)
public boolean hasPayloads()
public final boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.