- All Implemented Interfaces:
Serializable
,Comparable<Adapter.Via>
,Constable
Specifies, for a leaf adapter (one not composed over a lower adapter),
the form in which the value fetched from PostgreSQL will be presented to
it (or how it will produce a value to be stored to PostgreSQL).
At this level, an adapter is free to use Via.CHAR
and treat
char
internally as a 16-bit unsigned integral type with no other
special meaning. If an adapter will return an unsigned 16-bit
type, it should extend either AsShort.Unsigned
or AsChar
,
based on whether the value it returns represents UTF-16 character data.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Adapter.Via
Returns the enum constant of this class with the specified name.static Adapter.Via[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATUM
-
INT64SX
-
INT64ZX
-
DOUBLE
-
INT32SX
-
INT32ZX
-
FLOAT
-
SHORT
-
CHAR
-
BYTE
-
BOOLEAN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-