Class ColumnFlags


  • public final class ColumnFlags
    extends java.lang.Object
    Column flag see https://mariadb.com/kb/en/result-set-packets/#field-details-flag
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static short AUTO_INCREMENT
      Does column auto-increment
      static short BINARY_COLLATION
      Is binary value
      static short BLOB
      Does this column contain blob
      static short ENUM
      Is column of type enum
      static short MULTIPLE_KEY
      Is this column part of a multiple column key
      static short NO_DEFAULT_VALUE_FLAG
      Does column have no default value
      static short NOT_NULL
      must a column have non-null value only
      static short PRIMARY_KEY
      Is column a primary key
      static short SET
      Is column type set
      static short TIMESTAMP
      Is column of type Timestamp
      static short UNIQUE_KEY
      Is this column a unique key
      static short UNSIGNED
      Is column number value unsigned
      static short ZEROFILL
      Must number value be filled with Zero
    • Constructor Summary

      Constructors 
      Constructor Description
      ColumnFlags()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NOT_NULL

        public static final short NOT_NULL
        must a column have non-null value only
        See Also:
        Constant Field Values
      • PRIMARY_KEY

        public static final short PRIMARY_KEY
        Is column a primary key
        See Also:
        Constant Field Values
      • UNIQUE_KEY

        public static final short UNIQUE_KEY
        Is this column a unique key
        See Also:
        Constant Field Values
      • MULTIPLE_KEY

        public static final short MULTIPLE_KEY
        Is this column part of a multiple column key
        See Also:
        Constant Field Values
      • UNSIGNED

        public static final short UNSIGNED
        Is column number value unsigned
        See Also:
        Constant Field Values
      • ZEROFILL

        public static final short ZEROFILL
        Must number value be filled with Zero
        See Also:
        Constant Field Values
      • BINARY_COLLATION

        public static final short BINARY_COLLATION
        Is binary value
        See Also:
        Constant Field Values
      • AUTO_INCREMENT

        public static final short AUTO_INCREMENT
        Does column auto-increment
        See Also:
        Constant Field Values
      • TIMESTAMP

        public static final short TIMESTAMP
        Is column of type Timestamp
        See Also:
        Constant Field Values
      • NO_DEFAULT_VALUE_FLAG

        public static final short NO_DEFAULT_VALUE_FLAG
        Does column have no default value
        See Also:
        Constant Field Values
    • Constructor Detail

      • ColumnFlags

        public ColumnFlags()