Top Description Fields Constructors Methods
io.r2dbc.spi

public final Enum R2dbcType

extends Enum<R2dbcType>
implements Type
Class Inheritance
All Implemented Interfaces
io.r2dbc.spi.Type
Imports
java.math.BigDecimal, java.nio.ByteBuffer, java.time.LocalDate, .LocalDateTime, .LocalTime, .OffsetDateTime, .OffsetTime

Definition of generic SQL types.
Since
0.9

Field Summary

Modifier and TypeField and Description
public static final R2dbcType
BIGINT

Identifies the generic SQL type BIGINT.

public static final R2dbcType
BINARY

Identifies the generic SQL type BINARY.

public static final R2dbcType
BLOB

Identifies the generic SQL type BLOB.

public static final R2dbcType
BOOLEAN

Identifies the generic SQL type BOOLEAN.

public static final R2dbcType
CHAR

Identifies the generic SQL type CHAR.

public static final R2dbcType
CLOB

Identifies the generic SQL type CLOB.

public static final R2dbcType
COLLECTION

Identifies the generic SQL type ARRAY.

public static final R2dbcType
DATE

Identifies the generic SQL type DATE.

public static final R2dbcType
DECIMAL

Identifies the generic SQL type DECIMAL.

public static final R2dbcType
DOUBLE

Identifies the generic SQL type DOUBLE.

public static final R2dbcType
FLOAT

Identifies the generic SQL type FLOAT.

public static final R2dbcType
INTEGER

Identifies the generic SQL type INTEGER.

private final Class<?>
public static final R2dbcType
NCHAR

Identifies the generic SQL type NCHAR.

public static final R2dbcType
NCLOB

Identifies the generic SQL type NCLOB.

public static final R2dbcType
NUMERIC

Identifies the generic SQL type NUMERIC.

public static final R2dbcType
NVARCHAR

Identifies the generic SQL type NVARCHAR.

public static final R2dbcType
REAL

Identifies the generic SQL type REAL.

public static final R2dbcType
SMALLINT

Identifies the generic SQL type SMALLINT.

public static final R2dbcType
TIME

Identifies the generic SQL type TIME.

public static final R2dbcType
TIME_WITH_TIME_ZONE

Identifies the generic SQL type TIME WITH TIME ZONE.

public static final R2dbcType
TIMESTAMP

Identifies the generic SQL type TIMESTAMP.

public static final R2dbcType
TIMESTAMP_WITH_TIME_ZONE

Identifies the generic SQL type TIMESTAMP WITH TIME ZONE.

public static final R2dbcType
TINYINT

Identifies the generic SQL type TINYINT.

public static final R2dbcType
VARBINARY

Identifies the generic SQL type VARBINARY.

public static final R2dbcType
VARCHAR

Identifies the generic SQL type VARCHAR.

Constructor Summary

AccessConstructor and Description
private
R2dbcType(Class<?> javaType)

Method Summary

Modifier and TypeMethod and Description
public Class<?>
public String
public static R2dbcType
public static R2dbcType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BIGINTback to summary
public static final R2dbcType BIGINT

Identifies the generic SQL type BIGINT.

BINARYback to summary
public static final R2dbcType BINARY

Identifies the generic SQL type BINARY.

BLOBback to summary
public static final R2dbcType BLOB

Identifies the generic SQL type BLOB. Note that drivers may default to Blob if materializing a BLOB value requires additional database communication.

BOOLEANback to summary
public static final R2dbcType BOOLEAN

Identifies the generic SQL type BOOLEAN.

CHARback to summary
public static final R2dbcType CHAR

Identifies the generic SQL type CHAR.

CLOBback to summary
public static final R2dbcType CLOB

Identifies the generic SQL type CLOB. Note that drivers may default to Clob if materializing a CLOB value requires additional database communication.

COLLECTIONback to summary
public static final R2dbcType COLLECTION

Identifies the generic SQL type ARRAY.

DATEback to summary
public static final R2dbcType DATE

Identifies the generic SQL type DATE.

DECIMALback to summary
public static final R2dbcType DECIMAL

Identifies the generic SQL type DECIMAL.

DOUBLEback to summary
public static final R2dbcType DOUBLE

Identifies the generic SQL type DOUBLE.

FLOATback to summary
public static final R2dbcType FLOAT

Identifies the generic SQL type FLOAT.

INTEGERback to summary
public static final R2dbcType INTEGER

Identifies the generic SQL type INTEGER.

javaTypeback to summary
private final Class<?> javaType
NCHARback to summary
public static final R2dbcType NCHAR

Identifies the generic SQL type NCHAR.

NCLOBback to summary
public static final R2dbcType NCLOB

Identifies the generic SQL type NCLOB. Note that drivers may default to Clob if materializing a NCLOB value requires additional database communication.

NUMERICback to summary
public static final R2dbcType NUMERIC

Identifies the generic SQL type NUMERIC.

NVARCHARback to summary
public static final R2dbcType NVARCHAR

Identifies the generic SQL type NVARCHAR.

REALback to summary
public static final R2dbcType REAL

Identifies the generic SQL type REAL.

SMALLINTback to summary
public static final R2dbcType SMALLINT

Identifies the generic SQL type SMALLINT.

TIMEback to summary
public static final R2dbcType TIME

Identifies the generic SQL type TIME.

TIME_WITH_TIME_ZONEback to summary
public static final R2dbcType TIME_WITH_TIME_ZONE

Identifies the generic SQL type TIME WITH TIME ZONE.

TIMESTAMPback to summary
public static final R2dbcType TIMESTAMP

Identifies the generic SQL type TIMESTAMP.

TIMESTAMP_WITH_TIME_ZONEback to summary
public static final R2dbcType TIMESTAMP_WITH_TIME_ZONE

Identifies the generic SQL type TIMESTAMP WITH TIME ZONE.

TINYINTback to summary
public static final R2dbcType TINYINT

Identifies the generic SQL type TINYINT.

VARBINARYback to summary
public static final R2dbcType VARBINARY

Identifies the generic SQL type VARBINARY.

VARCHARback to summary
public static final R2dbcType VARCHAR

Identifies the generic SQL type VARCHAR.

Constructor Detail

R2dbcTypeback to summary
private R2dbcType(Class<?> javaType)

Method Detail

getJavaTypeback to summary
public Class<?> getJavaType()

Implements io.r2dbc.spi.Type.getJavaType.

Returns:Class<?>

Doc from io.r2dbc.spi.Type.getJavaType.

default Java type.

Annotations
@Override
getNameback to summary
public String getName()

Implements io.r2dbc.spi.Type.getName.

Returns:String

Doc from io.r2dbc.spi.Type.getName.

type name.

Annotations
@Override
valueOfback to summary
public static R2dbcType valueOf(String name)
valuesback to summary
public static R2dbcType[] values()