Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class SimpleQueryRecordReporter

java.lang.Object
  extended by com.tangosol.util.SimpleQueryRecordReporter


public class SimpleQueryRecordReporter
extends java.lang.Object

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

Since:
Coherence 3.7.1
Author:
tb 2011.05.26

Constructor Summary
SimpleQueryRecordReporter()
           

 

Method Summary
static java.lang.String report(QueryRecord record)
          Return a report for the given query record.
protected static java.lang.String reportIndexLookupRecord(int nIndexLookupId, QueryRecord.PartialResult.IndexLookupRecord record)
          Report the given index lookup record with the given id.
protected static java.lang.String reportIndexLookUps(java.util.List listIndexLookups)
          Report the index look ups.
protected static java.lang.String reportResult(QueryRecord.PartialResult result, QueryRecorder.RecordType type, java.util.List listIndexLookups, boolean fReportPartition)
          Report the given result.
protected static java.lang.String reportStep(QueryRecord.PartialResult.Step step, QueryRecorder.RecordType type, java.util.List listIndexLookups, int nLevel)
          Report the given step.

 

Constructor Detail

SimpleQueryRecordReporter

public SimpleQueryRecordReporter()

Method Detail

report

public static java.lang.String report(QueryRecord record)
Return a report for the given query record.
Parameters:
record - the record
Returns:
a report for the given query record

reportResult

protected static java.lang.String reportResult(QueryRecord.PartialResult result,
                                               QueryRecorder.RecordType type,
                                               java.util.List listIndexLookups,
                                               boolean fReportPartition)
Report the given result.
Parameters:
result - the result
type - the record type
listIndexLookups - the list of lookup ids
fReportPartition - indicates whether or not to report partitions
Returns:
a report for the given result

reportIndexLookUps

protected static java.lang.String reportIndexLookUps(java.util.List listIndexLookups)
Report the index look ups.
Parameters:
listIndexLookups - the list of lookup ids
Returns:
a report for the index look ups

reportStep

protected static java.lang.String reportStep(QueryRecord.PartialResult.Step step,
                                             QueryRecorder.RecordType type,
                                             java.util.List listIndexLookups,
                                             int nLevel)
Report the given step.
Parameters:
step - the step
type - the record type
listIndexLookups - the list of lookup ids
nLevel - the indent level
Returns:
a report line for the given step

reportIndexLookupRecord

protected static java.lang.String reportIndexLookupRecord(int nIndexLookupId,
                                                          QueryRecord.PartialResult.IndexLookupRecord record)
Report the given index lookup record with the given id.
Parameters:
nIndexLookupId - the index lookup id
record - the index lookup record
Returns:
a report line for the given index lookup

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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