Top Description Fields Constructors Methods
io.r2dbc.spi

public final Enum ValidationDepth

extends Enum<ValidationDepth>
Class Inheritance

Constants indicating validation depth for a Connection.

Field Summary

Modifier and TypeField and Description
public static final ValidationDepth
LOCAL

Perform a client-side only validation.

public static final ValidationDepth
REMOTE

Perform a remote connection validations.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ValidationDepth
public static ValidationDepth[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

LOCALback to summary
public static final ValidationDepth LOCAL

Perform a client-side only validation. Typically to determine whether a connection is still active or other mechanism that does not involve remote communication.

REMOTEback to summary
public static final ValidationDepth REMOTE

Perform a remote connection validations. Typically by sending a database message or some other mechanism to validate that the database connection and session are active and can be used for database queries. Any query submitted by the driver to validate the connection is executed in the context of the current transaction.

Constructor Detail

ValidationDepthback to summary
private ValidationDepth()

Method Detail

valueOfback to summary
public static ValidationDepth valueOf(String name)
valuesback to summary
public static ValidationDepth[] values()