Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACQUIRE_CONNECTION - Enum constant in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Connection acquisition from the configured DataSource failed.
addPostTransactionOperation(Consumer) - Method in class com.pyranid.Transaction
Adds an operation to the list of operations to be executed when the transaction completes.
ambiguousTimestampBindingStrategy(AmbiguousTimestampBindingStrategy) - Method in class com.pyranid.Database.Builder
Configures how Pyranid binds Instant and OffsetDateTime parameters when JDBC parameter metadata cannot identify whether the target is TIMESTAMP or TIMESTAMP WITH TIME ZONE.
AmbiguousTimestampBindingStrategy - Enum Class in com.pyranid
Controls how Instant and OffsetDateTime parameters are bound when JDBC ParameterMetaData cannot identify whether the target column is TIMESTAMP or TIMESTAMP WITH TIME ZONE.
appliesTo(TargetType) - Method in interface com.pyranid.CustomColumnMapper
Specifies which types this mapper should handle.
appliesTo(TargetType) - Method in interface com.pyranid.CustomParameterBinder
Specifies which types this custom binder should handle.
arrayOf(Class, Object) - Static method in class com.pyranid.Parameters
Acquires a parameter of array type, preserving element type information so it is accessible at runtime.
arrayOf(Class, E[]) - Static method in class com.pyranid.Parameters
Acquires a parameter of array type, preserving element type information so it is accessible at runtime.

B

batchChunkSize(Integer) - Method in interface com.pyranid.Query
Configures the maximum number of parameter groups to send in each JDBC batch execution.
batchSize(Integer) - Method in class com.pyranid.StatementLog.Builder
Specifies the size of the batch operation.
BINARY - Enum constant in enum class com.pyranid.JsonParameter.BindingPreference
Prefer a binary/native JSON type when available (for example, JSONB for PostgreSQL), otherwise falls back to JsonParameter.BindingPreference.TEXT.
bind(StatementContext, PreparedStatement, Integer, Object) - Method in interface com.pyranid.CustomParameterBinder
Performs custom binding of a PreparedStatement value given a value and its index when CustomParameterBinder.appliesTo(TargetType) is true.
bind(String, Object) - Method in interface com.pyranid.Query
Binds a named parameter to a value.
bindAll(Map) - Method in interface com.pyranid.Query
Binds all entries from the given map as named parameters.
bindNull(StatementContext, PreparedStatement, Integer, TargetType, Integer) - Method in interface com.pyranid.CustomParameterBinder
Performs custom binding of a null value given its index and targetType.
bindParameter(StatementContext, PreparedStatement, Integer, Object) - Method in interface com.pyranid.PreparedStatementBinder
Binds a single parameter to a SQL prepared statement.
build() - Method in class com.pyranid.Database.Builder
 
build() - Method in class com.pyranid.ResultSetMapper.Builder
Constructs a default ResultSetMapper instance.
build() - Method in class com.pyranid.StatementContext.Builder
 
build() - Method in class com.pyranid.StatementLog.Builder
Constructs a StatementLog instance.
build() - Method in class com.pyranid.TransactionOptions.Builder
Builds transaction options.

C

CALLBACK_FAILURE - Enum constant in enum class com.pyranid.MetricsCollector.StreamTerminalOutcome
The caller-provided stream callback failed.
com.pyranid - package com.pyranid
This package contains the set of all Pyranid types.
COMMITTED - Enum constant in enum class com.pyranid.MetricsCollector.TransactionClosureOutcome
The transaction used a physical JDBC transaction and commit completed normally.
COMMITTED - Enum constant in enum class com.pyranid.TransactionResult
Commit completed successfully.
COMPLETED_NORMALLY - Enum constant in enum class com.pyranid.MetricsCollector.StreamTerminalOutcome
Stream iteration reached the end of the result set and cleanup completed without an iteration or callback failure.
connectionAcquisitionDuration(Duration) - Method in class com.pyranid.StatementLog.Builder
Specifies how long it took to acquire a Connection from the DataSource.
connectionReleaseFailuresStatementScope() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the connectionReleaseFailuresStatementScope record component.
connectionReleaseFailuresTransactionScope() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the connectionReleaseFailuresTransactionScope record component.
connectionsAcquiredStatementScope() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the connectionsAcquiredStatementScope record component.
connectionsAcquiredTransactionScope() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the connectionsAcquiredTransactionScope record component.
connectionsFailedStatementScope() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the connectionsFailedStatementScope record component.
connectionsFailedTransactionScope() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the connectionsFailedTransactionScope record component.
createSavepoint() - Method in class com.pyranid.Transaction
Creates a transaction savepoint that can be rolled back to via Transaction.rollback(Savepoint).
currentTransaction() - Method in class com.pyranid.Database
Gets a reference to the current transaction, if any.
CustomColumnMapper - Interface in com.pyranid
Enables per-column ResultSet mapping customization via ResultSetMapper.
CustomColumnMapper.MappingResult - Class in com.pyranid
Result of a custom column mapping attempt.
customColumnMappers(List) - Method in class com.pyranid.ResultSetMapper.Builder
Specifies a List of custom column-specific mapping logic to apply, in priority order.
customize(PreparedStatementCustomizer) - Method in interface com.pyranid.Query
Customizes the PreparedStatement before execution.
customize(StatementContext, PreparedStatement) - Method in interface com.pyranid.PreparedStatementCustomizer
Applies customization to the prepared statement before execution.
CustomParameterBinder - Interface in com.pyranid
Enables PreparedStatement parameter binding customization via PreparedStatementBinder.
CustomParameterBinder.BindingResult - Class in com.pyranid
Result of a custom parameter binding attempt.

D

Database - Class in com.pyranid
Main class for performing database access operations.
Database.Builder - Class in com.pyranid
Builder used to construct instances of Database.
DatabaseColumn - Annotation Interface in com.pyranid
Allows specification of alternate column names for resultset mapping.
DatabaseException - Exception Class in com.pyranid
Thrown when an error occurs when interacting with a Database.
DatabaseException(String) - Constructor for exception class com.pyranid.DatabaseException
Creates a DatabaseException with the given message.
DatabaseException(String, Throwable) - Constructor for exception class com.pyranid.DatabaseException
Creates a DatabaseException which wraps the given cause.
DatabaseException(Throwable) - Constructor for exception class com.pyranid.DatabaseException
Creates a DatabaseException which wraps the given cause.
DatabaseMetaDataReader - Interface in com.pyranid
Functional interface used by Database.readDatabaseMetaData(DatabaseMetaDataReader), which permits callers to examine a transient DatabaseMetaData instance.
databaseType(DatabaseType) - Method in class com.pyranid.Database.Builder
Overrides automatic database type detection.
DatabaseType - Enum Class in com.pyranid
Identifies different types of databases, which allows for special platform-specific handling.
deadlock() - Static method in interface com.pyranid.RetryPolicy.Condition
Creates a condition that retries deadlocks.
DEFAULT - Enum constant in enum class com.pyranid.TransactionIsolation
Default isolation (DBMS-specific).
DEFAULT_PLAN_CACHE_CAPACITY - Static variable in interface com.pyranid.ResultSetMapper
Default maximum number of cached row-mapping plans per result class.
DEFAULT_PREFERRED_COLUMN_MAPPER_CACHE_CAPACITY - Static variable in interface com.pyranid.ResultSetMapper
Default maximum number of cached preferred custom column mappers per source class.
delayAfterFailedAttempt(Integer, DatabaseException) - Method in interface com.pyranid.RetryPolicy.Backoff
Determines how long to wait after a failed attempt before the next retry.
didAcquireStatementConnection(StatementContext, Duration) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully acquires a statement-scoped Connection.
didAcquireTransactionConnection(Transaction, DatabaseType, Duration) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully acquires the JDBC connection backing a physical transaction.
didBeginPhysicalTransaction(Transaction, TransactionIsolation, DatabaseType) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully begins a physical JDBC transaction.
didCloseStream(StatementContext, MetricsCollector.StreamTerminalOutcome, Long, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after an opened stream reaches a terminal state.
didCommitPhysicalTransaction(Transaction, DatabaseType, Duration) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully commits a physical JDBC transaction.
didCreateSavepoint(Transaction, DatabaseType) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully creates a transaction savepoint.
didEnterTransactionClosure(Transaction, TransactionIsolation, DatabaseType) - Method in interface com.pyranid.MetricsCollector
Called when Pyranid enters a closure-based transaction.
didExecuteStatement(StatementContext, StatementLog, StatementResult) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully executes a statement.
didExitTransactionClosure(Transaction, MetricsCollector.TransactionClosureOutcome, DatabaseType, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called when Pyranid exits a closure-based transaction.
didFailToAcquireStatementConnection(StatementContext, DatabaseType, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails to acquire a statement-scoped Connection.
didFailToAcquireTransactionConnection(Transaction, DatabaseType, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails to acquire the JDBC connection backing a physical transaction.
didFailToBeginPhysicalTransaction(Transaction, TransactionIsolation, MetricsCollector.PhysicalTransactionBeginFailurePhase, DatabaseType, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails while beginning a physical JDBC transaction.
didFailToCommitPhysicalTransaction(Transaction, DatabaseType, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails to commit a physical JDBC transaction.
didFailToExecuteStatement(StatementContext, StatementLog, DatabaseType, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails to execute a statement.
didFailToOpenStream(StatementContext, DatabaseType, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails to open a streaming statement.
didFailToReleaseStatementConnection(StatementContext, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails to release a statement-scoped Connection.
didFailToReleaseTransactionConnection(Transaction, DatabaseType, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails to release the JDBC connection backing a physical transaction.
didFailToRollbackPhysicalTransaction(Transaction, DatabaseType, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid fails to roll back a physical JDBC transaction.
didOpenStream(StatementContext, Duration) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully opens a streaming statement.
didReleaseSavepoint(Transaction, DatabaseType) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully releases a transaction savepoint.
didReleaseStatementConnection(StatementContext, Duration) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully releases a statement-scoped Connection.
didReleaseTransactionConnection(Transaction, DatabaseType, Duration) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully releases the JDBC connection backing a physical transaction.
didRollbackPhysicalTransaction(Transaction, DatabaseType, Duration) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully rolls back a physical JDBC transaction.
didRollbackToSavepoint(Transaction, DatabaseType) - Method in interface com.pyranid.MetricsCollector
Called after Pyranid successfully rolls back to a transaction savepoint.
didRunPostTransactionOperation(Transaction, TransactionResult, DatabaseType, Duration, Throwable) - Method in interface com.pyranid.MetricsCollector
Called after a post-transaction operation runs.
disabledInstance() - Static method in interface com.pyranid.MetricsCollector
Returns the shared no-op metrics collector.

E

EARLY_CLOSE - Enum constant in enum class com.pyranid.MetricsCollector.StreamTerminalOutcome
The stream was closed before all rows were consumed.
empty() - Static method in record class com.pyranid.StatementResult
A singleton result for statements with no row-count information.
equals(Object) - Method in record class com.pyranid.MetricsCollector.Snapshot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.pyranid.Statement
 
equals(Object) - Method in class com.pyranid.StatementContext
 
equals(Object) - Method in class com.pyranid.StatementLog
 
equals(Object) - Method in record class com.pyranid.StatementResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.pyranid.TransactionOptions
 
exception(Exception) - Method in class com.pyranid.StatementLog.Builder
Specifies the exception that occurred during SQL statement execution.
execute() - Method in interface com.pyranid.Query
Executes a DML statement (INSERT, UPDATE, DELETE) with no resultset.
executeBatch(List) - Method in interface com.pyranid.Query
Executes a DML statement in batch over groups of named parameters.
executeForList(Class) - Method in interface com.pyranid.Query
Executes a DML statement that returns multiple rows (for example, with PostgreSQL/SQLite/MariaDB RETURNING or SQL Server OUTPUT).
executeForObject(Class) - Method in interface com.pyranid.Query
Executes a DML statement that returns a single row (for example, with PostgreSQL/SQLite/MariaDB RETURNING or SQL Server OUTPUT).
executeReturningGeneratedKey(Class) - Method in interface com.pyranid.Query
Executes a DML statement and maps a single JDBC-generated key row.
executeReturningGeneratedKey(Class, String...) - Method in interface com.pyranid.Query
Executes a DML statement and maps a single JDBC-generated key row.
executeReturningGeneratedKeys(Class) - Method in interface com.pyranid.Query
Executes a DML statement and maps all JDBC-generated key rows.
executeReturningGeneratedKeys(Class, String...) - Method in interface com.pyranid.Query
Executes a DML statement and maps all JDBC-generated key rows.
executionDuration(Duration) - Method in class com.pyranid.StatementLog.Builder
Specifies how long it took to execute a SQL statement.
exponential(Duration, Duration) - Static method in interface com.pyranid.RetryPolicy.Backoff
Creates an exponential backoff.

F

FAILED - Enum constant in enum class com.pyranid.MetricsCollector.TransactionClosureOutcome
The transaction failed before Pyranid could report a normal commit or rollback outcome.
fallback() - Static method in class com.pyranid.CustomColumnMapper.MappingResult
Indicates that this mapper did not map a custom value and prefers to fall back to the behavior of the registered ResultSetMapper.
fallback() - Static method in class com.pyranid.CustomParameterBinder.BindingResult
Indicates that this mapper did not bind a custom value and prefers to fall back to the behavior of the registered PreparedStatementBinder.
fetchList(Class) - Method in interface com.pyranid.Query
Executes the query and returns all results as a list.
fetchObject(Class) - Method in interface com.pyranid.Query
Executes the query and returns a single result.
fetchSize(Integer) - Method in class com.pyranid.Database.Builder
Configures a database-wide JDBC fetch size default.
fetchSize(Integer) - Method in interface com.pyranid.Query
Configures the JDBC fetch size for this query.
fetchStream(Class, Function) - Method in interface com.pyranid.Query
Executes the query and provides a Stream backed by the underlying ResultSet.
fixed(Duration) - Static method in interface com.pyranid.RetryPolicy.Backoff
Creates a fixed backoff.
fromConnection(Connection) - Static method in enum class com.pyranid.DatabaseType
Determines the type of database represented by the given connection.
fromDataSource(DataSource) - Static method in enum class com.pyranid.DatabaseType
Determines the type of database to which the given dataSource connects.

G

GENERIC - Enum constant in enum class com.pyranid.DatabaseType
A database which requires no special handling.
getAmbiguousTimestampBindingStrategy() - Method in class com.pyranid.Database
How should Pyranid bind Instant and OffsetDateTime parameters when JDBC parameter metadata cannot identify whether the target is TIMESTAMP or TIMESTAMP WITH TIME ZONE?
getAmbiguousTimestampBindingStrategy() - Method in class com.pyranid.StatementContext
How should Pyranid bind Instant and OffsetDateTime parameters when JDBC parameter metadata cannot identify whether the target is TIMESTAMP or TIMESTAMP WITH TIME ZONE?
getArrayComponentType() - Method in interface com.pyranid.TargetType
 
getAttemptCount() - Method in class com.pyranid.TransactionRetryResult
Gets the number of transaction attempts, including the successful final attempt.
getBackoff() - Method in class com.pyranid.RetryPolicy
Gets the retry backoff.
getBaseTypeName() - Method in interface com.pyranid.SqlArrayParameter
Gets the element type of this SQL ARRAY, which corresponds to the value of java.sql.Array#getBaseTypeName() and is database-specific.
getBatchSize() - Method in class com.pyranid.StatementLog
The size of the batch operation.
getBindingPreference() - Method in interface com.pyranid.JsonParameter
Gets how the JSON should be bound (automatic, binary, text).
getColumn() - Method in exception class com.pyranid.DatabaseException
 
getCondition() - Method in class com.pyranid.RetryPolicy
Gets the retry condition.
getConnectionAcquisitionDuration() - Method in class com.pyranid.StatementLog
How long did it take to acquire a Connection from the DataSource?
getConstraint() - Method in exception class com.pyranid.DatabaseException
 
getDatabaseType() - Method in class com.pyranid.Database
Gets the database type for this database.
getDatabaseType() - Method in class com.pyranid.StatementContext
Gets the database type for this statement.
getDatatype() - Method in exception class com.pyranid.DatabaseException
 
getDbmsMessage() - Method in exception class com.pyranid.DatabaseException
 
getDetail() - Method in exception class com.pyranid.DatabaseException
 
getElements() - Method in interface com.pyranid.InListParameter
Gets the elements to be expanded into SQL IN list placeholders.
getElements() - Method in interface com.pyranid.SqlArrayParameter
Gets the elements of this SQL ARRAY.
getElements() - Method in interface com.pyranid.VectorParameter
Gets the elements of this vector.
getErrorCode() - Method in exception class com.pyranid.DatabaseException
Shorthand for SQLException.getErrorCode() if this exception was caused by a SQLException.
getException() - Method in class com.pyranid.StatementLog
The exception that occurred during SQL statement execution.
getExecutionDuration() - Method in class com.pyranid.StatementLog
How long did it take to execute the SQL statement?
getExplicitType() - Method in interface com.pyranid.TypedParameter
Gets the full type information for this parameter, including how it's parameterized.
getFailures() - Method in class com.pyranid.TransactionRetryResult
Gets the failed attempts that were retried before the transaction eventually succeeded.
getFile() - Method in exception class com.pyranid.DatabaseException
 
getHint() - Method in exception class com.pyranid.DatabaseException
 
getId() - Method in class com.pyranid.Statement
 
getInternalPosition() - Method in exception class com.pyranid.DatabaseException
 
getInternalQuery() - Method in exception class com.pyranid.DatabaseException
 
getIsolation() - Method in class com.pyranid.TransactionOptions
Gets the transaction isolation level.
getJson() - Method in interface com.pyranid.JsonParameter
Gets the "stringified" JSON.
getLine() - Method in exception class com.pyranid.DatabaseException
 
getListElementType() - Method in interface com.pyranid.TargetType
 
getMapKeyType() - Method in interface com.pyranid.TargetType
 
getMapValueType() - Method in interface com.pyranid.TargetType
 
getMask() - Method in interface com.pyranid.SecureParameter
Gets the safe display value Pyranid should render in diagnostics.
getMaxAttempts() - Method in class com.pyranid.RetryPolicy
Gets the total number of attempts, including the initial attempt.
getMetricsCollector() - Method in class com.pyranid.Database
 
getParameterRedactor() - Method in class com.pyranid.Database
Gets the configured redactor used for non-secure parameters in diagnostics.
getParameters() - Method in class com.pyranid.StatementContext
 
getPosition() - Method in exception class com.pyranid.DatabaseException
 
getPostTransactionOperations() - Method in class com.pyranid.Transaction
Gets an unmodifiable list of post-transaction operations.
getPreparationDuration() - Method in class com.pyranid.StatementLog
How long did it take to bind data to the PreparedStatement?
getRawClass() - Method in interface com.pyranid.TargetType
Raw class, with erasure (List.class for List<UUID>, etc.)
getReadOnly() - Method in class com.pyranid.TransactionOptions
Gets the read-only setting to apply, if any.
getRedactedParameters() - Method in class com.pyranid.StatementContext
Gets this statement's parameters rendered for diagnostics.
getResultSetMappingDuration() - Method in class com.pyranid.StatementLog
How long did it take to extract data from the ResultSet?
getResultSetRowType() - Method in class com.pyranid.StatementContext
 
getRoutine() - Method in exception class com.pyranid.DatabaseException
 
getSchema() - Method in exception class com.pyranid.DatabaseException
 
getSetElementType() - Method in interface com.pyranid.TargetType
 
getSeverity() - Method in exception class com.pyranid.DatabaseException
 
getSql() - Method in class com.pyranid.Statement
 
getSqlState() - Method in exception class com.pyranid.DatabaseException
Shorthand for SQLException.getSQLState() if this exception was caused by a SQLException.
getStatement() - Method in class com.pyranid.StatementContext
 
getStatementContext() - Method in class com.pyranid.StatementLog
The SQL statement that was executed.
getTable() - Method in exception class com.pyranid.DatabaseException
 
getTimeZone() - Method in class com.pyranid.Database
 
getTimeZone() - Method in class com.pyranid.StatementContext
 
getTotalDuration() - Method in class com.pyranid.StatementLog
How long did it take to perform the database operation in total?
getTransactionIsolation() - Method in class com.pyranid.Transaction
Get the isolation level for this transaction.
getTransactionOptions() - Method in class com.pyranid.Transaction
Gets the options used to create this transaction.
getTransactionResult() - Method in exception class com.pyranid.PostTransactionOperationException
 
getType() - Method in interface com.pyranid.TargetType
The original reflective type (Class, ParameterizedType, etc.)
getTypeArguments() - Method in interface com.pyranid.TargetType
All type arguments wrapped (empty for raw/non-parameterized).
getValue() - Method in interface com.pyranid.SecureParameter
Gets the value to bind.
getValue() - Method in class com.pyranid.TransactionRetryResult
Gets the value returned by the successful transaction attempt.
getValue() - Method in interface com.pyranid.TypedParameter
Gets the value of this parameter.
getWhere() - Method in exception class com.pyranid.DatabaseException
 

H

handled() - Static method in class com.pyranid.CustomParameterBinder.BindingResult
Indicates that this mapper successfully bound a custom value.
hashCode() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns a hash code value for this object.
hashCode() - Method in class com.pyranid.Statement
 
hashCode() - Method in class com.pyranid.StatementContext
 
hashCode() - Method in class com.pyranid.StatementLog
 
hashCode() - Method in record class com.pyranid.StatementResult
Returns a hash code value for this object.
hashCode() - Method in class com.pyranid.TransactionOptions
 

I

id(Object) - Method in interface com.pyranid.Query
Associates an identifier with this query for logging/diagnostics.
IN_DOUBT - Enum constant in enum class com.pyranid.TransactionResult
Pyranid attempted to commit the transaction, but the commit call failed, so the final database outcome is unknown.
inList(boolean[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a boolean[] array.
inList(byte[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a byte[] array.
inList(char[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a char[] array.
inList(double[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a double[] array.
inList(float[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a float[] array.
inList(int[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using an int[] array.
inList(long[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a long[] array.
inList(short[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a short[] array.
inList(E[]) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a Java array.
inList(Collection) - Static method in class com.pyranid.Parameters
Acquires a parameter for SQL IN list expansion using a Collection.
InListParameter - Interface in com.pyranid
Encapsulates a parameter intended for SQL IN list expansion.
inMemoryInstance() - Static method in interface com.pyranid.MetricsCollector
Creates a fresh in-memory counter collector.
instanceProvider(InstanceProvider) - Method in class com.pyranid.Database.Builder
 
InstanceProvider - Interface in com.pyranid
Contract for a factory that creates instances given a type.
isArray() - Method in interface com.pyranid.TargetType
 
isDeadlock() - Method in exception class com.pyranid.DatabaseException
Determines if this exception is recognized as a deadlock.
isForeignKeyViolation() - Method in exception class com.pyranid.DatabaseException
Determines if this exception is recognized as a foreign-key violation.
isList() - Method in interface com.pyranid.TargetType
 
isMap() - Method in interface com.pyranid.TargetType
 
isolation(TransactionIsolation) - Method in class com.pyranid.TransactionOptions.Builder
Configures the transaction isolation level.
isRollbackOnly() - Method in class com.pyranid.Transaction
Should this transaction be rolled back upon completion?
isSerializationFailure() - Method in exception class com.pyranid.DatabaseException
Determines if this exception is recognized as a serialization failure.
isSet() - Method in interface com.pyranid.TargetType
 
isTimeout() - Method in exception class com.pyranid.DatabaseException
Determines if this exception is recognized as a timeout or cancellation.
isTransient() - Method in exception class com.pyranid.DatabaseException
Determines if this exception is recognized as transient.
isUniqueConstraintViolation() - Method in exception class com.pyranid.DatabaseException
Determines if this exception is recognized as a unique constraint violation.
ITERATION_FAILURE - Enum constant in enum class com.pyranid.MetricsCollector.StreamTerminalOutcome
Result-set iteration failed while the stream was open.

J

json(String) - Static method in class com.pyranid.Parameters
Acquires a JSON parameter for "stringified" JSON, using JsonParameter.BindingPreference.BINARY.
json(String, JsonParameter.BindingPreference) - Static method in class com.pyranid.Parameters
Acquires a JSON parameter for "stringified" JSON.
JsonParameter - Interface in com.pyranid
Encapsulates PreparedStatement parameter data meant to be bound to a DBMS-specific type (for example, JSON or JSONB for PostgreSQL) by PreparedStatementBinder.
JsonParameter.BindingPreference - Enum Class in com.pyranid
Specifies how a JsonParameter should be bound: binary (for example, JSONB for PostgreSQL), or text.

L

listOf(Class, List) - Static method in class com.pyranid.Parameters
Acquires a parameter of type List, preserving type information so it is accessible at runtime.
log(StatementLog) - Method in interface com.pyranid.StatementLogger
Performs a logging operation on the given statementLog.

M

map(StatementContext, ResultSet, Object, TargetType, Integer, String, InstanceProvider) - Method in interface com.pyranid.CustomColumnMapper
Perform custom mapping of a ResultSet column: given a resultSetValue, optionally return an instance of targetType instead.
map(StatementContext, ResultSet, Class, InstanceProvider) - Method in interface com.pyranid.ResultSetMapper
Maps the current row of resultSet to the result class indicated by statementContext.
mapOf(Class, Class, Map) - Static method in class com.pyranid.Parameters
Acquires a parameter of type Map, preserving key and value type information so they are accessible at runtime.
MARIA_DB - Enum constant in enum class com.pyranid.DatabaseType
A MariaDB database.
matchesClass(Class) - Method in interface com.pyranid.TargetType
 
matchesParameterizedType(Class, Class...) - Method in interface com.pyranid.TargetType
Does this instance match the given raw class and its parameterized type arguments?
maxRows(Integer) - Method in class com.pyranid.Database.Builder
Configures a database-wide JDBC maximum row count default.
maxRows(Integer) - Method in interface com.pyranid.Query
Configures the JDBC maximum row count for this query.
metricsCollector(MetricsCollector) - Method in class com.pyranid.Database.Builder
Configures the metrics collector for the Database being built.
MetricsCollector - Interface in com.pyranid
Contract for collecting operational metrics from Pyranid.
MetricsCollector.PhysicalTransactionBeginFailurePhase - Enum Class in com.pyranid
Physical transaction begin phase that failed.
MetricsCollector.Snapshot - Record Class in com.pyranid
Counter snapshot for collectors that support in-process inspection.
MetricsCollector.StreamTerminalOutcome - Enum Class in com.pyranid
Terminal outcome for an opened stream.
MetricsCollector.TransactionClosureOutcome - Enum Class in com.pyranid
Logical outcome for a closure-based transaction.
MYSQL - Enum constant in enum class com.pyranid.DatabaseType
A MySQL database.

N

NO_PHYSICAL_TX - Enum constant in enum class com.pyranid.MetricsCollector.TransactionClosureOutcome
The transaction closure exited without ever acquiring a JDBC connection.
none() - Static method in interface com.pyranid.ParameterRedactor
Acquires the default redactor, which renders non-secure values verbatim for non-batch executions.
normalizationLocale(Locale) - Method in class com.pyranid.ResultSetMapper.Builder
Specifies the locale to use when massaging JDBC column names for matching against Java property names.

O

of(Object, String) - Static method in class com.pyranid.Statement
Factory method for providing Statement instances.
of(Object) - Static method in class com.pyranid.CustomColumnMapper.MappingResult
Indicates a successfully-mapped custom value.
of(Type) - Static method in interface com.pyranid.TargetType
 
ofMaxAttempts(Integer, RetryPolicy.Backoff, RetryPolicy.Condition) - Static method in class com.pyranid.RetryPolicy
Creates a retry policy.
ofRowsAffected(Long) - Static method in record class com.pyranid.StatementResult
Creates a result with affected-row information.
ofRowsReturned(Long) - Static method in record class com.pyranid.StatementResult
Creates a result with returned-row information.
OPEN_FAILURE - Enum constant in enum class com.pyranid.MetricsCollector.StreamTerminalOutcome
The stream failed before it opened.
ORACLE - Enum constant in enum class com.pyranid.DatabaseType
An Oracle database.

P

parameterRedactor(ParameterRedactor) - Method in class com.pyranid.Database.Builder
Configures the redactor used for non-secure parameters in diagnostics.
ParameterRedactor - Interface in com.pyranid
Converts non-secure bound parameter values into safe display values for diagnostics.
parameters(Object...) - Method in class com.pyranid.StatementContext.Builder
 
parameters(List) - Method in class com.pyranid.StatementContext.Builder
 
Parameters - Class in com.pyranid
Fluent interface for acquiring instances of specialized parameter types.
parsedSqlCacheCapacity(Integer) - Method in class com.pyranid.Database.Builder
Configures the size of the parsed SQL cache.
participate(Transaction, ReturningTransactionalOperation) - Method in class com.pyranid.Database
Performs an operation in the context of a pre-existing transaction, optionally returning a value.
participate(Transaction, TransactionalOperation) - Method in class com.pyranid.Database
Performs an operation in the context of a pre-existing transaction.
perform() - Method in interface com.pyranid.ReturningTransactionalOperation
Executes a transactional operation.
perform() - Method in interface com.pyranid.TransactionalOperation
Executes a transactional operation.
perform(Connection) - Method in interface com.pyranid.RawConnectionOperation
Performs raw JDBC work with the provided connection.
performHealthCheck(Duration) - Method in class com.pyranid.Database
Performs a portable connectivity check using JDBC Connection.isValid(int).
physicalTransactionsBeginFailed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the physicalTransactionsBeginFailed record component.
physicalTransactionsBegun() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the physicalTransactionsBegun record component.
physicalTransactionsCommitFailed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the physicalTransactionsCommitFailed record component.
physicalTransactionsCommitted() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the physicalTransactionsCommitted record component.
physicalTransactionsRollbackFailed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the physicalTransactionsRollbackFailed record component.
physicalTransactionsRolledBack() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the physicalTransactionsRolledBack record component.
planCacheCapacity(Integer) - Method in class com.pyranid.ResultSetMapper.Builder
Specifies the maximum number of row-mapping plans to cache per result class when plan caching is enabled.
planCachingEnabled(Boolean) - Method in class com.pyranid.ResultSetMapper.Builder
Specifies whether an internal "mapping plan" cache should be used to speed up ResultSet mapping.
POSTGRESQL - Enum constant in enum class com.pyranid.DatabaseType
A PostgreSQL database.
PostTransactionOperationException - Exception Class in com.pyranid
Thrown when a post-transaction operation fails.
PostTransactionOperationException(TransactionResult, Throwable) - Constructor for exception class com.pyranid.PostTransactionOperationException
Creates a PostTransactionOperationException for a failed post-transaction operation.
postTransactionOperationsFailed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the postTransactionOperationsFailed record component.
postTransactionOperationsRun() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the postTransactionOperationsRun record component.
preferredColumnMapperCacheCapacity(Integer) - Method in class com.pyranid.ResultSetMapper.Builder
Specifies the maximum number of cached preferred custom column mappers per source class.
preparationDuration(Duration) - Method in class com.pyranid.StatementLog.Builder
Specifies how long it took to bind data to a PreparedStatement.
preparedStatementBinder(PreparedStatementBinder) - Method in class com.pyranid.Database.Builder
 
PreparedStatementBinder - Interface in com.pyranid
Contract for binding parameters to SQL prepared statements.
PreparedStatementCustomizer - Interface in com.pyranid
Customizes a PreparedStatement before execution.
provide(StatementContext, Class) - Method in interface com.pyranid.InstanceProvider
Provides an instance of the given instanceType.
provideRecord(StatementContext, Class, Object...) - Method in interface com.pyranid.InstanceProvider
Provides an instance of the given recordType.
Pyranid is a zero-dependency JDBC interface for modern Java applications. - Section in Overview
 

Q

query(String) - Method in class com.pyranid.Database
Creates a fluent builder for executing SQL.
Query - Interface in com.pyranid
Fluent builder for SQL statements.
queryTimeout(Duration) - Method in class com.pyranid.Database.Builder
Configures a database-wide JDBC query timeout default.
queryTimeout(Duration) - Method in interface com.pyranid.Query
Configures the JDBC query timeout for this query.

R

RawConnectionOperation<T> - Interface in com.pyranid
Performs raw JDBC work with a Connection managed by Database.useRawConnection(RawConnectionOperation).
read(DatabaseMetaData) - Method in interface com.pyranid.DatabaseMetaDataReader
Examines a JDBC DatabaseMetaData, which provides comprehensive vendor-specific information about this database as a whole.
READ_COMMITTED - Enum constant in enum class com.pyranid.TransactionIsolation
READ_INITIAL_AUTOCOMMIT - Enum constant in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Reading the connection's initial autocommit setting failed.
READ_INITIAL_ISOLATION - Enum constant in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Reading the connection's initial transaction isolation failed.
READ_INITIAL_READ_ONLY - Enum constant in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Reading the connection's initial read-only setting failed.
READ_UNCOMMITTED - Enum constant in enum class com.pyranid.TransactionIsolation
readDatabaseMetaData(DatabaseMetaDataReader) - Method in class com.pyranid.Database
Exposes a temporary handle to JDBC DatabaseMetaData, which provides comprehensive vendor-specific information about this database as a whole.
readOnly(Boolean) - Method in class com.pyranid.TransactionOptions.Builder
Configures the transaction read-only setting.
redactAll() - Static method in interface com.pyranid.ParameterRedactor
Acquires a redactor that masks every non-secure value as <redacted>.
redactParameter(StatementContext, int, Object) - Method in interface com.pyranid.ParameterRedactor
Redacts a single non-secure parameter for diagnostics.
releaseSavepoint(Savepoint) - Method in class com.pyranid.Transaction
Releases the provided transaction savepoint.
removePostTransactionOperation(Consumer) - Method in class com.pyranid.Transaction
Removes an operation from the list of operations to be executed when the transaction completes.
REPEATABLE_READ - Enum constant in enum class com.pyranid.TransactionIsolation
reset() - Method in interface com.pyranid.MetricsCollector
Best-effort reset for test and ad-hoc use.
resultSetMapper(ResultSetMapper) - Method in class com.pyranid.Database.Builder
 
ResultSetMapper - Interface in com.pyranid
Contract for mapping a ResultSet row to the specified type.
ResultSetMapper.Builder - Class in com.pyranid
Builder used to construct a standard implementation of ResultSetMapper.
resultSetMappingDuration(Duration) - Method in class com.pyranid.StatementLog.Builder
Specifies how long it took to extract data from a ResultSet.
resultSetRowType(Class) - Method in class com.pyranid.StatementContext.Builder
 
RetryPolicy - Class in com.pyranid
Defines when and how Database.transactionWithRetry(RetryPolicy, TransactionalOperation) retries a transaction.
RetryPolicy.Backoff - Interface in com.pyranid
Determines how long to wait before retrying after a failed transaction attempt.
RetryPolicy.Condition - Interface in com.pyranid
Determines whether a failed transaction attempt should be retried.
ReturningTransactionalOperation<T> - Interface in com.pyranid
Represents a transactional operation capable of returning a value.
rollback(Savepoint) - Method in class com.pyranid.Transaction
Rolls back to the provided transaction savepoint.
ROLLED_BACK - Enum constant in enum class com.pyranid.MetricsCollector.TransactionClosureOutcome
The transaction used a physical JDBC transaction and rollback completed normally.
ROLLED_BACK - Enum constant in enum class com.pyranid.TransactionResult
Pyranid did not attempt to commit the transaction.
rowsAffected() - Method in record class com.pyranid.StatementResult
Returns the value of the rowsAffected record component.
rowsReturned() - Method in record class com.pyranid.StatementResult
Returns the value of the rowsReturned record component.

S

savepointsCreated() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the savepointsCreated record component.
savepointsReleased() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the savepointsReleased record component.
savepointsRolledBack() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the savepointsRolledBack record component.
secure(Object) - Static method in class com.pyranid.Parameters
Acquires a secure parameter with the default <redacted> diagnostics mask.
secure(Object, String) - Static method in class com.pyranid.Parameters
Acquires a secure parameter with a custom diagnostics mask.
SecureParameter - Interface in com.pyranid
Wraps a bound parameter value so Pyranid can mask it in diagnostics while still binding the underlying value normally.
SERIALIZABLE - Enum constant in enum class com.pyranid.TransactionIsolation
serializationFailure() - Static method in interface com.pyranid.RetryPolicy.Condition
Creates a condition that retries serialization failures.
serializationFailureOrDeadlock() - Static method in interface com.pyranid.RetryPolicy.Condition
Creates a condition that retries serialization failures and deadlocks.
SET_AUTOCOMMIT_FALSE - Enum constant in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Disabling autocommit for the transaction failed.
SET_ISOLATION - Enum constant in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Applying the requested transaction isolation failed.
SET_READ_ONLY - Enum constant in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Applying the requested read-only setting failed.
setOf(Class, Set) - Static method in class com.pyranid.Parameters
Acquires a parameter of type Set, preserving type information so it is accessible at runtime.
setRollbackOnly(Boolean) - Method in class com.pyranid.Transaction
Sets whether this transaction should be rolled back upon completion.
shouldRetry(DatabaseException) - Method in interface com.pyranid.RetryPolicy.Condition
Determines whether a failed transaction attempt should be retried.
snapshot() - Method in interface com.pyranid.MetricsCollector
Returns a counter snapshot if this collector supports in-process inspection.
Snapshot(Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long, Long) - Constructor for record class com.pyranid.MetricsCollector.Snapshot
Creates an instance of a Snapshot record class.
SQL_SERVER - Enum constant in enum class com.pyranid.DatabaseType
A Microsoft SQL Server database.
sqlArrayOf(String, E[]) - Static method in class com.pyranid.Parameters
Acquires a SQL ARRAY parameter for a native Java array given an appropriate java.sql.Array#getBaseTypeName().
sqlArrayOf(String, List) - Static method in class com.pyranid.Parameters
Acquires a SQL ARRAY parameter for a List given an appropriate java.sql.Array#getBaseTypeName().
SqlArrayParameter<E> - Interface in com.pyranid
Encapsulates PreparedStatement parameter data meant to be bound to a formal java.sql.Array type by PreparedStatementBinder.
SQLITE - Enum constant in enum class com.pyranid.DatabaseType
A SQLite database.
Statement - Class in com.pyranid
Represents a SQL statement and an identifier for it.
StatementContext<T> - Class in com.pyranid
Data that represents a SQL statement.
StatementContext.Builder<T> - Class in com.pyranid
Builder used to construct instances of StatementContext.
StatementLog<T> - Class in com.pyranid
A collection of SQL statement execution diagnostics.
StatementLog.Builder<T> - Class in com.pyranid
Builder used to construct instances of StatementLog.
statementLogger(StatementLogger) - Method in class com.pyranid.Database.Builder
Configures the statement logger for the Database being built.
StatementLogger - Interface in com.pyranid
Contract for handling database statement log events.
StatementResult - Record Class in com.pyranid
Statement row-count information observed by Pyranid.
StatementResult(Long, Long) - Constructor for record class com.pyranid.StatementResult
Creates an instance of a StatementResult record class.
statementsExecuted() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the statementsExecuted record component.
statementsFailed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the statementsFailed record component.
streamsCallbackFailed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the streamsCallbackFailed record component.
streamsClosedNormally() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the streamsClosedNormally record component.
streamsEarlyClosed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the streamsEarlyClosed record component.
streamsIterationFailed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the streamsIterationFailed record component.
streamsOpened() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the streamsOpened record component.
streamsOpenFailures() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the streamsOpenFailures record component.

T

TargetType - Interface in com.pyranid
A developer-friendly view over a reflective Type used by the ResultSet-mapping pipeline for standard ResultSetMapper instances.
TEXT - Enum constant in enum class com.pyranid.JsonParameter.BindingPreference
Prefer to bind as text (for example, VARCHAR/TEXT/NVARCHAR or JSON for PostgreSQL).
timeout() - Static method in interface com.pyranid.RetryPolicy.Condition
Creates a condition that retries timeouts and cancellations recognized by Pyranid.
TIMESTAMP_WITH_TIME_ZONE - Enum constant in enum class com.pyranid.AmbiguousTimestampBindingStrategy
Bind ambiguous Instant and OffsetDateTime parameters as TIMESTAMP WITH TIME ZONE.
TIMESTAMP_WITHOUT_TIME_ZONE - Enum constant in enum class com.pyranid.AmbiguousTimestampBindingStrategy
Bind ambiguous Instant and OffsetDateTime parameters as TIMESTAMP without time zone.
timeZone(ZoneId) - Method in class com.pyranid.Database.Builder
Configures the database time zone Pyranid should use when converting zone-less temporal values.
toString() - Method in exception class com.pyranid.DatabaseException
 
toString() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns a string representation of this record class.
toString() - Method in class com.pyranid.RetryPolicy
 
toString() - Method in class com.pyranid.Statement
 
toString() - Method in class com.pyranid.StatementContext
 
toString() - Method in class com.pyranid.StatementLog
 
toString() - Method in record class com.pyranid.StatementResult
Returns a string representation of this record class.
toString() - Method in class com.pyranid.Transaction
 
toString() - Method in class com.pyranid.TransactionOptions
 
transaction(ReturningTransactionalOperation) - Method in class com.pyranid.Database
Performs an operation transactionally and optionally returns a value.
transaction(TransactionalOperation) - Method in class com.pyranid.Database
Performs an operation transactionally.
transaction(TransactionOptions, ReturningTransactionalOperation) - Method in class com.pyranid.Database
Performs an operation transactionally with the given options, optionally returning a value.
transaction(TransactionOptions, TransactionalOperation) - Method in class com.pyranid.Database
Performs an operation transactionally with the given options.
Transaction - Class in com.pyranid
Represents a database transaction.
TransactionalOperation - Interface in com.pyranid
Represents an operation performed with a transactional context.
transactionClosuresCommitted() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the transactionClosuresCommitted record component.
transactionClosuresEntered() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the transactionClosuresEntered record component.
transactionClosuresExited() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the transactionClosuresExited record component.
transactionClosuresFailed() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the transactionClosuresFailed record component.
transactionClosuresNoPhysical() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the transactionClosuresNoPhysical record component.
transactionClosuresRolledBack() - Method in record class com.pyranid.MetricsCollector.Snapshot
Returns the value of the transactionClosuresRolledBack record component.
TransactionIsolation - Enum Class in com.pyranid
Strategies for database locking during transactional operations.
TransactionOptions - Class in com.pyranid
Options for a Pyranid-managed transaction.
TransactionOptions.Builder - Class in com.pyranid
Builder used to construct TransactionOptions.
TransactionResult - Enum Class in com.pyranid
Indicates the transaction result reported to post-transaction operations.
TransactionRetryResult<T> - Class in com.pyranid
transactionWithRetry(RetryPolicy, ReturningTransactionalOperation) - Method in class com.pyranid.Database
Performs an operation transactionally and optionally returns a value, retrying according to the given retry policy.
transactionWithRetry(RetryPolicy, TransactionalOperation) - Method in class com.pyranid.Database
Performs an operation transactionally, retrying according to the given retry policy.
transactionWithRetry(RetryPolicy, TransactionOptions, ReturningTransactionalOperation) - Method in class com.pyranid.Database
Performs an operation transactionally with the given options and optionally returns a value, retrying according to the given retry policy.
transactionWithRetry(RetryPolicy, TransactionOptions, TransactionalOperation) - Method in class com.pyranid.Database
Performs an operation transactionally with the given options, retrying according to the given retry policy.
TypedParameter - Interface in com.pyranid
Special "type carrier" which avoids generic type erasure at runtime when PreparedStatementBinder binds parameters to PreparedStatement.

U

useRawConnection(RawConnectionOperation) - Method in class com.pyranid.Database
Performs raw JDBC work with a Pyranid-managed Connection.

V

value() - Element in annotation interface com.pyranid.DatabaseColumn
 
valueOf(String) - Static method in enum class com.pyranid.AmbiguousTimestampBindingStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pyranid.DatabaseType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pyranid.JsonParameter.BindingPreference
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pyranid.MetricsCollector.StreamTerminalOutcome
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pyranid.MetricsCollector.TransactionClosureOutcome
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pyranid.TransactionIsolation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pyranid.TransactionResult
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.pyranid.AmbiguousTimestampBindingStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pyranid.DatabaseType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pyranid.JsonParameter.BindingPreference
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pyranid.MetricsCollector.PhysicalTransactionBeginFailurePhase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pyranid.MetricsCollector.StreamTerminalOutcome
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pyranid.MetricsCollector.TransactionClosureOutcome
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pyranid.TransactionIsolation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pyranid.TransactionResult
Returns an array containing the constants of this enum class, in the order they are declared.
vectorOfBigDecimals(List) - Static method in class com.pyranid.Parameters
Acquires a vector parameter for a List of BigDecimal.
vectorOfDoubles(double[]) - Static method in class com.pyranid.Parameters
Acquires a vector parameter for an array of double.
vectorOfDoubles(List) - Static method in class com.pyranid.Parameters
Acquires a vector parameter for a List of Double.
vectorOfFloats(float[]) - Static method in class com.pyranid.Parameters
Acquires a vector parameter for an array of float.
vectorOfFloats(List) - Static method in class com.pyranid.Parameters
Acquires a vector parameter for a List of Float.
VectorParameter - Interface in com.pyranid
Encapsulates PreparedStatement parameter data meant to be bound to a vector type (for example, PostgreSQL's pgvector), by PreparedStatementBinder.

W

wasRetried() - Method in class com.pyranid.TransactionRetryResult
Indicates whether at least one failed attempt was retried before success.
willAcquireStatementConnection(StatementContext) - Method in interface com.pyranid.MetricsCollector
Called immediately before Pyranid attempts to acquire a statement-scoped Connection.
willAcquireTransactionConnection(Transaction, DatabaseType) - Method in interface com.pyranid.MetricsCollector
Called immediately before Pyranid attempts to acquire the JDBC connection backing a physical transaction.
willExecuteStatement(StatementContext) - Method in interface com.pyranid.MetricsCollector
Called immediately before Pyranid executes a statement.
willOpenStream(StatementContext) - Method in interface com.pyranid.MetricsCollector
Called immediately before Pyranid opens a streaming statement.
with(Statement, Database) - Static method in class com.pyranid.StatementContext
 
withCustomColumnMappers(List) - Static method in interface com.pyranid.ResultSetMapper
Acquires a builder for a concrete implementation of this interface, specifying a List of custom column-specific mapping logic to apply, in priority order.
withCustomParameterBinders(List) - Static method in interface com.pyranid.PreparedStatementBinder
Acquires a concrete implementation of this interface, specifying "surgical" per-type custom parameter binders to apply in priority order.
withDataSource(DataSource) - Static method in class com.pyranid.Database
Provides a Database builder for the given DataSource.
withDefaultConfiguration() - Static method in interface com.pyranid.PreparedStatementBinder
Acquires a concrete implementation of this interface with out-of-the-box defaults.
withDefaultConfiguration() - Static method in interface com.pyranid.ResultSetMapper
Acquires a concrete implementation of this interface with out-of-the-box defaults.
withIsolation(TransactionIsolation) - Static method in class com.pyranid.TransactionOptions
Starts building transaction options with a transaction isolation level.
withNormalizationLocale(Locale) - Static method in interface com.pyranid.ResultSetMapper
Acquires a builder for a concrete implementation of this interface, specifying the locale to use when massaging JDBC column names for matching against Java property names.
withPlanCachingEnabled(Boolean) - Static method in interface com.pyranid.ResultSetMapper
Acquires a builder for a concrete implementation of this interface, specifying whether an internal "mapping plan" cache should be used to speed up ResultSet mapping.
withReadOnly(Boolean) - Static method in class com.pyranid.TransactionOptions
Starts building transaction options with a read-only setting.
withSavepoint(ReturningTransactionalOperation) - Method in class com.pyranid.Transaction
Performs an operation inside a transaction savepoint and optionally returns a value.
withSavepoint(TransactionalOperation) - Method in class com.pyranid.Transaction
Performs an operation inside a transaction savepoint.
withStatementContext(StatementContext) - Static method in class com.pyranid.StatementLog
Creates a StatementLog builder for the given statementContext.
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form