Enum ModelHandler.ExtraOperand

java.lang.Object
java.lang.Enum<ModelHandler.ExtraOperand>
org.apache.calcite.model.ModelHandler.ExtraOperand
All Implemented Interfaces:
Serializable, Comparable<ModelHandler.ExtraOperand>, Constable
Enclosing class:
ModelHandler

public static enum ModelHandler.ExtraOperand extends Enum<ModelHandler.ExtraOperand>
Extra operands automatically injected into a JsonCustomSchema.operand, as extra context for the adapter.
  • Enum Constant Details

    • MODEL_URI

      public static final ModelHandler.ExtraOperand MODEL_URI
      URI of model, e.g. "target/test-classes/model.json", "http://localhost/foo/bar.json", "inline:{...}", "target/test-classes/model.yaml", "http://localhost/foo/bar.yaml", "inline:..."
    • BASE_DIRECTORY

      public static final ModelHandler.ExtraOperand BASE_DIRECTORY
      Base directory from which to read files.
    • TABLES

      public static final ModelHandler.ExtraOperand TABLES
      Tables defined in this schema.
  • Field Details

    • camelName

      public final String camelName
  • Method Details

    • values

      public static ModelHandler.ExtraOperand[] 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 ModelHandler.ExtraOperand 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 name
      NullPointerException - if the argument is null