Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

SimpleQueryRecordReporter Class Reference

#include <coherence/util/SimpleQueryRecordReporter.hpp>

Inherits Object.

List of all members.


Detailed Description

Simple query record reporter used to obtain a string representation of QueryRecord object.

Since:
Coherence 3.7.1
Author:
tb 2011.05.26
 

Public Types

typedef spec::Handle Handle
 SimpleQueryRecordReporter Handle definition.
typedef spec::View View
 SimpleQueryRecordReporter View definition.
typedef spec::Holder Holder
 SimpleQueryRecordReporter Holder definition.

Static Public Member Functions

static String::View report (QueryRecord::View vRecord)
 Return a report for the given query record.

Static Protected Member Functions

static String::View reportResult (QueryRecord::PartialResult::View vResult, QueryRecorder::RecordType type, List::Handle hListIndexLookups, bool fReportPartition)
 Report the given result.
static String::View reportIndexLookUps (List::View vListIndexLookups)
 Report the index look ups.
static String::View reportStep (QueryRecord::PartialResult::Step::View vStep, QueryRecorder::RecordType type, List::Handle hListIndexLookups, int32_t nLevel)
 Report the given step.
static String::View reportIndexLookupRecord (int32_t nIndexLookupId, QueryRecord::PartialResult::IndexLookupRecord::View vRecord)
 Report the given index lookup record with the given id.

Member Function Documentation

static String::View report ( QueryRecord::View  vRecord  )  [static]

Return a report for the given query record.

Parameters:
 record the record
Returns:
a report for the given query record

static String::View reportResult ( QueryRecord::PartialResult::View  vResult,
    QueryRecorder::RecordType  type,
    List::Handle  hListIndexLookups,
    bool  fReportPartition 
  )    [static, protected]

Report the given result.

Parameters:
 vResult the result
 type the record type
 hListIndexLookups the list of lookup ids
 fReportPartition indicates whether or not to report partitions
Returns:
a report for the given result

static String::View reportIndexLookUps ( List::View  vListIndexLookups  )  [static, protected]

Report the index look ups.

Parameters:
 vListIndexLookups the list of lookup ids
Returns:
a report for the index look ups

static String::View reportStep ( QueryRecord::PartialResult::Step::View  vStep,
    QueryRecorder::RecordType  type,
    List::Handle  hListIndexLookups,
    int32_t  nLevel 
  )    [static, protected]

Report the given step.

Parameters:
 vStep the step
 type the record type
 hListIndexLookups the list of lookup ids
 nLevel the indent level
Returns:
a report line for the given step

static String::View reportIndexLookupRecord ( int32_t  nIndexLookupId,
    QueryRecord::PartialResult::IndexLookupRecord::View  vRecord 
  )    [static, protected]

Report the given index lookup record with the given id.

Parameters:
 nIndexLookupId the index lookup id
 vRecord the index lookup record
Returns:
a report line for the given index lookup


The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.