| Modifier and Type | Field and Description |
|---|---|
| private final UUID | |
| private final String | |
| private final boolean | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | TestConstraintNode(ValueNode
The operand of the constraint test booleanValue, String The SQLState of the exception to throw if the
constraint has failed sqlState, String The name of the table that the constraint is on tableName, ConstraintDescriptor The descriptor of the constraint being checked cd, ContextManager context manager cm)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ValueNode | Returns: The new top of the expression tree.The query's FROM list fromList, SubqueryList The subquery list being built as we find SubqueryNodes subqueryList, List<AggregateNode> The aggregate list being built as we find AggregateNodes aggregates)Overrides org. Bind this logical operator. |
| pack-priv void | generateExpression(ExpressionClassBuilder
The ExpressionClassBuilder for the class we're generating acb, MethodBuilder The method the expression will go into mb)Overrides org. Do code generation for the TestConstraint operator. |
| cid | back to summary |
|---|---|
| private final UUID cid | |
| constraintName | back to summary |
|---|---|
| private final String constraintName | |
| deferrable | back to summary |
|---|---|
| private final boolean deferrable | |
| sqlState | back to summary |
|---|---|
| private final String sqlState | |
| tableName | back to summary |
|---|---|
| private final String tableName | |
| TestConstraintNode | back to summary |
|---|---|
pack-priv TestConstraintNode(ValueNode booleanValue, String sqlState, String tableName, ConstraintDescriptor cd, ContextManager cm) throws StandardException
| |
| bindExpression | back to summary |
|---|---|
| pack-priv ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, List<AggregateNode> aggregates) throws StandardException Overrides org. Bind this logical operator. All that has to be done for binding a logical operator is to bind the operand, check that the operand is SQLBoolean, and set the result type to SQLBoolean.
| |
| generateExpression | back to summary |
|---|---|
| pack-priv void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException Overrides org. Do code generation for the TestConstraint operator.
| |