public final class SectionTokenStream
extends org.apache.lucene.analysis.TokenFilter
| Constructor and Description |
|---|
SectionTokenStream(org.apache.lucene.analysis.TokenStream tokenStream,
int sectionId) |
| Modifier and Type | Method and Description |
|---|---|
static int |
decodeIntPayload(byte[] data,
int off,
int len) |
static int |
decodeIntPayload(org.apache.lucene.index.Payload payload) |
static org.apache.lucene.index.Payload |
encodeIntPayload(int id) |
boolean |
incrementToken() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic SectionTokenStream(org.apache.lucene.analysis.TokenStream tokenStream,
int sectionId)
public boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic static org.apache.lucene.index.Payload encodeIntPayload(int id)
public static int decodeIntPayload(org.apache.lucene.index.Payload payload)
public static int decodeIntPayload(byte[] data,
int off,
int len)
Copyright © 2005–2013. All rights reserved.