Class TileColumn

    • Constructor Detail

      • TileColumn

        public TileColumn​(TileColumn tileColumn)
        Copy Constructor
        Parameters:
        tileColumn - tile column
        Since:
        3.3.0
    • Method Detail

      • createIdColumn

        public static TileColumn createIdColumn()
        Create an id column
        Returns:
        tile column
        Since:
        3.3.0
      • createIdColumn

        public static TileColumn createIdColumn​(boolean autoincrement)
        Create an id column
        Parameters:
        autoincrement - autoincrement flag
        Returns:
        tile column
        Since:
        4.0.0
      • createIdColumn

        public static TileColumn createIdColumn​(int index)
        Create an id column
        Parameters:
        index - index
        Returns:
        tile column
      • createIdColumn

        public static TileColumn createIdColumn​(int index,
                                                boolean autoincrement)
        Create an id column
        Parameters:
        index - index
        autoincrement - autoincrement flag
        Returns:
        tile column
        Since:
        4.0.0
      • createZoomLevelColumn

        public static TileColumn createZoomLevelColumn()
        Create a zoom level column
        Returns:
        tile column
        Since:
        3.3.0
      • createZoomLevelColumn

        public static TileColumn createZoomLevelColumn​(int index)
        Create a zoom level column
        Parameters:
        index - index
        Returns:
        tile column
      • createTileColumnColumn

        public static TileColumn createTileColumnColumn()
        Create a tile column column
        Returns:
        tile column
        Since:
        3.3.0
      • createTileColumnColumn

        public static TileColumn createTileColumnColumn​(int index)
        Create a tile column column
        Parameters:
        index - index
        Returns:
        tile column
      • createTileRowColumn

        public static TileColumn createTileRowColumn()
        Create a tile row column
        Returns:
        tile column
        Since:
        3.3.0
      • createTileRowColumn

        public static TileColumn createTileRowColumn​(int index)
        Create a tile row column
        Parameters:
        index - index
        Returns:
        tile column
      • createTileDataColumn

        public static TileColumn createTileDataColumn()
        Create a tile data column
        Returns:
        tile column
        Since:
        3.3.0
      • createTileDataColumn

        public static TileColumn createTileDataColumn​(int index)
        Create a tile data column
        Parameters:
        index - index
        Returns:
        tile column
      • createColumn

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

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

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

        public static TileColumn 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:
        tile column
        Since:
        3.3.0
      • createColumn

        public static TileColumn 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:
        tile column
        Since:
        3.3.0
      • createColumn

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

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

        public static TileColumn 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:
        tile column
        Since:
        3.3.0
      • createColumn

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

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

        public static TileColumn createColumn​(TableColumn tableColumn)
        Create a new column
        Parameters:
        tableColumn - table column
        Returns:
        tile column
        Since:
        3.3.0
      • copy

        public TileColumn copy()
        Copy the column
        Specified by:
        copy in class UserColumn
        Returns:
        copied column
        Since:
        3.3.0