public class SQLiteMaster extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TABLE_NAME
Table Name
|
| Modifier and Type | Method and Description |
|---|---|
Set<SQLiteMasterColumn> |
columns()
Get the columns in the result
|
static SQLiteMasterColumn[] |
columns(SQLiteMasterColumn... columns)
Shortcut to build columns into an array
|
int |
count()
Result count
|
static int |
count(GeoPackageCoreConnection db)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types,
String tableName)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
SQLiteMasterQuery query)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
SQLiteMasterType type)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
SQLiteMasterType[] types)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
SQLiteMasterType[] types,
SQLiteMasterQuery query)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
SQLiteMasterType[] types,
String tableName)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
SQLiteMasterType type,
SQLiteMasterQuery query)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
SQLiteMasterType type,
String tableName)
Count the sqlite_master table
|
static int |
count(GeoPackageCoreConnection db,
String tableName)
Count the sqlite_master table
|
static int |
countByType(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types)
Count the sqlite_master table
|
static int |
countByType(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types,
String tableName)
Count the sqlite_master table
|
static int |
countByType(GeoPackageCoreConnection db,
SQLiteMasterType type)
Count the sqlite_master table
|
static int |
countByType(GeoPackageCoreConnection db,
SQLiteMasterType type,
String tableName)
Count the sqlite_master table
|
static int |
countViewsOnTable(GeoPackageCoreConnection db,
String tableName)
Count the sqlite_master views on the table
|
int |
getColumnIndex(SQLiteMasterColumn column)
Get the column index of the column type
|
TableConstraints |
getConstraints(int row)
Get the constraints from table SQL
|
String |
getName(int row)
Get the name
|
Long |
getRootpage(int row)
Get the rootpage
|
List<Object> |
getRow(int row)
Get the row at the row index
|
String |
getSql(int row)
Get the sql
|
String |
getTableName(int row)
Get the table name
|
SQLiteMasterType |
getType(int row)
Get the type
|
String |
getTypeString(int row)
Get the type string
|
Object |
getValue(int row,
SQLiteMasterColumn column)
Get the value of the column at the row index
|
Object |
getValue(List<Object> row,
SQLiteMasterColumn column)
Get the value in the row at the column index
|
static SQLiteMaster |
query(GeoPackageCoreConnection db)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
Collection<SQLiteMasterType> types)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
Collection<SQLiteMasterType> types,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
SQLiteMasterType type)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
SQLiteMasterType type,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType type)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType[] types)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType[] types,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType[] types,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType type,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
SQLiteMasterType type,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
SQLiteMasterType type,
SQLiteMasterQuery query)
Query the sqlite_master table
|
static SQLiteMaster |
query(GeoPackageCoreConnection db,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
queryByType(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types)
Query the sqlite_master table
|
static SQLiteMaster |
queryByType(GeoPackageCoreConnection db,
Collection<SQLiteMasterType> types,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
queryByType(GeoPackageCoreConnection db,
SQLiteMasterType type)
Query the sqlite_master table
|
static SQLiteMaster |
queryByType(GeoPackageCoreConnection db,
SQLiteMasterType type,
String tableName)
Query the sqlite_master table
|
static SQLiteMaster |
queryForColumns(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns)
Query the sqlite_master table
|
static SQLiteMaster |
queryForColumns(GeoPackageCoreConnection db,
Collection<SQLiteMasterColumn> columns,
String tableName)
Query the sqlite_master table
|
static TableConstraints |
queryForConstraints(GeoPackageCoreConnection db,
String tableName)
Query for the table constraints
|
static SQLiteMaster |
queryViewsOnTable(GeoPackageCoreConnection db,
SQLiteMasterColumn[] columns,
String tableName)
Query the sqlite_master views on the table
|
static SQLiteMaster |
queryViewsOnTable(GeoPackageCoreConnection db,
String tableName)
Query the sqlite_master views on the table
|
static SQLiteMasterType[] |
types(SQLiteMasterType... types)
Shortcut to build types into an array
|
public static final String TABLE_NAME
public int count()
public Set<SQLiteMasterColumn> columns()
public SQLiteMasterType getType(int row)
row - row indexpublic String getTypeString(int row)
row - row indexpublic String getName(int row)
row - row indexpublic String getTableName(int row)
row - row indexpublic Long getRootpage(int row)
row - row indexpublic String getSql(int row)
row - row indexpublic Object getValue(int row, SQLiteMasterColumn column)
row - row indexcolumn - column typepublic List<Object> getRow(int row)
row - row indexpublic Object getValue(List<Object> row, SQLiteMasterColumn column)
row - rowcolumn - column typepublic int getColumnIndex(SQLiteMasterColumn column)
column - column typepublic TableConstraints getConstraints(int row)
row - row indexpublic static SQLiteMasterColumn[] columns(SQLiteMasterColumn... columns)
columns - columnspublic static SQLiteMasterType[] types(SQLiteMasterType... types)
types - typespublic static int count(GeoPackageCoreConnection db)
db - connectionpublic static SQLiteMaster query(GeoPackageCoreConnection db)
db - connectionpublic static int count(GeoPackageCoreConnection db, String tableName)
db - connectiontableName - table namepublic static SQLiteMaster query(GeoPackageCoreConnection db, String tableName)
db - connectiontableName - table namepublic static SQLiteMaster queryForColumns(GeoPackageCoreConnection db, Collection<SQLiteMasterColumn> columns)
db - connectioncolumns - result columnspublic static SQLiteMaster queryForColumns(GeoPackageCoreConnection db, Collection<SQLiteMasterColumn> columns, String tableName)
db - connectioncolumns - result columnstableName - table namepublic static int countByType(GeoPackageCoreConnection db, SQLiteMasterType type)
db - connectiontype - result typepublic static SQLiteMaster queryByType(GeoPackageCoreConnection db, SQLiteMasterType type)
db - connectiontype - result typepublic static int countByType(GeoPackageCoreConnection db, Collection<SQLiteMasterType> types)
db - connectiontypes - result typespublic static SQLiteMaster queryByType(GeoPackageCoreConnection db, Collection<SQLiteMasterType> types)
db - connectiontypes - result typespublic static int countByType(GeoPackageCoreConnection db, SQLiteMasterType type, String tableName)
db - connectiontype - result typetableName - table namepublic static SQLiteMaster queryByType(GeoPackageCoreConnection db, SQLiteMasterType type, String tableName)
db - connectiontype - result typetableName - table namepublic static int countByType(GeoPackageCoreConnection db, Collection<SQLiteMasterType> types, String tableName)
db - connectiontypes - result typestableName - table namepublic static SQLiteMaster queryByType(GeoPackageCoreConnection db, Collection<SQLiteMasterType> types, String tableName)
db - connectiontypes - result typestableName - table namepublic static int count(GeoPackageCoreConnection db, Collection<SQLiteMasterType> types)
db - connectiontypes - result typespublic static SQLiteMaster query(GeoPackageCoreConnection db, Collection<SQLiteMasterColumn> columns, SQLiteMasterType type)
db - connectioncolumns - result columnstype - result typepublic static SQLiteMaster query(GeoPackageCoreConnection db, Collection<SQLiteMasterColumn> columns, Collection<SQLiteMasterType> types)
db - connectioncolumns - result columnstypes - result typespublic static SQLiteMaster query(GeoPackageCoreConnection db, Collection<SQLiteMasterColumn> columns, SQLiteMasterType type, String tableName)
db - connectioncolumns - result columnstype - result typetableName - table namepublic static int count(GeoPackageCoreConnection db, Collection<SQLiteMasterType> types, String tableName)
db - connectiontypes - result typestableName - table namepublic static SQLiteMaster query(GeoPackageCoreConnection db, Collection<SQLiteMasterColumn> columns, Collection<SQLiteMasterType> types, String tableName)
db - connectioncolumns - result columnstypes - result typestableName - table namepublic static int count(GeoPackageCoreConnection db, SQLiteMasterType type)
db - connectiontype - result typepublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterColumn[] columns, SQLiteMasterType type)
db - connectioncolumns - result columnstype - result typepublic static int count(GeoPackageCoreConnection db, SQLiteMasterType type, String tableName)
db - connectiontype - result typetableName - table namepublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterColumn[] columns, SQLiteMasterType type, String tableName)
db - connectioncolumns - result columnstype - result typetableName - table namepublic static int count(GeoPackageCoreConnection db, SQLiteMasterType[] types)
db - connectiontypes - result typespublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterColumn[] columns, SQLiteMasterType[] types)
db - connectioncolumns - result columnstypes - result typespublic static int count(GeoPackageCoreConnection db, SQLiteMasterType[] types, String tableName)
db - connectiontypes - result typestableName - table namepublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterColumn[] columns, SQLiteMasterType[] types, String tableName)
db - connectioncolumns - result columnstypes - result typestableName - table namepublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterQuery query)
db - connectionquery - querypublic static int count(GeoPackageCoreConnection db, SQLiteMasterQuery query)
db - connectionquery - querypublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterColumn[] columns, SQLiteMasterQuery query)
db - connectioncolumns - result columnsquery - querypublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterType type, SQLiteMasterQuery query)
db - connectiontype - result typequery - querypublic static int count(GeoPackageCoreConnection db, SQLiteMasterType type, SQLiteMasterQuery query)
db - connectiontype - result typequery - querypublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterColumn[] columns, SQLiteMasterType type, SQLiteMasterQuery query)
db - connectioncolumns - result columnstype - result typequery - querypublic static int count(GeoPackageCoreConnection db, SQLiteMasterType[] types, SQLiteMasterQuery query)
db - connectiontypes - result typesquery - querypublic static SQLiteMaster query(GeoPackageCoreConnection db, SQLiteMasterColumn[] columns, SQLiteMasterType[] types, SQLiteMasterQuery query)
db - connectioncolumns - result columnstypes - result typesquery - querypublic static SQLiteMaster queryViewsOnTable(GeoPackageCoreConnection db, String tableName)
db - connectiontableName - table namepublic static SQLiteMaster queryViewsOnTable(GeoPackageCoreConnection db, SQLiteMasterColumn[] columns, String tableName)
db - connectioncolumns - result columnstableName - table namepublic static int countViewsOnTable(GeoPackageCoreConnection db, String tableName)
db - connectiontableName - table namepublic static TableConstraints queryForConstraints(GeoPackageCoreConnection db, String tableName)
db - connectiontableName - table nameCopyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.