Enum Class BaseUDT.PredefinedCategory

java.lang.Object
java.lang.Enum<BaseUDT.PredefinedCategory>
org.postgresql.pljava.annotation.BaseUDT.PredefinedCategory
All Implemented Interfaces:
Serializable, Comparable<BaseUDT.PredefinedCategory>, Constable
Enclosing class:
BaseUDT

public static enum BaseUDT.PredefinedCategory extends Enum<BaseUDT.PredefinedCategory>
The type categories that are predefined in PostgreSQL.

This enumeration is not used as the type of the category element below, because PostgreSQL allows use of other single-ASCII-character category codes for custom purposes. Therefore, the annotation can be any such character. PostgreSQL reserves all of the upper-case ASCII letters to represent current or future predefined categories, and this enumeration allows mapping between those and their more readable names.

When one of the predefined categories is wanted for the category element, the corresponding character constant in PredefinedCategory.Code can be used in the annotation as a more readable alternative to the one-character code.