- java.lang.Object
-
- com.pervasive.datarush.operators.io.vectorwise.VW5Validator
-
public class VW5Validator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected JDBCConnector
jdbcConnector
-
Constructor Summary
Constructors Constructor Description VW5Validator(JDBCConnector connector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 matchboolean
checkRTSortConstraint()
boolean
checkRTUniqueConstraint()
protected boolean
isTableEmpty()
boolean
tableExists()
void
validateFields(Map<String,String> fieldMap, RecordTokenType inputType)
-
-
-
Field Detail
-
jdbcConnector
protected final JDBCConnector jdbcConnector
-
-
Constructor Detail
-
VW5Validator
public VW5Validator(JDBCConnector connector)
-
-
Method Detail
-
checkRTSortConstraint
public boolean checkRTSortConstraint()
-
checkRTUniqueConstraint
public boolean checkRTUniqueConstraint()
-
checkDTUniqueConstraint
public 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
-
tableExists
public boolean tableExists()
-
validateFields
public void validateFields(Map<String,String> fieldMap, RecordTokenType inputType)
-
isTableEmpty
protected boolean isTableEmpty()
-
-