protected class BaseTermVectorsFormatTestCase.RandomTokenStream extends TokenStream
AttributeSource.State
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
DEFAULT_ATTRIBUTE_FACTORY
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, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
protected BaseTermVectorsFormatTestCase.RandomTokenStream(int len, String[] sampleTerms, BytesRef[] sampleTermBytes)
public boolean hasPayloads()
public final boolean incrementToken() throws IOException
incrementToken
in class TokenStream
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.