org.apache.lucene.analysis
public final class CannedBinaryTokenStream extends TokenStream
| Modifier and Type | Class and Description |
|---|---|
static interface |
CannedBinaryTokenStream.BinaryTermAttribute
An attribute extending
TermToBytesRefAttribute but exposing CannedBinaryTokenStream.BinaryTermAttribute.setBytesRef(org.apache.lucene.util.BytesRef) method. |
static class |
CannedBinaryTokenStream.BinaryTermAttributeImpl
Implementation for
CannedBinaryTokenStream.BinaryTermAttribute. |
static class |
CannedBinaryTokenStream.BinaryToken
Represents a binary token.
|
AttributeSource.AttributeFactory, AttributeSource.State| Constructor and Description |
|---|
CannedBinaryTokenStream(CannedBinaryTokenStream.BinaryToken... tokens) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken() |
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic CannedBinaryTokenStream(CannedBinaryTokenStream.BinaryToken... tokens)
public boolean incrementToken()
incrementToken in class TokenStreamCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.