|
||||||||||
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.hibernate.search.indexes.serialization.impl.CopyTokenStream
public class CopyTokenStream
Copy all AttributeImpl for each incrementToken Inspired by org.apache.lucene.analysis.CachingTokenFilter Original file released under the ASL 2.0 license http://www.apache.org/licenses/LICENSE-2.0
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource |
---|
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State |
Constructor Summary | |
---|---|
CopyTokenStream(List<List<org.apache.lucene.util.AttributeImpl>> stream)
|
Method Summary | |
---|---|
static SerializableTokenStream |
buildSerializabletokenStream(org.apache.lucene.analysis.TokenStream tokenStream)
|
void |
end()
|
boolean |
incrementToken()
|
void |
reset()
|
Methods inherited from class org.apache.lucene.analysis.TokenStream |
---|
close |
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 CopyTokenStream(List<List<org.apache.lucene.util.AttributeImpl>> stream)
Method Detail |
---|
public static SerializableTokenStream buildSerializabletokenStream(org.apache.lucene.analysis.TokenStream tokenStream)
public final boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException
public final void end() throws IOException
end
in class org.apache.lucene.analysis.TokenStream
IOException
public void reset() throws IOException
reset
in class org.apache.lucene.analysis.TokenStream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |