Package org.h2.value

Class ValueEnum

All Implemented Interfaces:
HasSQL, Typed

public final class ValueEnum extends ValueEnumBase
ENUM value.
  • Field Details

  • Constructor Details

  • Method Details

    • getType

      public TypeInfo getType()
      Description copied from interface: Typed
      Returns the data type.
      Specified by:
      getType in interface Typed
      Overrides:
      getType in class ValueEnumBase
      Returns:
      the data type
    • getEnumerators

      public ExtTypeInfoEnum getEnumerators()
    • getSQL

      public StringBuilder getSQL(StringBuilder builder, int sqlFlags)
      Description copied from interface: HasSQL
      Appends the SQL statement of this object to the specified builder.
      Specified by:
      getSQL in interface HasSQL
      Overrides:
      getSQL in class ValueEnumBase
      Parameters:
      builder - string builder
      sqlFlags - formatting flags
      Returns:
      the specified string builder