Package org.apache.calcite.model
Enum ModelHandler.ExtraOperand
- All Implemented Interfaces:
Serializable
,Comparable<ModelHandler.ExtraOperand>
,Constable
- Enclosing class:
ModelHandler
Extra operands automatically injected into a
JsonCustomSchema.operand
, as extra context for the adapter.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBase directory from which to read files.URI of model, e.g.Tables defined in this schema. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelHandler.ExtraOperand
Returns the enum constant of this type with the specified name.static ModelHandler.ExtraOperand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
Base directory from which to read files. -
TABLES
Tables defined in this schema.
-
-
Field Details
-
camelName
-
-
Method Details
-
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
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
-