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, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
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-2013 Apache Software Foundation. All Rights Reserved.