|
|||||||||||
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.uima.lucas.indexer.analysis.TokenStreamMerger
public class TokenStreamMerger
A TokenStreamMerger merges a list
of
token streams
by the means of
their token offsets. Adapts positionIncrement of tokens if their startOffset
is exactly the same.
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 | |
---|---|
TokenStreamMerger(Collection<org.apache.lucene.analysis.TokenStream> streams)
|
Method Summary | |
---|---|
boolean |
incrementToken()
|
void |
reset()
|
Methods inherited from class org.apache.lucene.analysis.TokenStream |
---|
close, end, getOnlyUseNewAPI, next, next, setOnlyUseNewAPI |
Methods inherited from class org.apache.lucene.util.AttributeSource |
---|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, restoreState, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TokenStreamMerger(Collection<org.apache.lucene.analysis.TokenStream> streams) throws IOException
IOException
Method Detail |
---|
public void reset() throws IOException
reset
in class org.apache.lucene.analysis.TokenStream
IOException
public boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |