Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- getAllColumnNamesFromResultSet(ResultSet) - Static method in class com.blackrook.sql.SQL
-
Returns the names of the columns in a ResultSet in the order that they appear in the result.
- getArrayDimensions(Class<?>) - Static method in class com.blackrook.sql.struct.Utils
-
Gets how many dimensions that this array, represented by the provided type, has.
- getArrayDimensions(Object) - Static method in class com.blackrook.sql.struct.Utils
-
Gets how many array dimensions that an object (presumably an array) has.
- getArrayType(Class<?>) - Static method in class com.blackrook.sql.struct.Utils
-
Gets the class type of this array type, if this is an array type.
- getArrayType(Object) - Static method in class com.blackrook.sql.struct.Utils
-
Gets the class type of this array, if this is an array.
- getAvailableConnection() - Method in class com.blackrook.sql.SQLPool
-
Retrieves an available connection from the pool.
- getAvailableConnection(long) - Method in class com.blackrook.sql.SQLPool
-
Retrieves an available connection from the pool.
- getAvailableConnectionCount() - Method in class com.blackrook.sql.SQLPool
-
Gets the number of available connections.
- getBoolean(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the boolean value of a column.
- getBoolean(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the boolean value of a column.
- getByte(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the byte value of a column.
- getByte(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the byte value of a column.
- getByteArray(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the byte array value of a column, if this can be represented as such (usually
Blob
s). - getByteArray(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the byte array value of a column, if this can be represented as such (usually
Blob
s). - getColumnNames() - Method in class com.blackrook.sql.SQLResult
-
Gets the names of the columns.
- getConnection() - Method in class com.blackrook.sql.SQLConnector
-
Returns a new, opened JDBC Connection using the credentials stored with this connector.
- getConnectionAnd(long, SQLConnectionConsumer) - Method in class com.blackrook.sql.SQLPool
-
Retrieves a connection from this pool, passes it to the provided
SQLConnectionConsumer
function, calls it, then returns it to the pool. - getConnectionAnd(long, SQLConnectionFunction<R>) - Method in class com.blackrook.sql.SQLPool
-
Retrieves a connection from this pool, passes it to the provided
SQLConnectionFunction
, calls it, returns it to the pool, and returns the result. - getConnectionAnd(SQLConnectionConsumer) - Method in class com.blackrook.sql.SQLConnector
-
Creates a connection, passes it to the provided
SQLConnectionConsumer
function, then closes it. - getConnectionAnd(SQLConnectionConsumer) - Method in class com.blackrook.sql.SQLPool
-
Retrieves a connection from this pool, passes it to the provided
SQLConnectionConsumer
function, then returns it to the pool. - getConnectionAnd(SQLConnectionFunction<R>) - Method in class com.blackrook.sql.SQLConnector
-
Creates a connection, passes it to the provided
SQLConnectionFunction
, calls it, closes it, and returns the result. - getConnectionAnd(SQLConnectionFunction<R>) - Method in class com.blackrook.sql.SQLPool
-
Retrieves a connection from this pool, passes it to the provided
SQLConnectionFunction
, calls it, returns it to the pool, and returns the result. - getDate(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the Date value of the object, or null if not a Date.
- getDate(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the Date value of the object, or null if not a Date.
- getDouble(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the double value of a column.
- getDouble(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the double value of a column.
- getEnumInstance(String, Class<T>) - Static method in class com.blackrook.sql.struct.Utils
-
Returns the enum instance of a class given class and name, or null if not a valid name.
- getFieldValue(Object, Field) - Static method in class com.blackrook.sql.struct.Utils
-
Gets the value of a field on an object.
- getFloat(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the float value of a column.
- getFloat(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the float value of a column.
- getId() - Method in class com.blackrook.sql.SQLResult
- getIds() - Method in class com.blackrook.sql.SQLResult
- getInt(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the integer value of a column.
- getInt(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the integer value of a column.
- getJDBCURL() - Method in class com.blackrook.sql.SQLConnector
-
Returns the full JDBC URL for this specific connector.
- getLong(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the long value of a column.
- getLong(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the long value of a column.
- getNull(int) - Method in class com.blackrook.sql.SQLRow
-
Gets if a column's value is null.
- getNull(String) - Method in class com.blackrook.sql.SQLRow
-
Gets if a column's value is null.
- getResult(Class<T>, String, Object...) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a query and creates objects from the resultant rows, setting relevant fields on them.
- getResult(Class<T>, String, Object...) - Method in class com.blackrook.sql.SQLConnection
- getResult(Class<T>, String, Object...) - Method in class com.blackrook.sql.SQLConnection.Transaction
- getResult(String, Object...) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a query that returns rows and extracts them into a result.
- getResult(String, Object...) - Method in class com.blackrook.sql.SQLConnection
- getResult(String, Object...) - Method in class com.blackrook.sql.SQLConnection.Transaction
- getResult(Connection, Class<T>, String, Object...) - Static method in class com.blackrook.sql.SQL
-
Performs a query on a connection and creates objects from it, setting relevant fields.
- getResult(Connection, String, Object...) - Static method in class com.blackrook.sql.SQL
-
Performs a query on a connection and extracts the data into a SQLResult.
- getRow() - Method in class com.blackrook.sql.SQLResult
-
Gets the first row, or only row in this result, or null if no rows.
- getRow(Class<T>, String, Object...) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a query and creates an object from it from the first result row extracted, setting relevant fields.
- getRow(Class<T>, String, Object...) - Method in class com.blackrook.sql.SQLConnection
- getRow(Class<T>, String, Object...) - Method in class com.blackrook.sql.SQLConnection.Transaction
- getRow(String, Object...) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a query and extracts the first row result into a single
SQLRow
. - getRow(String, Object...) - Method in class com.blackrook.sql.SQLConnection
- getRow(String, Object...) - Method in class com.blackrook.sql.SQLConnection.Transaction
- getRow(Connection, Class<T>, String, Object...) - Static method in class com.blackrook.sql.SQL
-
Performs a query on a connection and creates an object from it from the first row, setting relevant fields.
- getRow(Connection, String, Object...) - Static method in class com.blackrook.sql.SQL
-
Performs a query on a connection and extracts the data into a single SQLRow.
- getRowCount() - Method in class com.blackrook.sql.SQLResult
-
Gets the amount of affected/returned rows from this query.
- getRows() - Method in class com.blackrook.sql.SQLResult
-
Retrieves the rows from the query result.
- getShort(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the short value of a column.
- getShort(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the short value of a column.
- getSQLException() - Method in exception com.blackrook.sql.util.SQLRuntimeException
- getString(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the string value of a column.
- getString(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the string value of a column.
- getTimestamp(int) - Method in class com.blackrook.sql.SQLRow
-
Gets the Timestamp value of the object, or null if not a Timestamp or Date.
- getTimestamp(String) - Method in class com.blackrook.sql.SQLRow
-
Gets the Timestamp value of the object, or null if not a Timestamp or Date.
- getTotalConnectionCount() - Method in class com.blackrook.sql.SQLPool
-
Gets the number of total connections.
- getTransaction(Connection, SQLConnection.TransactionLevel) - Static method in class com.blackrook.sql.SQL
-
Starts a transaction with a provided level.
- getTransactionAnd(Connection, SQLConnection.TransactionLevel, SQLTransactionConsumer) - Static method in class com.blackrook.sql.SQL
-
Starts a transaction with a provided level, performs actions on it, then auto-closes it.
- getTransactionAnd(Connection, SQLConnection.TransactionLevel, SQLTransactionFunction<R>) - Static method in class com.blackrook.sql.SQL
-
Starts a transaction with a provided level, performs actions on it, returns a value, then auto-closes it.
- getUpdateBatch(String, int, Object[][]) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateBatch(String, int, Collection<Object[]>) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateBatch(String, int, Collection<Object[]>) - Method in class com.blackrook.sql.SQLConnection
- getUpdateBatch(String, int, Collection<Object[]>) - Method in class com.blackrook.sql.SQLConnection.Transaction
- getUpdateBatch(String, Object[][]) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateBatch(String, Collection<Object[]>) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateBatch(Connection, String, int, Object[][]) - Static method in class com.blackrook.sql.SQL
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateBatch(Connection, String, int, Collection<Object[]>) - Static method in class com.blackrook.sql.SQL
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateBatch(Connection, String, Object[][]) - Static method in class com.blackrook.sql.SQL
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateBatch(Connection, String, Collection<Object[]>) - Static method in class com.blackrook.sql.SQL
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateBatchResult(String, Object[][]) - Method in interface com.blackrook.sql.SQLCallable
-
Performs an update query (INSERT, DELETE, UPDATE, or other commands that do not return rows) and extracts each set of result data into a SQLResult.
- getUpdateBatchResult(String, Collection<Object[]>) - Method in interface com.blackrook.sql.SQLCallable
-
Performs an update query (INSERT, DELETE, UPDATE, or other commands that do not return rows) and extracts each set of result data into a SQLResult.
- getUpdateBatchResult(String, Collection<Object[]>) - Method in class com.blackrook.sql.SQLConnection
- getUpdateBatchResult(String, Collection<Object[]>) - Method in class com.blackrook.sql.SQLConnection.Transaction
- getUpdateBatchResult(Connection, String, Object[][]) - Static method in class com.blackrook.sql.SQL
-
Performs an update query (INSERT, DELETE, UPDATE, or other commands that do not return rows) and extracts each set of result data into a SQLResult.
- getUpdateBatchResult(Connection, String, Collection<Object[]>) - Static method in class com.blackrook.sql.SQL
-
Performs an update query (INSERT, DELETE, UPDATE, or other commands that do not return rows) and extracts each set of result data into a SQLResult.
- getUpdateLargeBatch(String, int, Object[][]) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateLargeBatch(String, int, Collection<Object[]>) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateLargeBatch(String, int, Collection<Object[]>) - Method in class com.blackrook.sql.SQLConnection
- getUpdateLargeBatch(String, int, Collection<Object[]>) - Method in class com.blackrook.sql.SQLConnection.Transaction
- getUpdateLargeBatch(String, Object[][]) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateLargeBatch(String, Collection<Object[]>) - Method in interface com.blackrook.sql.SQLCallable
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateLargeBatch(Connection, String, int, Object[][]) - Static method in class com.blackrook.sql.SQL
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateLargeBatch(Connection, String, int, Collection<Object[]>) - Static method in class com.blackrook.sql.SQL
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateLargeBatch(Connection, String, Object[][]) - Static method in class com.blackrook.sql.SQL
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateLargeBatch(Connection, String, Collection<Object[]>) - Static method in class com.blackrook.sql.SQL
-
Performs a series of update queries on a single statement on a connection and returns the batch result.
- getUpdateResult(String, Object...) - Method in interface com.blackrook.sql.SQLCallable
-
Performs an update query (INSERT, DELETE, UPDATE, or other commands that do not return rows) and extracts the data/affected data/generated data into a SQLResult.
- getUpdateResult(String, Object...) - Method in class com.blackrook.sql.SQLConnection
- getUpdateResult(String, Object...) - Method in class com.blackrook.sql.SQLConnection.Transaction
- getUpdateResult(Connection, String, Object...) - Static method in class com.blackrook.sql.SQL
-
Performs an update query (INSERT, DELETE, UPDATE, or other commands that do not return rows) on a connection and extracts the data/affected data/generated data into a SQLResult.
- getUsedConnectionCount() - Method in class com.blackrook.sql.SQLPool
-
Gets the number of connections in use.
- GREATER - Enum constant in enum class com.blackrook.sql.SQLAbstractDAO.Operator
-
Greater Than
- GREATER_EQUAL - Enum constant in enum class com.blackrook.sql.SQLAbstractDAO.Operator
-
Greater Than or Equal
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form