public class VW5Validator extends Object
Modifier and Type | Field and Description |
---|---|
protected JDBCConnector |
jdbcConnector |
Constructor and Description |
---|
VW5Validator(JDBCConnector connector) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkDTUniqueConstraint()
Check for unique Constraints
1) When unique keys are present, the input table should be empty
2) When sort keys and unique keys are both defined, both should match
|
boolean |
checkRTSortConstraint() |
boolean |
checkRTUniqueConstraint() |
protected boolean |
isTableEmpty() |
boolean |
tableExists() |
void |
validateFields(Map<String,String> fieldMap,
RecordTokenType inputType) |
protected final JDBCConnector jdbcConnector
public VW5Validator(JDBCConnector connector)
public boolean checkRTSortConstraint()
public boolean checkRTUniqueConstraint()
public boolean checkDTUniqueConstraint()
public boolean tableExists()
public void validateFields(Map<String,String> fieldMap, RecordTokenType inputType)
protected boolean isTableEmpty()
Copyright © 2020 Actian Corporation. All rights reserved.