Skip navigation links
A B C D E F G H I L M P Q R S T V W 

A

add(String, Object) - Method in class com.pyranid.StatementMetadata.Builder
 
addPostCommitOperation(Runnable) - Method in class com.pyranid.Transaction
 
addPostRollbackOperation(Runnable) - Method in class com.pyranid.Transaction
 
asMap() - Method in class com.pyranid.StatementMetadata
 

B

batchSize() - Method in class com.pyranid.StatementLog
The size of the batch operation.
batchSize(Optional<Integer>) - Method in class com.pyranid.StatementLog.Builder
Specifies the size of the batch operation.
bind(PreparedStatement, List<Object>) - Method in class com.pyranid.DefaultPreparedStatementBinder
 
bind(PreparedStatement, List<Object>) - Method in interface com.pyranid.PreparedStatementBinder
Binds parameters to a SQL prepared statement.
build() - Method in class com.pyranid.Database.Builder
 
build() - Method in class com.pyranid.StatementLog.Builder
Constructs a StatementLog instance.
build() - Method in class com.pyranid.StatementMetadata.Builder
 
Builder() - Constructor for class com.pyranid.StatementMetadata.Builder
 

C

column() - Method in exception com.pyranid.DatabaseException
 
com.pyranid - package com.pyranid
Pyranid is a minimalist JDBC interface for modern Java applications.
connectionAcquisitionTime(Optional<Long>) - Method in class com.pyranid.StatementLog.Builder
Specifies how long it took to acquire a Connection from the DataSource, in nanoseconds.
connectionAcquisitionTime() - Method in class com.pyranid.StatementLog
How long did it take to acquire a Connection from the DataSource, in nanoseconds?
constraint() - Method in exception com.pyranid.DatabaseException
 
createSavepoint() - Method in class com.pyranid.Transaction
 
currentTransaction() - Method in class com.pyranid.Database
 

D

Database - Class in com.pyranid
 
Database.Builder - Class in com.pyranid
 
DatabaseColumn - Annotation Type in com.pyranid
Allows specification of alternate column names for resultset mapping.
DatabaseException - Exception in com.pyranid
Thrown when an error occurs when interacting with a Database.
DatabaseException(String) - Constructor for exception com.pyranid.DatabaseException
Creates a DatabaseException with the given message.
DatabaseException(Throwable) - Constructor for exception com.pyranid.DatabaseException
Creates a DatabaseException which wraps the given cause.
DatabaseException(String, Throwable) - Constructor for exception com.pyranid.DatabaseException
Creates a DatabaseException which wraps the given cause.
DatabaseType - Enum in com.pyranid
Identifies different types of databases, which allows for special platform-specific handling.
datatype() - Method in exception com.pyranid.DatabaseException
 
dbmsMessage() - Method in exception com.pyranid.DatabaseException
 
DefaultInstanceProvider - Class in com.pyranid
Basic implementation of InstanceProvider which uses Class.newInstance().
DefaultInstanceProvider() - Constructor for class com.pyranid.DefaultInstanceProvider
 
DefaultPreparedStatementBinder - Class in com.pyranid
Basic implementation of PreparedStatementBinder.
DefaultPreparedStatementBinder(DatabaseType) - Constructor for class com.pyranid.DefaultPreparedStatementBinder
Creates a PreparedStatementBinder for the given databaseType.
DefaultResultSetMapper - Class in com.pyranid
Basic implementation of ResultSetMapper.
DefaultResultSetMapper(DatabaseType, InstanceProvider) - Constructor for class com.pyranid.DefaultResultSetMapper
Creates a ResultSetMapper for the given databaseType and instanceProvider.
DefaultStatementLogger - Class in com.pyranid
Basic implementation of StatementLogger which logs to "com.pyranid.SQL" at Level.FINE.
DefaultStatementLogger() - Constructor for class com.pyranid.DefaultStatementLogger
 
detail() - Method in exception com.pyranid.DatabaseException
 

E

equals(Object) - Method in class com.pyranid.StatementLog
 
equals(Object) - Method in class com.pyranid.StatementMetadata
 
errorCode() - Method in exception com.pyranid.DatabaseException
Shorthand for SQLException.getErrorCode() if this exception was caused by a SQLException.
exception(Optional<Exception>) - Method in class com.pyranid.StatementLog.Builder
Specifies the exception that occurred during SQL statement execution.
exception() - Method in class com.pyranid.StatementLog
The exception that occurred during SQL statement execution.
execute(String, Object...) - Method in class com.pyranid.Database
 
execute(String, StatementMetadata, Object...) - Method in class com.pyranid.Database
 
executeBatch(String, List<List<Object>>) - Method in class com.pyranid.Database
 
executeBatch(String, StatementMetadata, List<List<Object>>) - Method in class com.pyranid.Database
 
executeReturning(String, Class<T>, Object...) - Method in class com.pyranid.Database
 
executeReturning(String, StatementMetadata, Class<T>, Object...) - Method in class com.pyranid.Database
 
executionTime(Optional<Long>) - Method in class com.pyranid.StatementLog.Builder
Specifies how long it took to execute a SQL statement, in nanoseconds.
executionTime() - Method in class com.pyranid.StatementLog
How long did it take to execute the SQL statement, in nanoseconds?

F

file() - Method in exception com.pyranid.DatabaseException
 
forDataSource(DataSource) - Static method in class com.pyranid.Database
 
forSql(String) - Static method in class com.pyranid.StatementLog
Creates a StatementLog builder for the given sql.
fromDataSource(DataSource) - Static method in enum com.pyranid.DatabaseType
Determines the type of database to which the given dataSource connects.

G

get(String) - Method in class com.pyranid.StatementMetadata
 

H

hashCode() - Method in class com.pyranid.StatementLog
 
hashCode() - Method in class com.pyranid.StatementMetadata
 
hint() - Method in exception com.pyranid.DatabaseException
 

I

instanceProvider(InstanceProvider) - Method in class com.pyranid.Database.Builder
 
InstanceProvider - Interface in com.pyranid
Contract for a factory that creates instances given a type.
internalPosition() - Method in exception com.pyranid.DatabaseException
 
internalQuery() - Method in exception com.pyranid.DatabaseException
 
isRollbackOnly() - Method in class com.pyranid.Transaction
Should this transaction be rolled back upon completion?

L

line() - Method in exception com.pyranid.DatabaseException
 
log(StatementLog) - Method in class com.pyranid.DefaultStatementLogger
 
log(StatementLog) - Method in interface com.pyranid.StatementLogger
Performs a logging operation on the given statementLog.
LOGGER_LEVEL - Static variable in class com.pyranid.DefaultStatementLogger
The level of our logger.
LOGGER_NAME - Static variable in class com.pyranid.DefaultStatementLogger
The name of our logger.

M

map(ResultSet, Class<T>) - Method in class com.pyranid.DefaultResultSetMapper
 
map(ResultSet, Class<T>) - Method in interface com.pyranid.ResultSetMapper
Maps the current row of resultSet into an instance of resultClass.

P

parameters(List<Object>) - Method in class com.pyranid.StatementLog.Builder
The parameters bound to the SQL statement that was executed.
parameters() - Method in class com.pyranid.StatementLog
The parameters bound to the SQL statement that was executed.
participate(Transaction, TransactionalOperation) - Method in class com.pyranid.Database
 
participate(Transaction, ReturningTransactionalOperation<T>) - Method in class com.pyranid.Database
 
perform() - Method in interface com.pyranid.ReturningTransactionalOperation
Executes a transactional operation.
perform() - Method in interface com.pyranid.TransactionalOperation
Executes a transactional operation.
position() - Method in exception com.pyranid.DatabaseException
 
postCommitOperations() - Method in class com.pyranid.Transaction
 
postRollbackOperations() - Method in class com.pyranid.Transaction
 
preparationTime(Optional<Long>) - Method in class com.pyranid.StatementLog.Builder
Specifies how long it took to bind data to a PreparedStatement, in nanoseconds.
preparationTime() - Method in class com.pyranid.StatementLog
How long did it take to bind data to the PreparedStatement, in nanoseconds?
preparedStatementBinder(PreparedStatementBinder) - Method in class com.pyranid.Database.Builder
 
PreparedStatementBinder - Interface in com.pyranid
Contract for binding parameters to SQL prepared statements.
provide(Class<T>) - Method in class com.pyranid.DefaultInstanceProvider
 
provide(Class<T>) - Method in interface com.pyranid.InstanceProvider
Provides an instance of the given instanceClass.

Q

queryForList(String, Class<T>, Object...) - Method in class com.pyranid.Database
 
queryForList(String, StatementMetadata, Class<T>, Object...) - Method in class com.pyranid.Database
 
queryForObject(String, Class<T>, Object...) - Method in class com.pyranid.Database
 
queryForObject(String, StatementMetadata, Class<T>, Object...) - Method in class com.pyranid.Database
 

R

remove(String) - Method in class com.pyranid.StatementMetadata.Builder
 
removePostCommitOperation(Runnable) - Method in class com.pyranid.Transaction
 
removePostRollbackOperation(Runnable) - Method in class com.pyranid.Transaction
 
resultSetMapper(ResultSetMapper) - Method in class com.pyranid.Database.Builder
 
ResultSetMapper - Interface in com.pyranid
Contract for mapping a ResultSet row to a different type.
resultSetMappingTime(Optional<Long>) - Method in class com.pyranid.StatementLog.Builder
Specifies how long it took to extract data from a ResultSet, in nanoseconds.
resultSetMappingTime() - Method in class com.pyranid.StatementLog
How long did it take to extract data from the ResultSet, in nanoseconds?
ReturningTransactionalOperation<T> - Interface in com.pyranid
Represents a transactional operation capable of returning a value.
rollback(Savepoint) - Method in class com.pyranid.Transaction
 
routine() - Method in exception com.pyranid.DatabaseException
 

S

schema() - Method in exception com.pyranid.DatabaseException
 
setRollbackOnly(boolean) - Method in class com.pyranid.Transaction
 
severity() - Method in exception com.pyranid.DatabaseException
 
sql() - Method in class com.pyranid.StatementLog
The SQL statement that was executed.
sqlState() - Method in exception com.pyranid.DatabaseException
Shorthand for SQLException.getSQLState() if this exception was caused by a SQLException.
StatementLog - Class in com.pyranid
A collection of SQL statement execution diagnostics.
StatementLog.Builder - Class in com.pyranid
Builder for StatementLog instances.
statementLogger(StatementLogger) - Method in class com.pyranid.Database.Builder
 
StatementLogger - Interface in com.pyranid
Contract for handling database statements log events.
statementMetadata(Optional<StatementMetadata>) - Method in class com.pyranid.StatementLog.Builder
Specifies metadata associated with this SQL statement.
statementMetadata() - Method in class com.pyranid.StatementLog
The metadata associated with this SQL statement.
StatementMetadata - Class in com.pyranid
Application-specific metadata associated with a SQL statement.
StatementMetadata() - Constructor for class com.pyranid.StatementMetadata
 
StatementMetadata.Builder - Class in com.pyranid
 

T

table() - Method in exception com.pyranid.DatabaseException
 
toString() - Method in exception com.pyranid.DatabaseException
 
toString() - Method in class com.pyranid.StatementLog
 
toString() - Method in class com.pyranid.StatementMetadata
 
toString() - Method in class com.pyranid.Transaction
 
totalTime() - Method in class com.pyranid.StatementLog
How long did it take to perform the database operation in total?
transaction(TransactionalOperation) - Method in class com.pyranid.Database
 
transaction(ReturningTransactionalOperation<T>) - Method in class com.pyranid.Database
 
transaction(TransactionIsolation, ReturningTransactionalOperation<T>) - Method in class com.pyranid.Database
 
Transaction - Class in com.pyranid
 
TransactionalOperation - Interface in com.pyranid
Represents a transactional operation.
transactionIsolation() - Method in class com.pyranid.Transaction
 
TransactionIsolation - Enum in com.pyranid
Strategies for database locking during transactional operations.

V

valueOf(String) - Static method in enum com.pyranid.DatabaseType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.pyranid.TransactionIsolation
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.pyranid.DatabaseType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.pyranid.TransactionIsolation
Returns an array containing the constants of this enum type, in the order they are declared.

W

where() - Method in exception com.pyranid.DatabaseException
 
with(String, Object) - Static method in class com.pyranid.StatementMetadata
 
A B C D E F G H I L M P Q R S T V W 
Skip navigation links

Copyright © 2018. All rights reserved.