Package mil.nga.geopackage.tiles.user
Class TileColumn
- java.lang.Object
-
- mil.nga.geopackage.user.UserColumn
-
- mil.nga.geopackage.tiles.user.TileColumn
-
- All Implemented Interfaces:
Comparable<UserColumn>
public class TileColumn extends UserColumn
Tile column- Author:
- osbornb
-
-
Field Summary
-
Fields inherited from class mil.nga.geopackage.user.UserColumn
AUTOINCREMENT_CONSTRAINT_ORDER, DEFAULT_VALUE_CONSTRAINT_ORDER, NO_INDEX, NOT_NULL_CONSTRAINT_ORDER, PRIMARY_KEY_CONSTRAINT_ORDER, UNIQUE_CONSTRAINT_ORDER
-
-
Constructor Summary
Constructors Constructor Description TileColumn(TileColumn tileColumn)
Copy Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TileColumn
copy()
Copy the columnstatic TileColumn
createColumn(int index, String name, GeoPackageDataType type)
Create a new columnstatic TileColumn
createColumn(int index, String name, GeoPackageDataType type, boolean notNull)
Create a new columnstatic TileColumn
createColumn(int index, String name, GeoPackageDataType type, boolean notNull, Object defaultValue)
Create a new columnstatic TileColumn
createColumn(int index, String name, GeoPackageDataType type, Long max)
Create a new columnstatic TileColumn
createColumn(int index, String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue)
Create a new columnstatic TileColumn
createColumn(String name, GeoPackageDataType type)
Create a new columnstatic TileColumn
createColumn(String name, GeoPackageDataType type, boolean notNull)
Create a new columnstatic TileColumn
createColumn(String name, GeoPackageDataType type, boolean notNull, Object defaultValue)
Create a new columnstatic TileColumn
createColumn(String name, GeoPackageDataType type, Long max)
Create a new columnstatic TileColumn
createColumn(String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue)
Create a new columnstatic TileColumn
createColumn(TableColumn tableColumn)
Create a new columnstatic TileColumn
createIdColumn()
Create an id columnstatic TileColumn
createIdColumn(boolean autoincrement)
Create an id columnstatic TileColumn
createIdColumn(int index)
Create an id columnstatic TileColumn
createIdColumn(int index, boolean autoincrement)
Create an id columnstatic TileColumn
createTileColumnColumn()
Create a tile column columnstatic TileColumn
createTileColumnColumn(int index)
Create a tile column columnstatic TileColumn
createTileDataColumn()
Create a tile data columnstatic TileColumn
createTileDataColumn(int index)
Create a tile data columnstatic TileColumn
createTileRowColumn()
Create a tile row columnstatic TileColumn
createTileRowColumn(int index)
Create a tile row columnstatic TileColumn
createZoomLevelColumn()
Create a zoom level columnstatic TileColumn
createZoomLevelColumn(int index)
Create a zoom level column-
Methods inherited from class mil.nga.geopackage.user.UserColumn
addAutoincrementConstraint, addConstraint, addConstraint, addConstraint, addConstraint, addConstraints, addConstraints, addConstraints, addDefaultConstraints, addDefaultValueConstraint, addNotNullConstraint, addPrimaryKeyConstraint, addUniqueConstraint, buildConstraintSql, clearConstraints, clearConstraints, clearConstraints, compareTo, getConstraints, getConstraints, getDataType, getDefaultValue, getIndex, getMax, getName, getSchema, getType, getTypeName, hasConstraints, hasConstraints, hasDefaultValue, hasIndex, hasMax, hasSchema, isAutoincrement, isNamed, isNotNull, isPrimaryKey, isUnique, removeAutoincrementConstraint, removeDefaultValueConstraint, removeNotNullConstraint, removePrimaryKeyConstraint, removeUniqueConstraint, resetIndex, setAutoincrement, setConstraintOrder, setDataType, setDefaultValue, setIndex, setMax, setName, setNotNull, setPrimaryKey, setSchema, setType, setUnique, validateDataType
-
-
-
-
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
- indexautoincrement
- 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
- nametype
- 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
- indexname
- nametype
- 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
- nametype
- data typenotNull
- 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
- indexname
- nametype
- data typenotNull
- 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
- nametype
- data typenotNull
- not null flagdefaultValue
- 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
- indexname
- nametype
- typenotNull
- not null flagdefaultValue
- default value- Returns:
- tile column
-
createColumn
public static TileColumn createColumn(String name, GeoPackageDataType type, Long max)
Create a new column- Parameters:
name
- nametype
- data typemax
- 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
- indexname
- nametype
- data typemax
- 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
- nametype
- typemax
- max valuenotNull
- not null flagdefaultValue
- 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
- indexname
- nametype
- typemax
- max valuenotNull
- not null flagdefaultValue
- 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 classUserColumn
- Returns:
- copied column
- Since:
- 3.3.0
-
-