public enum ColumnStrategy extends Enum<ColumnStrategy>
| Enum Constant and Description |
|---|
DEFAULT
Column has a default value.
|
NOT_NULLABLE
Column does not have a default value, and does not allow nulls.
|
NULLABLE
Column does not have a default value, but does allow null values.
|
STORED
Column is computed and stored.
|
VIRTUAL
Column is computed and not stored.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnStrategy NULLABLE
public static final ColumnStrategy NOT_NULLABLE
public static final ColumnStrategy DEFAULT
public static final ColumnStrategy STORED
public static final ColumnStrategy VIRTUAL
public static ColumnStrategy[] values()
for (ColumnStrategy c : ColumnStrategy.values()) System.out.println(c);
public static ColumnStrategy 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 nullCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.