Package mil.nga.geopackage.user
Class UserCoreConnection<TColumn extends UserColumn,TTable extends UserTable<TColumn>,TRow extends UserCoreRow<TColumn,TTable>,TResult extends UserCoreResult<TColumn,TTable,TRow>>
- java.lang.Object
- 
- mil.nga.geopackage.user.UserCoreConnection<TColumn,TTable,TRow,TResult>
 
- 
- Type Parameters:
- TColumn- column type
- TTable- table type
- TRow- row type
- TResult- result type
 
 public abstract class UserCoreConnection<TColumn extends UserColumn,TTable extends UserTable<TColumn>,TRow extends UserCoreRow<TColumn,TTable>,TResult extends UserCoreResult<TColumn,TTable,TRow>> extends Object GeoPackage Connection used to define common functionality within different connection types- Author:
- osbornb
 
- 
- 
Constructor SummaryConstructors Constructor Description UserCoreConnection()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TResultquery(boolean distinct, String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy)Query the given table, returning aUserCoreResultover the result set.abstract TResultquery(boolean distinct, String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit)Query the given URL, returning aUserCoreResultover the result set.abstract TResultquery(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy)Query the given table, returning aUserCoreResultover the result set.abstract TResultquery(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit)Query the given URL, returning aUserCoreResultover the result set.abstract TResultquery(String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy)Query the given table, returning aUserCoreResultover the result set.abstract TResultquery(String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit)Query the given URL, returning aUserCoreResultover the result set.abstract TResultquery(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy)Query the given table, returning aUserCoreResultover the result set.abstract TResultquery(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit)Query the given URL, returning aUserCoreResultover the result set.abstract StringquerySQL(boolean distinct, String table, String[] columns, String[] columnsAs, String selection, String groupBy, String having, String orderBy)Build the query SQLabstract StringquerySQL(boolean distinct, String table, String[] columns, String[] columnsAs, String selection, String groupBy, String having, String orderBy, String limit)Build the query SQLabstract StringquerySQL(boolean distinct, String table, String[] columns, String selection, String groupBy, String having, String orderBy)Build the query SQLabstract StringquerySQL(boolean distinct, String table, String[] columns, String selection, String groupBy, String having, String orderBy, String limit)Build the query SQLabstract StringquerySQL(String table, String[] columns, String[] columnsAs, String selection, String groupBy, String having, String orderBy)Build the query SQLabstract StringquerySQL(String table, String[] columns, String[] columnsAs, String selection, String groupBy, String having, String orderBy, String limit)Build the query SQLabstract StringquerySQL(String table, String[] columns, String selection, String groupBy, String having, String orderBy)Build the query SQLabstract StringquerySQL(String table, String[] columns, String selection, String groupBy, String having, String orderBy, String limit)Build the query SQLabstract TResultrawQuery(String sql, String[] selectionArgs)Runs the provided SQL and returns aUserCoreResultover the result set.abstract TResultrawQuery(String sql, String[] columns, String[] selectionArgs)Runs the provided SQL and returns aUserCoreResultover the result set.
 
- 
- 
- 
Method Detail- 
rawQuerypublic abstract TResult rawQuery(String sql, String[] selectionArgs) Runs the provided SQL and returns aUserCoreResultover the result set.- Parameters:
- sql- SQL statement
- selectionArgs- selection arguments
- Returns:
- result
 
 - 
rawQuerypublic abstract TResult rawQuery(String sql, String[] columns, String[] selectionArgs) Runs the provided SQL and returns aUserCoreResultover the result set.- Parameters:
- sql- SQL statement
- columns- subset of table columns defined in the SQL
- selectionArgs- selection arguments
- Returns:
- result
- Since:
- 6.2.0
 
 - 
querypublic abstract TResult query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) Query the given table, returning aUserCoreResultover the result set.- Parameters:
- table- table name
- columns- columns
- selection- selection
- selectionArgs- selection arguments
- groupBy- group by
- having- having
- orderBy- order by
- Returns:
- result
 
 - 
querypublic abstract TResult query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) Query the given table, returning aUserCoreResultover the result set.- Parameters:
- distinct- distinct rows
- table- table name
- columns- columns
- selection- selection
- selectionArgs- selection arguments
- groupBy- group by
- having- having
- orderBy- order by
- Returns:
- result
- Since:
- 4.0.0
 
 - 
querypublic abstract TResult query(String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) Query the given table, returning aUserCoreResultover the result set.- Parameters:
- table- table name
- columns- columns
- columnsAs- columns as values
- selection- selection
- selectionArgs- selection arguments
- groupBy- group by
- having- having
- orderBy- order by
- Returns:
- result
- Since:
- 2.0.0
 
 - 
querypublic abstract TResult query(boolean distinct, String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) Query the given table, returning aUserCoreResultover the result set.- Parameters:
- distinct- distinct rows
- table- table name
- columns- columns
- columnsAs- columns as values
- selection- selection
- selectionArgs- selection arguments
- groupBy- group by
- having- having
- orderBy- order by
- Returns:
- result
- Since:
- 4.0.0
 
 - 
querypublic abstract TResult query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) Query the given URL, returning aUserCoreResultover the result set.- Parameters:
- table- table name
- columns- columns
- selection- selection
- selectionArgs- selection arguments
- groupBy- group by
- having- having
- orderBy- order by
- limit- query limit
- Returns:
- result
 
 - 
querypublic abstract TResult query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) Query the given URL, returning aUserCoreResultover the result set.- Parameters:
- distinct- distinct rows
- table- table name
- columns- columns
- selection- selection
- selectionArgs- selection arguments
- groupBy- group by
- having- having
- orderBy- order by
- limit- query limit
- Returns:
- result
- Since:
- 4.0.0
 
 - 
querypublic abstract TResult query(String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) Query the given URL, returning aUserCoreResultover the result set.- Parameters:
- table- table name
- columns- columns
- columnsAs- columns as values
- selection- selection
- selectionArgs- selection arguments
- groupBy- group by
- having- having
- orderBy- order by
- limit- query limit
- Returns:
- result
- Since:
- 2.0.0
 
 - 
querypublic abstract TResult query(boolean distinct, String table, String[] columns, String[] columnsAs, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) Query the given URL, returning aUserCoreResultover the result set.- Parameters:
- distinct- distinct rows
- table- table name
- columns- columns
- columnsAs- columns as values
- selection- selection
- selectionArgs- selection arguments
- groupBy- group by
- having- having
- orderBy- order by
- limit- query limit
- Returns:
- result
- Since:
- 4.0.0
 
 - 
querySQLpublic abstract String querySQL(String table, String[] columns, String selection, String groupBy, String having, String orderBy) Build the query SQL- Parameters:
- table- table name
- columns- columns
- selection- selection
- groupBy- group by
- having- having
- orderBy- order by
- Returns:
- SQL
- Since:
- 3.4.0
 
 - 
querySQLpublic abstract String querySQL(boolean distinct, String table, String[] columns, String selection, String groupBy, String having, String orderBy) Build the query SQL- Parameters:
- distinct- distinct rows
- table- table name
- columns- columns
- selection- selection
- groupBy- group by
- having- having
- orderBy- order by
- Returns:
- SQL
- Since:
- 4.0.0
 
 - 
querySQLpublic abstract String querySQL(String table, String[] columns, String[] columnsAs, String selection, String groupBy, String having, String orderBy) Build the query SQL- Parameters:
- table- table name
- columns- columns
- columnsAs- columns as values
- selection- selection
- groupBy- group by
- having- having
- orderBy- order by
- Returns:
- SQL
- Since:
- 3.4.0
 
 - 
querySQLpublic abstract String querySQL(boolean distinct, String table, String[] columns, String[] columnsAs, String selection, String groupBy, String having, String orderBy) Build the query SQL- Parameters:
- distinct- distinct rows
- table- table name
- columns- columns
- columnsAs- columns as values
- selection- selection
- groupBy- group by
- having- having
- orderBy- order by
- Returns:
- SQL
- Since:
- 4.0.0
 
 - 
querySQLpublic abstract String querySQL(String table, String[] columns, String selection, String groupBy, String having, String orderBy, String limit) Build the query SQL- Parameters:
- table- table name
- columns- columns
- selection- selection
- groupBy- group by
- having- having
- orderBy- order by
- limit- query limit
- Returns:
- SQL
- Since:
- 3.4.0
 
 - 
querySQLpublic abstract String querySQL(boolean distinct, String table, String[] columns, String selection, String groupBy, String having, String orderBy, String limit) Build the query SQL- Parameters:
- distinct- distinct rows
- table- table name
- columns- columns
- selection- selection
- groupBy- group by
- having- having
- orderBy- order by
- limit- query limit
- Returns:
- SQL
- Since:
- 4.0.0
 
 - 
querySQLpublic abstract String querySQL(String table, String[] columns, String[] columnsAs, String selection, String groupBy, String having, String orderBy, String limit) Build the query SQL- Parameters:
- table- table name
- columns- columns
- columnsAs- columns as values
- selection- selection
- groupBy- group by
- having- having
- orderBy- order by
- limit- query limit
- Returns:
- SQL
- Since:
- 3.4.0
 
 - 
querySQLpublic abstract String querySQL(boolean distinct, String table, String[] columns, String[] columnsAs, String selection, String groupBy, String having, String orderBy, String limit) Build the query SQL- Parameters:
- distinct- distinct rows
- table- table name
- columns- columns
- columnsAs- columns as values
- selection- selection
- groupBy- group by
- having- having
- orderBy- order by
- limit- query limit
- Returns:
- SQL
- Since:
- 4.0.0
 
 
- 
 
-