Class StatementContext<T>
java.lang.Object
com.pyranid.StatementContext<T>
Data that represents a SQL statement.
- Since:
- 2.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder used to construct instances ofStatementContext. -
Method Summary
Modifier and TypeMethodDescriptionbooleanHow should Pyranid bindInstantandOffsetDateTimeparameters when JDBC parameter metadata cannot identify whether the target isTIMESTAMPorTIMESTAMP WITH TIME ZONE?Gets the configured database type for this statement.Gets this statement's parameters rendered for diagnostics.inthashCode()toString()static <T> @NonNull StatementContext.Builder<T>
-
Method Details
-
hashCode
-
equals
-
toString
-
getStatement
-
getParameters
-
getRedactedParameters
Gets this statement's parameters rendered for diagnostics.SecureParametervalues render as their masks. Other non-batch values are rendered through the configuredParameterRedactor. Batch executions render a bounded summary instead of individual group values.- Returns:
- parameters rendered for diagnostics
- Since:
- 4.4.0
-
getResultSetRowType
-
getDatabaseType
Gets the configured database type for this statement.- Returns:
- the configured database type
- Since:
- 3.0.0
-
getTimeZone
-
getAmbiguousTimestampBindingStrategy
How should Pyranid bindInstantandOffsetDateTimeparameters when JDBC parameter metadata cannot identify whether the target isTIMESTAMPorTIMESTAMP WITH TIME ZONE?- Returns:
- behavior to use when timestamp target metadata is unavailable or non-identifying
- Since:
- 4.2.0
-
with
-