public class FeatureColumn extends UserColumn
| Modifier and Type | Method and Description |
|---|---|
static FeatureColumn |
createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static FeatureColumn |
createColumn(int index,
String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
static FeatureColumn |
createGeometryColumn(int index,
String name,
GeometryType type,
boolean notNull,
Object defaultValue)
Create a new geometry column
|
static FeatureColumn |
createPrimaryKeyColumn(int index,
String name)
Create a new primary key column
|
GeometryType |
getGeometryType()
When a geometry column, gets the geometry type
|
String |
getTypeName()
Get the database type name
|
boolean |
isGeometry()
Determine if this column is a geometry
|
compareTo, getDataType, getDefaultValue, getIndex, getMax, getName, isNotNull, isPrimaryKeypublic static FeatureColumn createPrimaryKeyColumn(int index, String name)
index - name - public static FeatureColumn createGeometryColumn(int index, String name, GeometryType type, boolean notNull, Object defaultValue)
index - name - type - notNull - defaultValue - public static FeatureColumn createColumn(int index, String name, GeoPackageDataType type, boolean notNull, Object defaultValue)
index - name - type - notNull - defaultValue - public static FeatureColumn createColumn(int index, String name, GeoPackageDataType type, Long max, boolean notNull, Object defaultValue)
index - name - type - max - notNull - defaultValue - public boolean isGeometry()
public GeometryType getGeometryType()
public String getTypeName()
getTypeName in class UserColumnCopyright © 2016 National Geospatial-Intelligence Agency. All rights reserved.