|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.SimpleQueryRecordReporter
public class SimpleQueryRecordReporter
Simple query record reporter used to obtain a string representation of QueryRecord object.
| Constructor Summary | |
|---|---|
SimpleQueryRecordReporter() |
|
| Method Summary | |
|---|---|
protected static void |
checkTruncation(java.util.List listFooter, java.lang.StringBuilder sbName, int nColumnWidth)Check if the given name will be truncated in the table, and if yes, add the full name to the footer table. |
static java.lang.String |
report(QueryRecord record)Return a report for the given query record. |
protected static java.lang.String |
reportFooter(java.util.List listFooter)Report the index look ups. |
protected static java.lang.String |
reportFooterItem(int n, java.lang.String sItem)Print the full name that corresponds to the given footer number. |
protected static java.lang.String |
reportIndexLookupRecord(int nIndexLookupId, QueryRecord.PartialResult.IndexLookupRecord record, java.util.List listFooter)Report the given index lookup record with the given id. |
protected static java.lang.String |
reportIndexLookUps(java.util.List listIndexLookups, java.util.List listFooter)Report the index look ups. |
protected static java.lang.String |
reportResult(QueryRecord.PartialResult result, QueryRecorder.RecordType type, java.util.List listIndexLookups, boolean fReportPartition, java.util.List listFooter)Report the given result. |
protected static java.lang.String |
reportStep(QueryRecord.PartialResult.Step step, QueryRecorder.RecordType type, java.util.List listIndexLookups, int nLevel, java.util.List listFooter)Report the given step. |
| Constructor Detail |
|---|
public SimpleQueryRecordReporter()
| Method Detail |
|---|
public static java.lang.String report(QueryRecord record)
record - the record
protected static java.lang.String reportResult(QueryRecord.PartialResult result,
QueryRecorder.RecordType type,
java.util.List listIndexLookups,
boolean fReportPartition,
java.util.List listFooter)
result - the resulttype - the record typelistIndexLookups - the list of lookup idsfReportPartition - indicates whether or not to report partitionslistFooter - the list of full names which were truncated elsewhere in the report
protected static java.lang.String reportIndexLookUps(java.util.List listIndexLookups,
java.util.List listFooter)
listIndexLookups - the list of lookup idslistFooter - the list containing complete names which were truncated elsewhere in the reportprotected static java.lang.String reportFooter(java.util.List listFooter)
listFooter - the list of full names to be reported
protected static java.lang.String reportStep(QueryRecord.PartialResult.Step step,
QueryRecorder.RecordType type,
java.util.List listIndexLookups,
int nLevel,
java.util.List listFooter)
step - the steptype - the record typelistIndexLookups - the list of lookup idsnLevel - the indent levellistFooter - the list containing complete names, which had to be truncated in the main report
protected static void checkTruncation(java.util.List listFooter,
java.lang.StringBuilder sbName,
int nColumnWidth)
listFooter - the list containing complete namessbName - the name to checknColumnWidth - the width of the table column, where the name must fit
protected static java.lang.String reportIndexLookupRecord(int nIndexLookupId,
QueryRecord.PartialResult.IndexLookupRecord record,
java.util.List listFooter)
nIndexLookupId - the index lookup idrecord - the index lookup recordlistFooter - the list containing complete names, which had to be truncated
protected static java.lang.String reportFooterItem(int n,
java.lang.String sItem)
n - the number used in the main report as a footer pointersItem - the footer item to print
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||