Class TableColumnDecl


  • public class TableColumnDecl
    extends java.lang.Object
    This class represents a single column declaration within a CREATE TABLE command.
    • Field Detail

      • columnInfo

        private ColumnInfo columnInfo
        Basic details about the column, including its name and type.
      • constraints

        private java.util.ArrayList<ConstraintDecl> constraints
        Any constraints specified on the column.
    • Constructor Detail

      • TableColumnDecl

        public TableColumnDecl​(ColumnInfo columnInfo)
    • Method Detail

      • addConstraint

        public void addConstraint​(ConstraintDecl constraint)
      • getColumnInfo

        public ColumnInfo getColumnInfo()
      • getConstraints

        public java.util.List<ConstraintDecl> getConstraints()