public class HierarchyJDBCOutputHandler extends RelationOutputHandler implements ISerializable<RelationModel>
RelationOutputHandler.IFilter<T>
Modifier and Type | Field and Description |
---|---|
static char |
ESCAPE_CHAR_DEFAULT |
static char |
PATH_SEPARATOR_DEFAULT |
static char |
VALUE_SEPARATOR_DEFAULT |
EMPTY_ROW_FILTER, ID_LABEL_PART_DEFAULT, idLabelPart, includeId, includeRecordLabel
DEFAULT_WRAPPER_ID
Constructor and Description |
---|
HierarchyJDBCOutputHandler(boolean allowMultipleValuesPerAttribute,
String[][] entityRelPathList,
boolean includeId,
boolean includeRecordLabel,
RelationOutputHandler.IFilter<String> valFilter,
RelationOutputHandler.IFilter<List<List<String>>> rowFilter,
char pathSeparator,
char valueSeparator,
char escapeChar,
String driver,
String dbUrl,
String dbUser,
String dbPsw,
String schemaName,
String tableName,
boolean override,
int batchSize) |
HierarchyJDBCOutputHandler(boolean allowMultipleValuesPerAttribute,
String[][] entityRelPathList,
boolean includeId,
boolean includeRecordLabel,
RelationOutputHandler.IFilter<String> valFilter,
RelationOutputHandler.IFilter<List<List<String>>> rowFilter,
String driver,
String dbUrl,
String dbUser,
String dbPsw,
String schemaName,
String tableName,
boolean override,
int batchSize) |
HierarchyJDBCOutputHandler(String wrapperId,
boolean allowMultipleValuesPerAttribute,
String[][] entityRelPathList,
boolean includeId,
boolean includeRecordLabel,
RelationOutputHandler.IFilter<String> valFilter,
RelationOutputHandler.IFilter<List<List<String>>> rowFilter,
char pathSeparator,
char valueSeparator,
char escapeChar,
String driver,
String dbUrl,
String dbUser,
String dbPsw,
String schemaName,
String tableName,
boolean override,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
void |
serialize() |
getAccumulativeOutput, processNodeImpl
getAllowMultipleValuesPerAttribute, getAttributesSeenPerTuple, getOuterExceptions, getOuterExceptionStackTracesAsString, getWrapperId, hasOuterException, isEndNodeReceived, logInfo, processNode, receiveOuterException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccumulativeOutput
public static final char PATH_SEPARATOR_DEFAULT
public static final char VALUE_SEPARATOR_DEFAULT
public static final char ESCAPE_CHAR_DEFAULT
public HierarchyJDBCOutputHandler(boolean allowMultipleValuesPerAttribute, String[][] entityRelPathList, boolean includeId, boolean includeRecordLabel, RelationOutputHandler.IFilter<String> valFilter, RelationOutputHandler.IFilter<List<List<String>>> rowFilter, String driver, String dbUrl, String dbUser, String dbPsw, String schemaName, String tableName, boolean override, int batchSize)
allowMultipleValuesPerAttribute
- true: multiple values are allowed per attributeentityRelPathList
- array of paths of entities to be identified in the extraction treeincludeId
- true: ids corresponding to entities are incorporated into the modelincludeRecordLabel
- true: the name of the record nesting attributes and child entities is included into the path name.valFilter
- a function for filtering values (can be null)rowFilter
- a function for filtering records (can be null)driver
- JDBC driver (class)dbUrl
- JDBC database URLdbUser
- database userdbPsw
- database passwordschemaName
- schema nametableName
- table nameoverride
- true: able will be re-createdbatchSize
- minimal number of queries to be committed at oncepublic HierarchyJDBCOutputHandler(boolean allowMultipleValuesPerAttribute, String[][] entityRelPathList, boolean includeId, boolean includeRecordLabel, RelationOutputHandler.IFilter<String> valFilter, RelationOutputHandler.IFilter<List<List<String>>> rowFilter, char pathSeparator, char valueSeparator, char escapeChar, String driver, String dbUrl, String dbUser, String dbPsw, String schemaName, String tableName, boolean override, int batchSize)
allowMultipleValuesPerAttribute
- true: multiple values are allowed per attributeentityRelPathList
- array of paths of entities to be identified in the extraction treeincludeId
- true: ids corresponding to entities are incorporated into the modelincludeRecordLabel
- true: the name of the record nesting attributes and child entities is included into the path name.valFilter
- a function for filtering values (can be null)rowFilter
- a function for filtering records (can be null)pathSeparator
- character to join components of the path denoting the entity's attributevalueSeparator
- character to join values of the entity's attributeescapeChar
- escape character used in string join operationdriver
- JDBC driver (class)dbUrl
- JDBC database URLdbUser
- database userdbPsw
- database passwordschemaName
- schema nametableName
- table nameoverride
- true: able will be re-createdbatchSize
- minimal number of queries to be committed at oncepublic HierarchyJDBCOutputHandler(String wrapperId, boolean allowMultipleValuesPerAttribute, String[][] entityRelPathList, boolean includeId, boolean includeRecordLabel, RelationOutputHandler.IFilter<String> valFilter, RelationOutputHandler.IFilter<List<List<String>>> rowFilter, char pathSeparator, char valueSeparator, char escapeChar, String driver, String dbUrl, String dbUser, String dbPsw, String schemaName, String tableName, boolean override, int batchSize)
wrapperId
- allowMultipleValuesPerAttribute
- true: multiple values are allowed per attributeentityRelPathList
- array of paths of entities to be identified in the extraction treeincludeId
- true: ids corresponding to entities are incorporated into the modelincludeRecordLabel
- true: the name of the record nesting attributes and child entities is included into the path name.valFilter
- a function for filtering values (can be null)rowFilter
- a function for filtering records (can be null)pathSeparator
- character to join components of the path denoting the entity's attributevalueSeparator
- character to join values of the entity's attributeescapeChar
- escape character used in string join operationdriver
- JDBC driver (class)dbUrl
- JDBC database URLdbUser
- database userdbPsw
- database passwordschemaName
- schema nametableName
- table nameoverride
- true: able will be re-createdbatchSize
- minimal number of queries to be committed at oncepublic void serialize()
serialize
in interface ISerializable<RelationModel>
Copyright © 2020 OXPath Team. All rights reserved.