SQLDataType
| Modifier and Type | Class and Description |
|---|---|
| public static class | Converters.UnknownType
An unknown type that is used when users do not provide any explicit user
type |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ContextConverter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static <T, U> Converter | forArrayComponents(Converter<T[], U[]> converter)
Create a converter that can convert component types based on the argument converter, which converts array types. |
| public static <T, U> Converter | forArrayComponents(ContextConverter<T[], U[]> converter)
Create a converter that can convert component types based on the argument converter, which converts array types. |
| public static <T, U> Converter | |
| public static <T, U> ContextConverter | forArrays(ContextConverter<T, U> converter)
Create a converter that can convert arrays with the component types being the argument converter's types. |
| public final U | from(T
The database object. t, ConverterContext The context of this conversion. scope)Implements org. |
| public static <T> @NotNull ContextConverter | |
| public static <T, U> Converter | |
| public static <T, U> ContextConverter | |
| pack-priv static final <T, U> Function | |
| pack-priv static final <T, U> BiFunction | |
| pack-priv static final <T, U> Function | |
| pack-priv static final <T, U> BiFunction | |
| public static <T, U> @NotNull ContextConverter | of()
Deprecated
for removal since 3.14. - [#10689] - 3.14.0 - This converter does not work. Do not
use this method, use
Create an identity converter.
identity(Class) instead.
|
| public static <T, U> @NotNull ContextConverter | |
| public static <T, X1, U> @NotNull ContextConverter | |
| public static <T, X1, X2, U> @NotNull ContextConverter | |
| public static <T, X1, X2, X3, U> @NotNull ContextConverter | |
| public final T | to(U
The user object. u, ConverterContext The context of this conversion. scope)Implements org. |
| public String | toString()
Returns a string representation of the object.
|
| chain | back to summary |
|---|---|
| pack-priv final ContextConverter<T, U>[] chain | |
| Converters | back to summary |
|---|---|
| pack-priv Converters(ContextConverter<T, U>... chain) | |
| forArrayComponents | back to summary |
|---|---|
| public static <T, U> Converter Create a converter that can convert component types based on the argument converter, which converts array types. | |
| forArrayComponents | back to summary |
|---|---|
| public static <T, U> Converter Create a converter that can convert component types based on the argument converter, which converts array types. | |
| forArrays | back to summary |
|---|---|
| public static <T, U> Converter Create a converter that can convert arrays with the component types being the argument converter's types. | |
| forArrays | back to summary |
|---|---|
| public static <T, U> ContextConverter Create a converter that can convert arrays with the component types being the argument converter's types. | |
| from | back to summary |
|---|---|
| public final U from(T t, ConverterContext scope) Implements org. Doc from org. Read and convert a database object to a user object.
| |
| identity | back to summary |
|---|---|
| public static <T> @NotNull ContextConverter Create an identity converter.
| |
| inverse | back to summary |
|---|---|
| public static <T, U> Converter Inverse a converter. | |
| inverse | back to summary |
|---|---|
| public static <T, U> ContextConverter Inverse a converter. | |
| notImplemented | back to summary |
|---|---|
| pack-priv static final <T, U> Function | |
| notImplementedBiFunction | back to summary |
|---|---|
| pack-priv static final <T, U> BiFunction | |
| nullable | back to summary |
|---|---|
| pack-priv static final <T, U> Function | |
| nullable | back to summary |
|---|---|
| pack-priv static final <T, U> BiFunction | |
| of | back to summary |
|---|---|
| public static <T, U> @NotNull ContextConverter Deprecated for removal since 3.14. - [#10689] - 3.14.0 - This converter does not work. Do not
use this method, use Create an identity converter.
| |
| of | back to summary |
|---|---|
| public static <T, U> @NotNull ContextConverter Deprecated for removal since 3.14. - [#10689] - 3.14.0 - This method does not provide any useful functionality and will be removed in the future. Create a single converter.
| |
| of | back to summary |
|---|---|
| public static <T, X1, U> @NotNull ContextConverter Chain two converters.
| |
| of | back to summary |
|---|---|
| public static <T, X1, X2, U> @NotNull ContextConverter Chain three converters.
| |
| of | back to summary |
|---|---|
| public static <T, X1, X2, X3, U> @NotNull ContextConverter Chain four converters.
| |
| to | back to summary |
|---|---|
| public final T to(U u, ConverterContext scope) Implements org. Doc from org. Convert and write a user object to a database object.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |
Class reference e.g. in
DataType#asConvertedDataTypeFrom(Function) or
DataType#asConvertedDataTypeTo(Function)
| Access | Constructor and Description |
|---|---|
| private |
| UnknownType | back to summary |
|---|---|
| private UnknownType() | |