|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.CannedBinaryTokenStream
public final class CannedBinaryTokenStream
TokenStream from a canned list of binary (BytesRef-based) tokens.
| Nested Class Summary | |
|---|---|
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. |
| Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource |
|---|
AttributeSource.AttributeFactory, AttributeSource.State |
| Constructor Summary | |
|---|---|
CannedBinaryTokenStream(CannedBinaryTokenStream.BinaryToken... tokens)
|
|
| Method Summary | |
|---|---|
boolean |
incrementToken()
|
| Methods inherited from class org.apache.lucene.analysis.TokenStream |
|---|
close, end, reset |
| Methods inherited from class org.apache.lucene.util.AttributeSource |
|---|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CannedBinaryTokenStream(CannedBinaryTokenStream.BinaryToken... tokens)
| Method Detail |
|---|
public boolean incrementToken()
incrementToken in class TokenStream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||