Class TableQuery
java.lang.Object
com.github.darksoulq.abyssallib.common.database.relational.AbstractTableQuery<TableQuery>
com.github.darksoulq.abyssallib.common.database.relational.sql.TableQuery
A SQLite-specific implementation of
AbstractTableQuery.
Provides support for SQLite-specific verbs and allows transition into batch query operations.-
Constructor Summary
ConstructorsConstructorDescriptionTableQuery(Connection conn, String table, ExecutorService asyncPool) Constructs a new TableQuery for SQLite. -
Method Summary
Modifier and TypeMethodDescriptionTransitions this query into a batch operation for the current table.Methods inherited from class AbstractTableQuery
count, delete, execute, executeAsync, exists, first, insert, limit, offset, orderBy, replace, select, select, selectAsync, selectAsync, update, value, where
-
Constructor Details
-
TableQuery
Constructs a new TableQuery for SQLite.- Parameters:
conn- The JDBCConnection.table- The name of the table to query.asyncPool- TheExecutorServicefor asynchronous operations.
-
-
Method Details
-
batch
Transitions this query into a batch operation for the current table.- Parameters:
columns- The column names to be included in the batch.- Returns:
- A new
BatchQueryinstance for the current table.
-