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, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
public CannedBinaryTokenStream(CannedBinaryTokenStream.BinaryToken... tokens)
public boolean incrementToken()
incrementToken
in class TokenStream
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.