Package io.github.fupacat.ast
Class DefaultConstraintDefinition
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.ConstraintDefinition
io.github.fupacat.ast.DefaultConstraintDefinition
- All Implemented Interfaces:
Serializable
Represents the default constraint.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe name column te constraint is on.The value of the constraint.booleanShows that WITH VALUES tokens were defined if true.Fields inherited from class io.github.fupacat.ast.ConstraintDefinition
ConstraintIdentifierFields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream, Value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TSqlFragmentVisitor visitor) voidacceptChildren(TSqlFragmentVisitor visitor) Methods inherited from class io.github.fupacat.ast.TSqlFragment
SetIdentifier, SetUnquotedIdentifier, UpdateTokenInfo, UpdateTokenInfo
-
Field Details
-
Expression
The value of the constraint. -
WithValues
public boolean WithValuesShows that WITH VALUES tokens were defined if true. -
Column
The name column te constraint is on. Only valid at table level. Optional, may be null.
-
-
Constructor Details
-
DefaultConstraintDefinition
public DefaultConstraintDefinition()
-
-
Method Details
-
accept
- Overrides:
acceptin classConstraintDefinition
-
acceptChildren
- Overrides:
acceptChildrenin classConstraintDefinition
-