Package mondrian.spi

Enum Class Dialect.Datatype

java.lang.Object
java.lang.Enum<Dialect.Datatype>
mondrian.spi.Dialect.Datatype
All Implemented Interfaces:
Serializable, Comparable<Dialect.Datatype>, Constable
Enclosing interface:
Dialect

public static enum Dialect.Datatype extends Enum<Dialect.Datatype>
Datatype of a column.
  • Enum Constant Details

  • Method Details

    • values

      public static Dialect.Datatype[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Dialect.Datatype valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • quoteValue

      public abstract void quoteValue(StringBuilder buf, Dialect dialect, String value)
      Appends to a buffer a value of this type, in the appropriate format for this dialect.
      Parameters:
      buf - Buffer
      dialect - Dialect
      value - Value
    • isNumeric

      public boolean isNumeric()
      Returns whether this is a numeric datatype.
      Returns:
      whether this is a numeric datatype.