Package de.julielab.jcore.reader.db
Class TableReaderConstants
- java.lang.Object
-
- de.julielab.jcore.reader.db.TableReaderConstants
-
public class TableReaderConstants extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_BATCH_SIZEstatic StringPARAM_COSTOSYS_CONFIG_NAMEConstant denoting the name of the external dependency representing the configuration file for the DataBaseConnector.
The name of the resource is assured by convention only as alternative names are not reject from the descriptor when entering them manually.static StringPARAM_DB_DRIVERstatic StringPARAM_LIMITInteger parameter.static StringPARAM_SELECTION_ORDERBoolean parameter.static StringPARAM_TABLEString parameter.static StringPARAM_WHERE_CONDITIONString parameter.
-
Constructor Summary
Constructors Constructor Description TableReaderConstants()
-
-
-
Field Detail
-
PARAM_DB_DRIVER
public static final String PARAM_DB_DRIVER
- See Also:
- Constant Field Values
-
PARAM_BATCH_SIZE
public static final String PARAM_BATCH_SIZE
- See Also:
- Constant Field Values
-
PARAM_TABLE
public static final String PARAM_TABLE
String parameter. Determines the table from which rows are read and returned. Both subset and data tables are allowed. For data tables, an optional 'where' condition can be specified, restricting the rows to be returned. Note that only reading from subset tables works correctly for concurrent access of multiple readers (for data tables each reader will return the whole table).- See Also:
- Constant Field Values
-
PARAM_SELECTION_ORDER
public static final String PARAM_SELECTION_ORDER
Boolean parameter. Determines whether to return random samples of unprocessed documents rather than proceeding sequentially. This parameter is defined for subset reading only.- See Also:
- Constant Field Values
-
PARAM_WHERE_CONDITION
public static final String PARAM_WHERE_CONDITION
String parameter. Used only when reading directly from data tables. Only rows are returned which satisfy the specified 'where' clause. If empty or set tonull, all rows are returned.- See Also:
- Constant Field Values
-
PARAM_LIMIT
public static final String PARAM_LIMIT
Integer parameter. Determines the maximum amount of documents being read by this reader. The reader will also not mark more documents to be in process as specified with this parameter.- See Also:
- Constant Field Values
-
PARAM_COSTOSYS_CONFIG_NAME
public static final String PARAM_COSTOSYS_CONFIG_NAME
Constant denoting the name of the external dependency representing the configuration file for the DataBaseConnector.
The name of the resource is assured by convention only as alternative names are not reject from the descriptor when entering them manually.- See Also:
- Constant Field Values
-
-