Class JsonType

java.lang.Object
org.apache.calcite.model.JsonType

public class JsonType extends Object
Type schema element.

Occurs within JsonMapSchema.types, JsonRoot.types.

See Also:
  • Field Details

    • name

      public final String name
      Name of this type.

      Required.

    • type

      public final @Nullable String type
      Type if this is not a struct.
    • attributes

      public final List<JsonTypeAttribute> attributes
      Definition of the attributes of this type.
  • Constructor Details

    • JsonType

      public JsonType(String name, @Nullable String type)
  • Method Details