public class DBMultiplierReader extends DBSubsetReader
| Modifier and Type | Class and Description |
|---|---|
protected class |
DBMultiplierReader.RetrievingThread
This class is charged to retrieve batches of document IDs which will be
returned for processing afterwards.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_ADDITIONAL_TABLE_SCHEMAS |
static String |
PARAM_ADDITIONAL_TABLES |
static String |
PARAM_COSTOSYS_CONFIG_NAME |
static String |
PARAM_DATA_TIMESTAMP |
static String |
PARAM_FETCH_IDS_PROACTIVELY |
static String |
PARAM_RESET_TABLE |
static String |
PARAM_TABLE |
additionalTableNames, additionalTableSchemas, dataTable, fetchIdsProactively, hostName, PARAM_ADDITONAL_TABLES_STORAGE_PG_SCHEMA, pid, readDataTable, resetTable, schemas, tablesbatchSize, costosysConfig, dbc, driver, hasNext, joinTables, limitParameter, numberFetchedDocIDs, PARAM_BATCH_SIZE, processedDocuments, selectionOrder, tableName, totalDocumentCount, whereCondition| Constructor and Description |
|---|
DBMultiplierReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
getNext(org.apache.uima.jcas.JCas jCas) |
List<Object[]> |
getNextDocumentIdBatch()
Returns the next batch of document IDs from the database table given by the 'Table' parameter.
|
org.apache.uima.util.Progress[] |
getProgress() |
boolean |
hasNext() |
void |
initialize(org.apache.uima.UimaContext context) |
checkAdditionalTableParameters, checkAndAdjustAdditionalTables, getAllRetrievedColumnsgetLogger, getNext, initializedestroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String PARAM_RESET_TABLE
public static final String PARAM_TABLE
public static final String PARAM_COSTOSYS_CONFIG_NAME
public static final String PARAM_DATA_TIMESTAMP
public static final String PARAM_ADDITIONAL_TABLES
public static final String PARAM_ADDITIONAL_TABLE_SCHEMAS
public static final String PARAM_FETCH_IDS_PROACTIVELY
public void initialize(org.apache.uima.UimaContext context)
throws org.apache.uima.resource.ResourceInitializationException
initialize in class DBSubsetReaderorg.apache.uima.resource.ResourceInitializationExceptionpublic void getNext(org.apache.uima.jcas.JCas jCas)
throws org.apache.uima.collection.CollectionException
getNext in class org.apache.uima.fit.component.JCasCollectionReader_ImplBaseorg.apache.uima.collection.CollectionExceptionpublic boolean hasNext()
throws IOException,
org.apache.uima.collection.CollectionException
IOExceptionorg.apache.uima.collection.CollectionExceptionpublic List<Object[]> getNextDocumentIdBatch()
public org.apache.uima.util.Progress[] getProgress()
public void close()
close in interface org.apache.uima.collection.base_cpm.BaseCollectionReaderclose in class org.apache.uima.fit.component.JCasCollectionReader_ImplBaseCopyright © 2018 JULIE Lab, Germany. All rights reserved.