Package de.julielab.jcore.reader.db
Class SubsetReaderConstants
- java.lang.Object
-
- de.julielab.jcore.reader.db.SubsetReaderConstants
-
public class SubsetReaderConstants extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_ADDITIONAL_TABLE_SCHEMASMulti-valued String parameter indicating different schemas in case tables will be joined.static StringPARAM_ADDITIONAL_TABLESMulti-valued String parameter indicating which tables will be read from additionally to the referenced data table.static StringPARAM_ADDITONAL_TABLES_STORAGE_PG_SCHEMAstatic StringPARAM_DATA_TIMESTAMPString parameter representing a long value.static StringPARAM_FETCH_IDS_PROACTIVELYBoolean parameter.static StringPARAM_RESET_TABLEBoolean parameter.
-
Constructor Summary
Constructors Constructor Description SubsetReaderConstants()
-
-
-
Field Detail
-
PARAM_ADDITIONAL_TABLES
public static final String PARAM_ADDITIONAL_TABLES
Multi-valued String parameter indicating which tables will be read from additionally to the referenced data table. The tables will be joined to a single CAS.- See Also:
- Constant Field Values
-
PARAM_ADDITIONAL_TABLE_SCHEMAS
public static final String PARAM_ADDITIONAL_TABLE_SCHEMAS
Multi-valued String parameter indicating different schemas in case tables will be joined. The schema for the referenced data table has to be the first element. The schema for the additional tables has to be the second element.- See Also:
- Constant Field Values
-
PARAM_FETCH_IDS_PROACTIVELY
public static final String PARAM_FETCH_IDS_PROACTIVELY
Boolean parameter. Determines whether a background thread should be used which fetches the next batch of document IDs to process while the former batch is already being processed. Using the background thread boosts performance as waiting time is minimized. However, as the next batch of documents is marked in advance as being in process, this approach is only suitable when reading all available data.- See Also:
- Constant Field Values
-
PARAM_RESET_TABLE
public static final String PARAM_RESET_TABLE
Boolean parameter. Indicates whether the read subset table is to be reset before reading.- See Also:
- Constant Field Values
-
PARAM_DATA_TIMESTAMP
public static final String PARAM_DATA_TIMESTAMP
String parameter representing a long value. If not null, only documents with a dataTimestamp newer then the passed value will be processed.- See Also:
- Constant Field Values
-
PARAM_ADDITONAL_TABLES_STORAGE_PG_SCHEMA
public static final String PARAM_ADDITONAL_TABLES_STORAGE_PG_SCHEMA
- See Also:
- Constant Field Values
-
-