public class TestConstraintNode extends UnaryLogicalOperatorNode
methodName, operator, receiverInterfaceType, resultInterfaceType
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
TestConstraintNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
void |
init(java.lang.Object booleanValue,
java.lang.Object sqlState,
java.lang.Object tableName,
java.lang.Object constraintName)
Initializer for a TestConstraintNode
|
init
getMethodName, getOperand, getOperator, init, init, isEquivalent, printSubNodes, setOperand, toString
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isConstantExpression, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, setNullability, setType
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
public void init(java.lang.Object booleanValue, java.lang.Object sqlState, java.lang.Object tableName, java.lang.Object constraintName) throws StandardException
init
in class QueryTreeNode
booleanValue
- The operand of the constraint testsqlState
- The SQLState of the exception to throw if the
constraint has failedtableName
- The name of the table that the constraint is onconstraintName
- The name of the constraint being checkedStandardException
- Thrown on errorpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class UnaryOperatorNode
StandardException
Copyright © 2013. All Rights Reserved.