| Modifier and Type | Method and Description |
|---|---|
static AttributesColumn |
AttributesColumn.createColumn(int index,
String name,
GeoPackageDataType type)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(int index,
String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(int index,
String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(String name,
GeoPackageDataType type)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static AttributesColumn |
AttributesColumn.createColumn(String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
| Modifier and Type | Method and Description |
|---|---|
static GeoPackageDataType |
GeoPackageDataType.findName(String name)
Find the Data Type from the name if it exists, ignoring case
|
static GeoPackageDataType |
GeoPackageDataType.fromName(String name)
Get the Data Type from the name, ignoring case
|
GeoPackageDataType |
MappedColumn.getDataType()
Get the data type
|
static GeoPackageDataType |
GeoPackageDataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoPackageDataType[] |
GeoPackageDataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static List<List<Object>> |
ResultUtils.buildResults(Result result,
GeoPackageDataType[] dataTypes,
Integer limit)
Build the result rows from the result and the optional limit
|
static List<Object> |
ResultUtils.buildSingleColumnResults(Result result,
int column,
GeoPackageDataType dataType,
Integer limit)
Build single column result rows from the result and the optional limit
|
static Object |
ResultUtils.buildSingleResult(Result result,
int column,
GeoPackageDataType dataType)
Build single result value from the column
|
static String |
CoreSQLUtils.columnDefaultValue(Object defaultValue,
GeoPackageDataType dataType)
Get the column default value as a string
|
static DateConverter |
DateConverter.converter(GeoPackageDataType type)
Get a date converter for the data type
|
static Object |
ResultUtils.getFloatValue(Result result,
int index,
GeoPackageDataType dataType)
Get the float value from the cursor of the column
|
static Object |
ResultUtils.getIntegerValue(Result result,
int index,
GeoPackageDataType dataType)
Get the integer value from the cursor of the column
|
Object |
Result.getValue(int index,
GeoPackageDataType dataType)
Get the value for the column
|
static Object |
ResultUtils.getValue(Object value,
GeoPackageDataType dataType)
Get the converted value from the value and data type
|
static Object |
ResultUtils.getValue(Result result,
int index,
GeoPackageDataType dataType)
Get the value from the result from the provided column
Assumes
Result.getType(int) returns one of:
ResultUtils.FIELD_TYPE_INTEGER, ResultUtils.FIELD_TYPE_FLOAT,
ResultUtils.FIELD_TYPE_STRING, ResultUtils.FIELD_TYPE_BLOB, or
ResultUtils.FIELD_TYPE_NULL |
static Object |
ResultUtils.getValue(Result result,
int index,
int type,
GeoPackageDataType dataType)
Get the value from the cursor from the provided column
|
List<List<Object>> |
GeoPackageCoreConnection.queryResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes)
Query for values
|
abstract List<List<Object>> |
GeoPackageCoreConnection.queryResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes,
Integer limit)
Query for values up to the limit
|
List<Object> |
GeoPackageCoreConnection.querySingleColumnResults(String sql,
String[] args,
GeoPackageDataType dataType)
Query for values from the first column
|
List<Object> |
GeoPackageCoreConnection.querySingleColumnResults(String sql,
String[] args,
int column,
GeoPackageDataType dataType)
Query for values from a single column
|
abstract List<Object> |
GeoPackageCoreConnection.querySingleColumnResults(String sql,
String[] args,
int column,
GeoPackageDataType dataType,
Integer limit)
Query for values from a single column up to the limit
|
<T> List<T> |
GeoPackageCoreConnection.querySingleColumnTypedResults(String sql,
String[] args,
GeoPackageDataType dataType)
Query for typed values from the first column
|
<T> List<T> |
GeoPackageCoreConnection.querySingleColumnTypedResults(String sql,
String[] args,
int column,
GeoPackageDataType dataType)
Query for typed values from a single column
|
<T> List<T> |
GeoPackageCoreConnection.querySingleColumnTypedResults(String sql,
String[] args,
int column,
GeoPackageDataType dataType,
Integer limit)
Query for typed values from a single column up to the limit
|
Object |
GeoPackageCoreConnection.querySingleResult(String sql,
String[] args,
GeoPackageDataType dataType)
Query the SQL for a single result object in the first column with the
expected data type
|
abstract Object |
GeoPackageCoreConnection.querySingleResult(String sql,
String[] args,
int column,
GeoPackageDataType dataType)
Query the SQL for a single result object with the expected data type
|
List<Object> |
GeoPackageCoreConnection.querySingleRowResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes)
Query for values in a single (first) row
|
<T> List<T> |
GeoPackageCoreConnection.querySingleRowTypedResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes)
Query for typed values in a single (first) row
|
<T> T |
GeoPackageCoreConnection.querySingleTypedResult(String sql,
String[] args,
GeoPackageDataType dataType)
Query the SQL for a single result typed object in the first column with
the expected data type
|
<T> T |
GeoPackageCoreConnection.querySingleTypedResult(String sql,
String[] args,
int column,
GeoPackageDataType dataType)
Query the SQL for a single result typed object with the expected data
type
|
<T> List<List<T>> |
GeoPackageCoreConnection.queryTypedResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes)
Query for typed values
|
<T> List<List<T>> |
GeoPackageCoreConnection.queryTypedResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes,
Integer limit)
Query for typed values up to the limit
|
void |
MappedColumn.setDataType(GeoPackageDataType dataType)
Set the data type
|
| Constructor and Description |
|---|
MappedColumn(String toColumn,
Object defaultValue,
GeoPackageDataType dataType)
Constructor
|
MappedColumn(String toColumn,
String fromColumn,
Object defaultValue,
GeoPackageDataType dataType)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
GeoPackageDataType |
TableColumn.getDataType()
Get the column data type
|
static GeoPackageDataType |
TableInfo.getDataType(String type)
Get the data type from the type value
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
TableInfo.getDefaultValue(String defaultValue,
GeoPackageDataType type)
Get the default object value for the string default value with the data
type
|
boolean |
TableColumn.isDataType(GeoPackageDataType dataType)
Is the column the data type
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SimpleAttributesTable.isSimple(GeoPackageDataType dataType)
Determine if the data type is a simple type: TEXT, INTEGER, or REAL
storage classes
|
| Modifier and Type | Method and Description |
|---|---|
static GeoPackageDataType |
FeatureCoreGenerator.getType(Object value)
Get the type for the object value
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
FeatureCoreGenerator.getValue(Object value,
GeoPackageDataType type)
Get the value for the object value with the data type
|
| Modifier and Type | Method and Description |
|---|---|
static FeatureColumn |
FeatureColumn.createColumn(int index,
String name,
GeoPackageDataType type)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(int index,
String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(int index,
String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(String name,
GeoPackageDataType type)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static FeatureColumn |
FeatureColumn.createColumn(String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
protected static String |
FeatureColumn.getTypeName(String name,
GeoPackageDataType dataType,
GeometryType geometryType)
Get the type name from the data and geometry type
|
| Modifier and Type | Method and Description |
|---|---|
static TileColumn |
TileColumn.createColumn(int index,
String name,
GeoPackageDataType type)
Create a new column
|
static TileColumn |
TileColumn.createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static TileColumn |
TileColumn.createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static TileColumn |
TileColumn.createColumn(int index,
String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static TileColumn |
TileColumn.createColumn(int index,
String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
static TileColumn |
TileColumn.createColumn(String name,
GeoPackageDataType type)
Create a new column
|
static TileColumn |
TileColumn.createColumn(String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static TileColumn |
TileColumn.createColumn(String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static TileColumn |
TileColumn.createColumn(String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static TileColumn |
TileColumn.createColumn(String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
| Modifier and Type | Method and Description |
|---|---|
GeoPackageDataType |
UserColumn.getDataType()
Get the data type
|
| Modifier and Type | Method and Description |
|---|---|
List<TColumn> |
UserColumns.columnsOfType(GeoPackageDataType type)
Get the columns with the provided data type
|
List<TColumn> |
UserTable.columnsOfType(GeoPackageDataType type)
Get the columns with the provided data type
|
protected static String |
UserColumn.getTypeName(String name,
GeoPackageDataType dataType)
Get the type name from the data type
|
List<List<Object>> |
UserCoreDao.queryResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes)
Query for values
|
List<List<Object>> |
UserCoreDao.queryResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes,
Integer limit)
Query for values up to the limit
|
List<Object> |
UserCoreDao.querySingleColumnResults(String sql,
String[] args,
GeoPackageDataType dataType)
Query for values from the first column
|
List<Object> |
UserCoreDao.querySingleColumnResults(String sql,
String[] args,
int column,
GeoPackageDataType dataType)
Query for values from a single column
|
List<Object> |
UserCoreDao.querySingleColumnResults(String sql,
String[] args,
int column,
GeoPackageDataType dataType,
Integer limit)
Query for values from a single column up to the limit
|
<T> List<T> |
UserCoreDao.querySingleColumnTypedResults(String sql,
String[] args,
GeoPackageDataType dataType)
Query for typed values from the first column
|
<T> List<T> |
UserCoreDao.querySingleColumnTypedResults(String sql,
String[] args,
int column,
GeoPackageDataType dataType)
Query for typed values from a single column
|
<T> List<T> |
UserCoreDao.querySingleColumnTypedResults(String sql,
String[] args,
int column,
GeoPackageDataType dataType,
Integer limit)
Query for typed values from a single column up to the limit
|
Object |
UserCoreDao.querySingleResult(String sql,
String[] args,
GeoPackageDataType dataType)
Query the SQL for a single result object in the first column with the
expected data type
|
Object |
UserCoreDao.querySingleResult(String sql,
String[] args,
int column,
GeoPackageDataType dataType)
Query the SQL for a single result object with the expected data type
|
List<Object> |
UserCoreDao.querySingleRowResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes)
Query for values in a single (first) row
|
<T> List<T> |
UserCoreDao.querySingleRowTypedResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes)
Query for typed values in a single (first) row
|
<T> T |
UserCoreDao.querySingleTypedResult(String sql,
String[] args,
GeoPackageDataType dataType)
Query the SQL for a single result typed object in the first column with
the expected data type
|
<T> T |
UserCoreDao.querySingleTypedResult(String sql,
String[] args,
int column,
GeoPackageDataType dataType)
Query the SQL for a single result typed object with the expected data
type
|
<T> List<List<T>> |
UserCoreDao.queryTypedResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes)
Query for typed values
|
<T> List<List<T>> |
UserCoreDao.queryTypedResults(String sql,
String[] args,
GeoPackageDataType[] dataTypes,
Integer limit)
Query for typed values up to the limit
|
void |
UserColumn.setDataType(GeoPackageDataType dataType)
Set the data type
|
protected void |
UserColumns.typeCheck(GeoPackageDataType expected,
TColumn column)
Check for the expected data type
|
protected static void |
UserColumn.validateDataType(String name,
GeoPackageDataType dataType)
Validate the data type
|
| Constructor and Description |
|---|
UserColumn(int index,
String name,
GeoPackageDataType dataType,
Long max,
boolean notNull,
Object defaultValue,
boolean primaryKey)
Constructor
|
UserColumn(int index,
String name,
String type,
GeoPackageDataType dataType,
Long max,
boolean notNull,
Object defaultValue,
boolean primaryKey)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static UserCustomColumn |
UserCustomColumn.createColumn(int index,
String name,
GeoPackageDataType type)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(int index,
String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(int index,
String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(int index,
String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(String name,
GeoPackageDataType type)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(String name,
GeoPackageDataType type,
boolean notNull)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(String name,
GeoPackageDataType type,
boolean notNull,
Object defaultValue)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(String name,
GeoPackageDataType type,
Long max)
Create a new column
|
static UserCustomColumn |
UserCustomColumn.createColumn(String name,
GeoPackageDataType type,
Long max,
boolean notNull,
Object defaultValue)
Create a new column
|
Copyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.