Index
All Classes|All Packages|Constant Field Values|Serialized Form
A
- ADD_COLUMN - Static variable in class io.github.pigaut.sql.StatementTemplate
- addBatch() - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- addBatch() - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Adds a batch operation to the statement.
- addColumn(String, String) - Method in interface io.github.pigaut.sql.Database
- addColumn(String, String) - Method in class io.github.pigaut.sql.database.FileDatabase
- addOption(StatementOption) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- addOption(StatementOption) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Adds an option to the statement.
- apply(PreparedStatement) - Method in interface io.github.pigaut.sql.database.statement.StatementOption
C
- clearOptions() - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- clearOptions() - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Removes all options for this statement.
- clearTable(String) - Method in interface io.github.pigaut.sql.Database
- clearTable(String) - Method in class io.github.pigaut.sql.database.FileDatabase
- closeConnection() - Method in interface io.github.pigaut.sql.Database
- closeConnection() - Method in class io.github.pigaut.sql.database.FileDatabase
- CREATE_TABLE_IF_NOT_EXISTS - Static variable in class io.github.pigaut.sql.StatementTemplate
- createDatabase(File) - Static method in class io.github.pigaut.sql.SQLib
- createDatabase(File, String) - Static method in class io.github.pigaut.sql.SQLib
- createDataSource(File) - Static method in class io.github.pigaut.sql.SQLib
- createDataSource(String, String, String, String, String) - Static method in class io.github.pigaut.sql.SQLib
- createStatement(String) - Method in interface io.github.pigaut.sql.Database
-
Creates a statement for this database with the given sql
- createStatement(String) - Method in class io.github.pigaut.sql.database.FileDatabase
- createTableIfNotExists(String, String...) - Method in interface io.github.pigaut.sql.Database
- createTableIfNotExists(String, String...) - Method in class io.github.pigaut.sql.database.FileDatabase
D
- Database - Interface in io.github.pigaut.sql
- DatabaseException - Exception in io.github.pigaut.sql
- DatabaseException(String, Throwable) - Constructor for exception io.github.pigaut.sql.DatabaseException
- DatabaseStatement - Interface in io.github.pigaut.sql
- DROP_TABLE - Static variable in class io.github.pigaut.sql.StatementTemplate
- dropTable(String) - Method in interface io.github.pigaut.sql.Database
- dropTable(String) - Method in class io.github.pigaut.sql.database.FileDatabase
E
- execute() - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- execute() - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Executes the SQL statement.
- execute(String) - Method in interface io.github.pigaut.sql.Database
-
Executes a SQL statement against the database.
- execute(String) - Method in class io.github.pigaut.sql.database.FileDatabase
- executeBatch() - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- executeBatch() - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Executes a batch of SQL statements.
- executeLargeBatch() - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- executeLargeBatch() - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Executes a large batch of SQL statements.
- executeLargeUpdate() - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- executeLargeUpdate() - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Executes a large update SQL statement.
- executeLargeUpdate(String) - Method in interface io.github.pigaut.sql.Database
-
Executes a large update SQL statement that may modify the database.
- executeLargeUpdate(String) - Method in class io.github.pigaut.sql.database.FileDatabase
- executeQuery(QueryReader) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- executeQuery(QueryReader) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Executes a query SQL statement and processes the results with a QueryReader.
- executeQuery(String, QueryReader) - Method in interface io.github.pigaut.sql.Database
-
Executes an SQL query and processes the results using a QueryReader.
- executeQuery(String, QueryReader) - Method in class io.github.pigaut.sql.database.FileDatabase
- executeRowQuery(String, QueryReader) - Method in interface io.github.pigaut.sql.Database
-
Executes an SQL query and processes the results using a QueryReader.
- executeRowQuery(String, QueryReader) - Method in class io.github.pigaut.sql.database.FileDatabase
- executeUpdate() - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- executeUpdate() - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Executes an update SQL statement.
- executeUpdate(String) - Method in interface io.github.pigaut.sql.Database
-
Executes an SQL statement that may modify the database (such as INSERT, UPDATE, DELETE).
- executeUpdate(String) - Method in class io.github.pigaut.sql.database.FileDatabase
F
- fetchAllRows(QueryReader) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- fetchAllRows(QueryReader) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Fetches all rows from the result set.
- fetchRow(QueryReader) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- fetchRow(QueryReader) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Fetches the first row from the result set.
- FileDatabase - Class in io.github.pigaut.sql.database
- FileDatabase(File) - Constructor for class io.github.pigaut.sql.database.FileDatabase
G
- getDataSource() - Method in class io.github.pigaut.sql.database.FileDatabase
- getDataSource() - Method in interface io.github.pigaut.sql.Database
-
Retrieves the DataSource associated with this database.
I
- insert(String, String...) - Method in class io.github.pigaut.sql.database.FileDatabase
- insert(String, String...) - Method in interface io.github.pigaut.sql.Database
- INSERT_COLUMNS - Static variable in class io.github.pigaut.sql.StatementTemplate
- io.github.pigaut.sql - package io.github.pigaut.sql
- io.github.pigaut.sql.database - package io.github.pigaut.sql.database
- io.github.pigaut.sql.database.statement - package io.github.pigaut.sql.database.statement
- isConnected() - Method in class io.github.pigaut.sql.database.FileDatabase
- isConnected() - Method in interface io.github.pigaut.sql.Database
M
- merge(String, String, String...) - Method in class io.github.pigaut.sql.database.FileDatabase
- merge(String, String, String...) - Method in interface io.github.pigaut.sql.Database
- MERGE_COLUMNS - Static variable in class io.github.pigaut.sql.StatementTemplate
O
- openConnection() - Method in class io.github.pigaut.sql.database.FileDatabase
- openConnection() - Method in interface io.github.pigaut.sql.Database
Q
- QueryReader - Interface in io.github.pigaut.sql.database.statement
R
- read(ResultSet) - Method in interface io.github.pigaut.sql.database.statement.QueryReader
- RENAME_COLUMN - Static variable in class io.github.pigaut.sql.StatementTemplate
- RENAME_TABLE - Static variable in class io.github.pigaut.sql.StatementTemplate
- renameColumn(String, String, String) - Method in class io.github.pigaut.sql.database.FileDatabase
- renameColumn(String, String, String) - Method in interface io.github.pigaut.sql.Database
- renameTable(String, String) - Method in class io.github.pigaut.sql.database.FileDatabase
- renameTable(String, String) - Method in interface io.github.pigaut.sql.Database
- replace(String, String) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- replace(String, String) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Replaces a placeholder in the SQL statement with a specific value.
S
- SELECT_ALL - Static variable in class io.github.pigaut.sql.StatementTemplate
- selectAll(String) - Method in class io.github.pigaut.sql.database.FileDatabase
- selectAll(String) - Method in interface io.github.pigaut.sql.Database
- SimpleDatabaseStatement - Class in io.github.pigaut.sql.database.statement
- SimpleDatabaseStatement(Database, String) - Constructor for class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- SQLib - Class in io.github.pigaut.sql
- StatementOption - Interface in io.github.pigaut.sql.database.statement
- StatementTemplate - Class in io.github.pigaut.sql
T
- TRUNCATE - Static variable in class io.github.pigaut.sql.StatementTemplate
W
- withNullParameter() - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withNullParameter() - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as NULL.
- withParameter(boolean) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(boolean) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as a boolean value.
- withParameter(byte) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(byte) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as a byte value.
- withParameter(double) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(double) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as a double value.
- withParameter(float) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(float) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as a float value.
- withParameter(int) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(int) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as an integer value.
- withParameter(long) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(long) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as a long value.
- withParameter(short) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(short) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as a short value.
- withParameter(InputStream) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(InputStream) - Method in interface io.github.pigaut.sql.DatabaseStatement
- withParameter(Object) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(Object) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement with a specified object.
- withParameter(Object, int) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(Object, int) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement with a specified object and SQL type.
- withParameter(String) - Method in class io.github.pigaut.sql.database.statement.SimpleDatabaseStatement
- withParameter(String) - Method in interface io.github.pigaut.sql.DatabaseStatement
-
Sets a parameter in the statement as a string value.
All Classes|All Packages|Constant Field Values|Serialized Form