- java.lang.Object
-
- java.lang.Enum<BaseUDT.Alignment>
-
- org.postgresql.pljava.annotation.BaseUDT.Alignment
-
- All Implemented Interfaces:
Serializable
,Comparable<BaseUDT.Alignment>
,Constable
- Enclosing class:
- BaseUDT
public static enum BaseUDT.Alignment extends Enum<BaseUDT.Alignment>
The supported alignment constraints for the type's internal representation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description static BaseUDT.Alignment
valueOf(String name)
Returns the enum constant of this type with the specified name.static BaseUDT.Alignment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHAR
public static final BaseUDT.Alignment CHAR
-
INT2
public static final BaseUDT.Alignment INT2
-
INT4
public static final BaseUDT.Alignment INT4
-
DOUBLE
public static final BaseUDT.Alignment DOUBLE
-
-
Method Detail
-
values
public static BaseUDT.Alignment[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseUDT.Alignment valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-