Enum Class QueryRecorder.RecordType

java.lang.Object
java.lang.Enum<QueryRecorder.RecordType>
com.tangosol.util.aggregator.QueryRecorder.RecordType
All Implemented Interfaces:
Serializable, Comparable<QueryRecorder.RecordType>, Constable
Enclosing class:
QueryRecorder<K,V>

public static enum QueryRecorder.RecordType extends Enum<QueryRecorder.RecordType>
RecordType enum specifies whether the QueryRecorder should be used to produce a QueryRecord object that contains an estimated or an actual cost of the query execution.
  • Enum Constant Details

  • Method Details

    • values

      public static QueryRecorder.RecordType[] 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 QueryRecorder.RecordType 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
    • toInt

      public int toInt()
      Convert an RecordType to an integer.
      Returns:
      the integer
    • fromInt

      public static QueryRecorder.RecordType fromInt(int nOrdinal)
      Convert an integer value to an RecordType
      Parameters:
      nOrdinal - the ordinal value of an RecordType
      Returns:
      the RecordType