Package io.github.fupacat.ast
Class ColumnDefinition
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.ColumnDefinitionBase
io.github.fupacat.ast.ColumnDefinition
- All Implemented Interfaces:
ICollationSetter,IDataMaskingSetter,Serializable
This fragment represents a column definition
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionRepresents the expression if this is a computed column.The constraints for this column.Defines the default value if not null.Column encryption definition set if column is encrypted.Generated always type (if any).Represents the Identity OptionsThe index for this column.booleanTrue if the column is hidden.booleanTrue if the column is persisted.booleanIndicates if the column is a row global unique identifier column.Column storage options.Fields inherited from class io.github.fupacat.ast.ColumnDefinitionBase
Collation, ColumnIdentifier, DataTypeFields 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
-
IsMasked
-
MaskingFunction
-
ComputedColumnExpression
Represents the expression if this is a computed column. -
IsPersisted
public boolean IsPersistedTrue if the column is persisted. -
DefaultConstraint
Defines the default value if not null. There can be at most one. -
IdentityOptions
Represents the Identity Options -
IsRowGuidCol
public boolean IsRowGuidColIndicates if the column is a row global unique identifier column. -
Constraints
The constraints for this column. -
StorageOptions
Column storage options. -
Index
The index for this column. -
GeneratedAlways
Generated always type (if any). -
IsHidden
public boolean IsHiddenTrue if the column is hidden. -
Encryption
Column encryption definition set if column is encrypted.
-
-
Constructor Details
-
ColumnDefinition
public ColumnDefinition()
-
-
Method Details
-
accept
- Overrides:
acceptin classColumnDefinitionBase
-
acceptChildren
- Overrides:
acceptChildrenin classColumnDefinitionBase
-