public static enum ArrayColumns.Unsupported extends Enum<ArrayColumns.Unsupported> implements ArrayColumns
ArrayColumns
implementation for dialects that do not support array-typed columns.ArrayColumns.Unsupported
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getArrayType(Class<?> userType)
Translate the
user type of an array into the dialect-specific type. |
boolean |
isSupported()
Returns true if the dialect supports array-typed columns.
|
static ArrayColumns.Unsupported |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArrayColumns.Unsupported[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArrayColumns.Unsupported INSTANCE
public static ArrayColumns.Unsupported[] values()
for (ArrayColumns.Unsupported c : ArrayColumns.Unsupported.values()) System.out.println(c);
public static ArrayColumns.Unsupported valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isSupported()
ArrayColumns
isSupported
in interface ArrayColumns
public Class<?> getArrayType(Class<?> userType)
ArrayColumns
user type
of an array into the dialect-specific type. This method considers only the
component type.getArrayType
in interface ArrayColumns
userType
- component type of the array.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.