Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataSource.common
Class QueryDumpContext

java.lang.Object
  |
  +--oracle.dss.dataSource.common.QueryDumpContext

public class QueryDumpContext
extends java.lang.Object

Class to provide a text dump of query contents and cursors.


Constructor Summary
QueryDumpContext()
           

 

Method Summary
static void dumpCrosstabResults(java.io.PrintWriter pw, DataAccess da)
          Dump the cursor like a crosstab display, including asym
static void dumpCurrentIndex(java.io.PrintWriter pw, DataAccess da, int edge, int index, MetadataMap map)
          Dump the current settings of each of the dims on an edge
static void dumpCursor(java.io.PrintWriter pw, DataAccess da)
          Dump the contents of the cursor in a DataAccess.
static void dumpCursor(java.io.PrintWriter pw, DataAccess da, java.lang.String dataType)
          Dump the contents of the cursor in a DataAccess.
static void dumpEdge(java.io.PrintWriter pw, DataAccess da, int edge)
          Dump sets of values for a given edge, taking asymmetry into account
static void dumpEdgeCursor(java.io.PrintWriter pw, DataAccess da, int edge)
          Dump the contents of an edge metadata cursor
static void dumpMetadata(java.io.PrintWriter pw, DataAccess da, int edge, MetadataMap map)
          Dump metadata for a given edge
static void dumpQueryState(java.io.PrintWriter pw, Query query)
          Dump the query state (Selections, measures)
static void dumpResults(java.io.PrintWriter pw, DataAccess da, MetadataMap map)
          Dump the contents of the edges and data body

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

QueryDumpContext

public QueryDumpContext()
Method Detail

dumpResults

public static void dumpResults(java.io.PrintWriter pw,
DataAccess da,
MetadataMap map)
                        throws ColumnOutOfRangeException,
RowOutOfRangeException,
LayerOutOfRangeException,
SliceOutOfRangeException,
EdgeOutOfRangeException
Dump the contents of the edges and data body
Parameters:
pw - PrintWriter to dump to
da - DataAccess to dump
map - types of metadata to dump
Throws:
ColumnOutOfRangeException - if the data column is invalid
RowOutOfRangeException - if the data row is invalid
EdgeOutOfRangeException - if the edge is invalid
LayerOutOfRangeException - if the layer is invalid
SliceOutOfRangeException - if the slice is invalid

dumpMetadata

public static void dumpMetadata(java.io.PrintWriter pw,
DataAccess da,
                                int edge,
MetadataMap map)
                         throws EdgeOutOfRangeException,
LayerOutOfRangeException,
SliceOutOfRangeException
Dump metadata for a given edge
Parameters:
pw - PrintWriter to dump to
da - DataAccess to dump
edge - edge to dump
Throws:
EdgeOutOfRangeException - if the edge is invalid
LayerOutOfRangeException - if the layer is invalid
SliceOutOfRangeException - if the slice is invalid

dumpEdge

public static void dumpEdge(java.io.PrintWriter pw,
DataAccess da,
                            int edge)
                     throws EdgeOutOfRangeException,
LayerOutOfRangeException,
SliceOutOfRangeException
Dump sets of values for a given edge, taking asymmetry into account
Parameters:
pw - PrintWriter to dump to
da - DataAccess to dump
edge - edge to dump
Throws:
EdgeOutOfRangeException - if the edge is invalid
LayerOutOfRangeException - if the layer is invalid
SliceOutOfRangeException - if the slice is invalid

dumpCursor

public static void dumpCursor(java.io.PrintWriter pw,
DataAccess da,
                              java.lang.String dataType)
                       throws ColumnOutOfRangeException,
RowOutOfRangeException,
LayerOutOfRangeException,
SliceOutOfRangeException,
EdgeOutOfRangeException
Dump the contents of the cursor in a DataAccess.
Parameters:
pw - PrintWriter to dump to
da - DataAccess to dump
dataType - data type of the cursor data body to dump
Throws:
ColumnOutOfRangeException - if the data column is invalid
RowOutOfRangeException - if the data row is invalid
EdgeOutOfRangeException - if the edge is invalid
LayerOutOfRangeException - if the layer is invalid
SliceOutOfRangeException - if the slice is invalid

dumpCursor

public static void dumpCursor(java.io.PrintWriter pw,
DataAccess da)
                       throws ColumnOutOfRangeException,
RowOutOfRangeException,
LayerOutOfRangeException,
SliceOutOfRangeException,
EdgeOutOfRangeException
Dump the contents of the cursor in a DataAccess.
Parameters:
pw - PrintWriter to dump to
da - DataAccess to dump
Throws:
ColumnOutOfRangeException - if the data column is invalid
RowOutOfRangeException - if the data row is invalid
EdgeOutOfRangeException - if the edge is invalid
LayerOutOfRangeException - if the layer is invalid
SliceOutOfRangeException - if the slice is invalid

dumpEdgeCursor

public static void dumpEdgeCursor(java.io.PrintWriter pw,
DataAccess da,
                                  int edge)
                           throws EdgeOutOfRangeException,
LayerOutOfRangeException,
SliceOutOfRangeException
Dump the contents of an edge metadata cursor
Parameters:
pw - PrintWriter to dump to
da - DataAccess to dump
edge - edge to dump
Throws:
EdgeOutOfRangeException - if the edge is invalid
LayerOutOfRangeException - if the layer is invalid
SliceOutOfRangeException - if the slice is invalid

dumpCurrentIndex

public static void dumpCurrentIndex(java.io.PrintWriter pw,
DataAccess da,
                                    int edge,
                                    int index,
MetadataMap map)
                             throws LayerOutOfRangeException,
SliceOutOfRangeException,
EdgeOutOfRangeException
Dump the current settings of each of the dims on an edge
Parameters:
pw - PrintWriter to dump to
da - DataAccess to dump
edge - edge to dump
absolute - index to dump
Throws:
EdgeOutOfRangeException - if the edge is invalid
LayerOutOfRangeException - if the layer is invalid
SliceOutOfRangeException - if the slice is invalid

dumpCrosstabResults

public static void dumpCrosstabResults(java.io.PrintWriter pw,
DataAccess da)
                                throws ColumnOutOfRangeException,
RowOutOfRangeException,
LayerOutOfRangeException,
SliceOutOfRangeException,
EdgeOutOfRangeException
Dump the cursor like a crosstab display, including asym
Parameters:
pw - PrintWriter to dump to
da - DataAccess to dump
Throws:
ColumnOutOfRangeException - if the data column is invalid
RowOutOfRangeException - if the data row is invalid
EdgeOutOfRangeException - if the edge is invalid
LayerOutOfRangeException - if the layer is invalid
SliceOutOfRangeException - if the slice is invalid

dumpQueryState

public static void dumpQueryState(java.io.PrintWriter pw,
Query query)
                           throws CloneException
Dump the query state (Selections, measures)
Parameters:
pw - PrintWriter to dump to
query - Query to dump

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.