Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addPostTransactionOperation(Consumer<TransactionResult>) - Method in class com.pyranid.Transaction
-
Adds an operation to the list of operations to be executed when the transaction completes.
- 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(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()
. - arrayOf(String, List<E>) - Static method in class com.pyranid.Parameters
-
Acquires a SQL ARRAY parameter for a
List
given an appropriatejava.sql.Array#getBaseTypeName()
. - ArrayParameter<E> - Interface in com.pyranid
-
Encapsulates
PreparedStatement
parameter data meant to be bound to a formaljava.sql.Array
type byPreparedStatementBinder
.
B
- 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 toJsonParameter.BindingPreference.TEXT
. - bind(StatementContext<?>, PreparedStatement, Integer, Object) - Method in interface com.pyranid.CustomParameterBinder
-
Performs custom binding of a
PreparedStatement
value given avalue
and itsindex
whenCustomParameterBinder.appliesTo(TargetType)
istrue
. - bindParameter(StatementContext<T>, 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.
C
- com.pyranid - package com.pyranid
-
This package contains the set of all Pyranid types.
- COMMITTED - Enum constant in enum class com.pyranid.TransactionResult
-
The transaction was successfully committed.
- connectionAcquisitionDuration(Duration) - Method in class com.pyranid.StatementLog.Builder
-
Specifies how long it took to acquire a
Connection
from theDataSource
. - 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 viaResultSetMapper
. - CustomColumnMapper.MappingResult - Class in com.pyranid
-
Result of a custom column mapping attempt.
- customColumnMappers(List<CustomColumnMapper>) - Method in class com.pyranid.ResultSetMapper.Builder
-
Specifies a
List
of custom column-specific mapping logic to apply, in priority order. - CustomParameterBinder - Interface in com.pyranid
-
Enables
PreparedStatement
parameter binding customization viaPreparedStatementBinder
. - 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 givenmessage
. - DatabaseException(String, Throwable) - Constructor for exception class com.pyranid.DatabaseException
-
Creates a
DatabaseException
which wraps the givencause
. - DatabaseException(Throwable) - Constructor for exception class com.pyranid.DatabaseException
-
Creates a
DatabaseException
which wraps the givencause
. - DatabaseMetaDataReader - Interface in com.pyranid
-
Functional interface used by
Database.readDatabaseMetaData(DatabaseMetaDataReader)
, which permits callers to examine a transientDatabaseMetaData
instance. - DatabaseType - Enum Class in com.pyranid
-
Identifies different types of databases, which allows for special platform-specific handling.
- DEFAULT - Enum constant in enum class com.pyranid.TransactionIsolation
-
Default isolation (DBMS-specific).
E
- equals(Object) - Method in class com.pyranid.Statement
- equals(Object) - Method in class com.pyranid.StatementContext
- equals(Object) - Method in class com.pyranid.StatementLog
- exception(Exception) - Method in class com.pyranid.StatementLog.Builder
-
Specifies the exception that occurred during SQL statement execution.
- execute(Statement, Object...) - Method in class com.pyranid.Database
-
Executes a SQL Data Manipulation Language (DML) statement, such as
INSERT
,UPDATE
, orDELETE
; or a SQL statement that returns nothing, such as a DDL statement. - execute(String, Object...) - Method in class com.pyranid.Database
-
Executes a SQL Data Manipulation Language (DML) statement, such as
INSERT
,UPDATE
, orDELETE
; or a SQL statement that returns nothing, such as a DDL statement. - executeBatch(Statement, List<List<Object>>) - Method in class com.pyranid.Database
-
Executes a SQL Data Manipulation Language (DML) statement, such as
INSERT
,UPDATE
, orDELETE
in "batch" over a set of parameter groups. - executeBatch(String, List<List<Object>>) - Method in class com.pyranid.Database
-
Executes a SQL Data Manipulation Language (DML) statement, such as
INSERT
,UPDATE
, orDELETE
in "batch" over a set of parameter groups. - executeForList(Statement, Class<T>, Object...) - Method in class com.pyranid.Database
-
Executes a SQL Data Manipulation Language (DML) statement, such as
INSERT
,UPDATE
, orDELETE
, which returns any number of rows, e.g. with Postgres/Oracle'sRETURNING
clause. - executeForList(String, Class<T>, Object...) - Method in class com.pyranid.Database
-
Executes a SQL Data Manipulation Language (DML) statement, such as
INSERT
,UPDATE
, orDELETE
, which returns any number of rows, e.g. with Postgres/Oracle'sRETURNING
clause. - executeForObject(Statement, Class<T>, Object...) - Method in class com.pyranid.Database
-
Executes a SQL Data Manipulation Language (DML) statement, such as
INSERT
,UPDATE
, orDELETE
, which returns 0 or 1 rows, e.g. with Postgres/Oracle'sRETURNING
clause. - executeForObject(String, Class<T>, Object...) - Method in class com.pyranid.Database
-
Executes a SQL Data Manipulation Language (DML) statement, such as
INSERT
,UPDATE
, orDELETE
, which returns 0 or 1 rows, e.g. with Postgres/Oracle'sRETURNING
clause. - executionDuration(Duration) - Method in class com.pyranid.StatementLog.Builder
-
Specifies how long it took to execute a SQL statement.
F
- 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
. - 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.
- getArrayComponentType() - Method in interface com.pyranid.TargetType
- getBaseTypeName() - Method in interface com.pyranid.ArrayParameter
-
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
- getConnectionAcquisitionDuration() - Method in class com.pyranid.StatementLog
-
How long did it take to acquire a
Connection
from theDataSource
? - getConstraint() - Method in exception class com.pyranid.DatabaseException
- getDatabaseType() - Method in class com.pyranid.Database
- getDatabaseType() - Method in class com.pyranid.StatementContext
- 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.ArrayParameter
-
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 aSQLException
. - 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.
- 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
- 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
- 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
forList<UUID>
, etc.) - 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 aSQLException
. - 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.
- 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.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 class com.pyranid.Statement
- hashCode() - Method in class com.pyranid.StatementContext
- hashCode() - Method in class com.pyranid.StatementLog
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.
- isArray() - Method in interface com.pyranid.TargetType
- isList() - Method in interface com.pyranid.TargetType
- isMap() - Method in interface com.pyranid.TargetType
- isRollbackOnly() - Method in class com.pyranid.Transaction
-
Should this transaction be rolled back upon completion?
- isSet() - Method in interface com.pyranid.TargetType
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
orJSONB
for PostgreSQL) byPreparedStatementBinder
. - 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<E>, List<E>) - 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 aresultSetValue
, optionally return an instance oftargetType
instead. - map(StatementContext<T>, ResultSet, Class<T>, InstanceProvider) - Method in interface com.pyranid.ResultSetMapper
-
Maps the current row of
resultSet
to the result class indicated bystatementContext
. - mapOf(Class<K>, Class<V>, Map<K, V>) - 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. - 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?
N
- 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) - Static method in class com.pyranid.CustomColumnMapper.MappingResult
-
Indicates a successfully-mapped custom value.
- of(Object, String) - Static method in class com.pyranid.Statement
-
Factory method for providing
Statement
instances. - of(Type) - Static method in interface com.pyranid.TargetType
- ORACLE - Enum constant in enum class com.pyranid.DatabaseType
-
An Oracle database.
P
- parameters(Object...) - Method in class com.pyranid.StatementContext.Builder
- parameters(List<Object>) - Method in class com.pyranid.StatementContext.Builder
- Parameters - Class in com.pyranid
-
Fluent interface for acquiring instances of specialized parameter types.
- participate(Transaction, ReturningTransactionalOperation<T>) - Method in class com.pyranid.Database
-
Performs an operation in the context of a pre-existing transaction, optionall 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.
- 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.
- 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.
- provide(StatementContext<T>, Class<T>) - Method in interface com.pyranid.InstanceProvider
-
Provides an instance of the given
instanceType
. - provideRecord(StatementContext<T>, Class<T>, 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. - Search tag in Overview
- Section
Q
- queryForList(Statement, Class<T>, Object...) - Method in class com.pyranid.Database
-
Performs a SQL query that is expected to return any number of result rows.
- queryForList(String, Class<T>, Object...) - Method in class com.pyranid.Database
-
Performs a SQL query that is expected to return any number of result rows.
- queryForObject(Statement, Class<T>, Object...) - Method in class com.pyranid.Database
-
Performs a SQL query that is expected to return 0 or 1 result rows.
- queryForObject(String, Class<T>, Object...) - Method in class com.pyranid.Database
-
Performs a SQL query that is expected to return 0 or 1 result rows.
R
- 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
-
Maps to JDBC value
Connection.TRANSACTION_READ_COMMITTED
. - READ_UNCOMMITTED - Enum constant in enum class com.pyranid.TransactionIsolation
-
Maps to JDBC value
Connection.TRANSACTION_READ_UNCOMMITTED
. - 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. - removePostTransactionOperation(Consumer<TransactionResult>) - 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
-
Maps to JDBC value
Connection.TRANSACTION_REPEATABLE_READ
. - 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<T>) - Method in class com.pyranid.StatementContext.Builder
- 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.TransactionResult
-
The transaction was rolled back.
S
- SERIALIZABLE - Enum constant in enum class com.pyranid.TransactionIsolation
-
Maps to JDBC value
Connection.TRANSACTION_SERIALIZABLE
. - setOf(Class<E>, Set<E>) - 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.
- 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
- StatementLogger - Interface in com.pyranid
-
Contract for handling database statement log events.
T
- TargetType - Interface in com.pyranid
-
A developer-friendly view over a reflective
Type
used by theResultSet
-mapping pipeline for standardResultSetMapper
instances. - TEXT - Enum constant in enum class com.pyranid.JsonParameter.BindingPreference
-
Prefer to bind as text (for example,
VARCHAR
/TEXT
/NVARCHAR
orJSON
for PostgreSQL). - timeZone(ZoneId) - Method in class com.pyranid.Database.Builder
- toString() - Method in exception class com.pyranid.DatabaseException
- toString() - Method in class com.pyranid.Statement
- toString() - Method in class com.pyranid.StatementContext
- toString() - Method in class com.pyranid.StatementLog
- toString() - Method in class com.pyranid.Transaction
- transaction(ReturningTransactionalOperation<T>) - 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(TransactionIsolation, ReturningTransactionalOperation<T>) - Method in class com.pyranid.Database
-
Performs an operation transactionally with the given isolation level, optionally returning a value.
- transaction(TransactionIsolation, TransactionalOperation) - Method in class com.pyranid.Database
-
Performs an operation transactionally with the given isolation level.
- Transaction - Class in com.pyranid
-
Represents a database transaction.
- TransactionalOperation - Interface in com.pyranid
-
Represents an operation performed with a transactional context.
- TransactionIsolation - Enum Class in com.pyranid
-
Strategies for database locking during transactional operations.
- TransactionResult - Enum Class in com.pyranid
-
Indicates whether a transaction was committed or rolled back.
- TypedParameter - Interface in com.pyranid
-
Special "type carrier" which avoids generic type erasure at runtime when
PreparedStatementBinder
binds parameters toPreparedStatement
.
V
- value() - Element in annotation interface com.pyranid.DatabaseColumn
- 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.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.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.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<BigDecimal>) - Static method in class com.pyranid.Parameters
-
Acquires a vector parameter for a
List
ofBigDecimal
. - vectorOfDoubles(double[]) - Static method in class com.pyranid.Parameters
-
Acquires a vector parameter for an array of
double
. - vectorOfDoubles(List<Double>) - Static method in class com.pyranid.Parameters
- vectorOfFloats(float[]) - Static method in class com.pyranid.Parameters
-
Acquires a vector parameter for an array of
float
. - vectorOfFloats(List<Float>) - Static method in class com.pyranid.Parameters
- VectorParameter - Interface in com.pyranid
-
Encapsulates
PreparedStatement
parameter data meant to be bound to a vector type (for example, PostgreSQL'spgvector
), byPreparedStatementBinder
.
W
- with(Statement, Database) - Static method in class com.pyranid.StatementContext
- withCustomColumnMappers(List<CustomColumnMapper>) - 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<CustomParameterBinder>) - Static method in interface com.pyranid.PreparedStatementBinder
-
Acquires a concrete implementation of this interface, specifying "surgical" per-type custom parameter binders.
- withDataSource(DataSource) - Static method in class com.pyranid.Database
-
Provides a
Database
builder for the givenDataSource
. - 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.
- 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. - withStatementContext(StatementContext<T>) - Static method in class com.pyranid.StatementLog
-
Creates a
StatementLog
builder for the givenstatementContext
.
All Classes and Interfaces|All Packages|Serialized Form