Package io.github.fupacat.ast
Class RetentionPeriodDefinition
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.RetentionPeriodDefinition
- All Implemented Interfaces:
Serializable
Definition of retention period for system versioned temporal table and data retention table option.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionDuration of retention period in given units.booleanIs this retention policy set to INFINITY?Duration of retention period in given units.Fields 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
-
Duration
Duration of retention period in given units. Unused if the period is set to INFINITY. -
Units
Duration of retention period in given units. Unused if the period is set to INFINITY. -
IsInfinity
public boolean IsInfinityIs this retention policy set to INFINITY?
-
-
Constructor Details
-
RetentionPeriodDefinition
public RetentionPeriodDefinition()
-
-
Method Details
-
accept
- Specified by:
acceptin classTSqlFragment
-
acceptChildren
- Overrides:
acceptChildrenin classTSqlFragment
-