Enum MetaDataOperation

java.lang.Object
java.lang.Enum<MetaDataOperation>
org.apache.calcite.avatica.remote.MetaDataOperation
All Implemented Interfaces:
Serializable, Comparable<MetaDataOperation>, java.lang.constant.Constable

public enum MetaDataOperation extends Enum<MetaDataOperation>
Identifies an operation from DatabaseMetaData which returns a ResultSet. This enum is used to allow clients to request the server to re-instantiate a ResultSet for these operations which do not have a SQL string associated with them as a normal query does.
  • Enum Constant Details

  • Method Details

    • values

      public static MetaDataOperation[] 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 MetaDataOperation 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
    • toProto

      public org.apache.calcite.avatica.proto.Common.MetaDataOperation toProto()
    • fromProto

      public static MetaDataOperation fromProto(org.apache.calcite.avatica.proto.Common.MetaDataOperation protoOp)