Class AttributesColumn

    • Constructor Detail

      • AttributesColumn

        public AttributesColumn​(AttributesColumn attributesColumn)
        Copy Constructor
        Parameters:
        attributesColumn - attributes column
        Since:
        3.3.0
    • Method Detail

      • createPrimaryKeyColumn

        public static AttributesColumn createPrimaryKeyColumn​(String name)
        Create a new primary key column
        Parameters:
        name - name
        Returns:
        attributes column
        Since:
        3.3.0
      • createPrimaryKeyColumn

        public static AttributesColumn createPrimaryKeyColumn​(String name,
                                                              boolean autoincrement)
        Create a new primary key column
        Parameters:
        name - name
        autoincrement - autoincrement flag
        Returns:
        attributes column
        Since:
        4.0.0
      • createPrimaryKeyColumn

        public static AttributesColumn createPrimaryKeyColumn​(int index,
                                                              String name)
        Create a new primary key column
        Parameters:
        index - index
        name - name
        Returns:
        attributes column
      • createPrimaryKeyColumn

        public static AttributesColumn createPrimaryKeyColumn​(int index,
                                                              String name,
                                                              boolean autoincrement)
        Create a new primary key column
        Parameters:
        index - index
        name - name
        autoincrement - autoincrement flag
        Returns:
        attributes column
        Since:
        4.0.0
      • createColumn

        public static AttributesColumn createColumn​(String name,
                                                    GeoPackageDataType type)
        Create a new column
        Parameters:
        name - name
        type - data type
        Returns:
        attributes column
        Since:
        3.3.0
      • createColumn

        public static AttributesColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type)
        Create a new column
        Parameters:
        index - index
        name - name
        type - data type
        Returns:
        attributes column
        Since:
        3.3.0
      • createColumn

        public static AttributesColumn createColumn​(String name,
                                                    GeoPackageDataType type,
                                                    boolean notNull)
        Create a new column
        Parameters:
        name - name
        type - data type
        notNull - not null flag
        Returns:
        attributes column
        Since:
        3.3.0
      • createColumn

        public static AttributesColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type,
                                                    boolean notNull)
        Create a new column
        Parameters:
        index - index
        name - name
        type - data type
        notNull - not null flag
        Returns:
        attributes column
        Since:
        3.3.0
      • createColumn

        public static AttributesColumn createColumn​(String name,
                                                    GeoPackageDataType type,
                                                    boolean notNull,
                                                    Object defaultValue)
        Create a new column
        Parameters:
        name - name
        type - data type
        notNull - not null flag
        defaultValue - default value
        Returns:
        attributes column
        Since:
        3.3.0
      • createColumn

        public static AttributesColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type,
                                                    boolean notNull,
                                                    Object defaultValue)
        Create a new column
        Parameters:
        index - index
        name - name
        type - data type
        notNull - not null flag
        defaultValue - default value
        Returns:
        attributes column
      • createColumn

        public static AttributesColumn createColumn​(String name,
                                                    GeoPackageDataType type,
                                                    Long max)
        Create a new column
        Parameters:
        name - name
        type - data type
        max - max value
        Returns:
        attributes column
        Since:
        3.3.0
      • createColumn

        public static AttributesColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type,
                                                    Long max)
        Create a new column
        Parameters:
        index - index
        name - name
        type - data type
        max - max value
        Returns:
        attributes column
        Since:
        3.3.0
      • createColumn

        public static AttributesColumn createColumn​(String name,
                                                    GeoPackageDataType type,
                                                    Long max,
                                                    boolean notNull,
                                                    Object defaultValue)
        Create a new column
        Parameters:
        name - name
        type - data type
        max - max value
        notNull - not null flag
        defaultValue - default value
        Returns:
        attributes column
        Since:
        3.3.0
      • createColumn

        public static AttributesColumn createColumn​(int index,
                                                    String name,
                                                    GeoPackageDataType type,
                                                    Long max,
                                                    boolean notNull,
                                                    Object defaultValue)
        Create a new column
        Parameters:
        index - index
        name - name
        type - data type
        max - max value
        notNull - not null flag
        defaultValue - default value
        Returns:
        attributes column
      • createColumn

        public static AttributesColumn createColumn​(TableColumn tableColumn)
        Create a new column
        Parameters:
        tableColumn - table column
        Returns:
        attributes column
        Since:
        3.3.0