@PipeBitInfo(name="Lucene Field Reader", description="Reads document texts from Lucene text fields.", role=READER, products=DOCUMENT_ID) public class LuceneCollectionReader extends org.apache.uima.fit.component.CasCollectionReader_ImplBase
Modifier and Type | Field and Description |
---|---|
static int |
CHARS_PER_WORD |
static String |
PARAM_FIELD_NAME |
static String |
PARAM_INDEX_DIR |
static String |
PARAM_MAX_WORDS |
Constructor and Description |
---|
LuceneCollectionReader() |
Modifier and Type | Method and Description |
---|---|
void |
getNext(org.apache.uima.cas.CAS cas) |
org.apache.uima.util.Progress[] |
getProgress() |
boolean |
hasNext() |
void |
initialize(org.apache.uima.UimaContext context) |
close, getLogger, initialize
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String PARAM_INDEX_DIR
public static final String PARAM_FIELD_NAME
public static final String PARAM_MAX_WORDS
public static final int CHARS_PER_WORD
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in class org.apache.uima.fit.component.CasCollectionReader_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void getNext(org.apache.uima.cas.CAS cas) throws IOException, org.apache.uima.collection.CollectionException
IOException
org.apache.uima.collection.CollectionException
public org.apache.uima.util.Progress[] getProgress()
public boolean hasNext() throws IOException, org.apache.uima.collection.CollectionException
IOException
org.apache.uima.collection.CollectionException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.