Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.util.aggregator
Class QueryRecorder.RecordType

java.lang.Object
  extended by java.lang.Enum
      extended by com.tangosol.util.aggregator.QueryRecorder.RecordType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
QueryRecorder

public static final class QueryRecorder.RecordType
extends java.lang.Enum

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.


Field Summary
static QueryRecorder.RecordType EXPLAIN
          Produce a QueryRecord object that contains an estimated cost of the query execution.
static QueryRecorder.RecordType TRACE
          Produce a QueryRecord object that contains the actual cost of the query execution.

 

Method Summary
static QueryRecorder.RecordType fromInt(int nOrdinal)
          Convert an integer value to an RecordType
 int toInt()
          Convert an RecordType to an integer.
static QueryRecorder.RecordType valueOf(java.lang.String name)
           
static QueryRecorder.RecordType[] values()
           

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Field Detail

EXPLAIN

public static final QueryRecorder.RecordType EXPLAIN
Produce a QueryRecord object that contains an estimated cost of the query execution.

TRACE

public static final QueryRecorder.RecordType TRACE
Produce a QueryRecord object that contains the actual cost of the query execution.

Method Detail

values

public static QueryRecorder.RecordType[] values()

valueOf

public static QueryRecorder.RecordType valueOf(java.lang.String name)

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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.