Class BatchQuery
java.lang.Object
com.github.darksoulq.abyssallib.common.database.relational.AbstractBatchQuery<BatchQuery>
com.github.darksoulq.abyssallib.common.database.relational.sql.BatchQuery
A SQLite-specific implementation of
AbstractBatchQuery.
This class provides the necessary SQL verbs for batch operations compatible with SQLite syntax.-
Constructor Summary
ConstructorsConstructorDescriptionBatchQuery(Connection connection, String table, ExecutorService asyncPool, String... columns) Constructs a new BatchQuery for SQLite. -
Method Summary
Methods inherited from class AbstractBatchQuery
add, execute, executeAsync, insert, insertIgnore, replace
-
Constructor Details
-
BatchQuery
public BatchQuery(Connection connection, String table, ExecutorService asyncPool, String... columns) Constructs a new BatchQuery for SQLite.- Parameters:
connection- The JDBCConnectionto the SQLite database.table- The name of the target table.asyncPool- TheExecutorServiceused for asynchronous execution.columns- The specific column names to be included in the batch operation.
-