public class DumpContext
extends java.lang.Object
Constructor and Description |
---|
DumpContext() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpCrosstabResults(java.io.PrintWriter pw,
DataAccess da)
Dump the cursor like a crosstab display, including asym
|
static void |
dumpCrosstabResults(java.io.PrintWriter pw,
DataAccess da,
int colBound,
int rowBound,
MetadataPrinter mp) |
static void |
dumpCrosstabResults(java.io.PrintWriter pw,
DataAccess da,
int colBound,
int rowBound,
java.lang.String type,
boolean outline,
MetadataPrinter mp,
java.text.DecimalFormat df) |
static void |
dumpCrosstabResults(java.io.PrintWriter pw,
DataAccess da,
int colBound,
int rowBound,
java.lang.String type,
MetadataPrinter mp) |
static void |
dumpCrosstabResults(java.io.PrintWriter pw,
DataAccess da,
int colBound,
int rowBound,
java.lang.String type,
MetadataPrinter mp,
java.text.DecimalFormat df) |
static void |
dumpCrosstabResults(java.io.PrintWriter pw,
DataAccess da,
int colBound,
int rowBound,
java.lang.String type,
java.lang.String dataType,
boolean outline,
MetadataPrinter mp,
java.text.DecimalFormat df) |
static void |
dumpCrosstabResults(java.io.PrintWriter pw,
DataAccess da,
MetadataPrinter mp) |
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 |
dumpCurrentIndex(java.io.PrintWriter pw,
DataAccess da,
int edge,
int index,
MetadataMap map,
MetadataPrinter mp) |
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,
MetadataPrinter mp) |
static void |
dumpCursor(java.io.PrintWriter pw,
DataAccess da,
java.lang.String dataType)
Dump the contents of the cursor in a DataAccess.
|
static void |
dumpCursor(java.io.PrintWriter pw,
DataAccess da,
java.lang.String dataType,
MetadataPrinter mp) |
static void |
dumpCursor(java.io.PrintWriter pw,
DataAccess da,
java.lang.String dataType,
java.lang.String metadataType,
MetadataPrinter mp) |
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 |
dumpEdge(java.io.PrintWriter pw,
DataAccess da,
int edge,
MetadataPrinter mp) |
static void |
dumpEdgeCursor(java.io.PrintWriter pw,
DataAccess da,
int edge)
Dump the contents of an edge metadata cursor
|
static void |
dumpEdgeCursor(java.io.PrintWriter pw,
DataAccess da,
int edge,
int count,
java.lang.String type,
MetadataPrinter mp) |
static void |
dumpEdgeCursor(java.io.PrintWriter pw,
DataAccess da,
int edge,
MetadataPrinter mp) |
static void |
dumpMetadata(java.io.PrintWriter pw,
DataAccess da,
int edge,
MetadataMap map)
Dump metadata for a given edge
|
static void |
dumpMetadata(java.io.PrintWriter pw,
DataAccess da,
int edge,
MetadataMap map,
MetadataPrinter mp) |
static void |
dumpResults(java.io.PrintWriter pw,
DataAccess da,
MetadataMap map)
Dump the contents of the edges and data body
|
static void |
dumpResults(java.io.PrintWriter pw,
DataAccess da,
MetadataMap map,
MetadataPrinter mp) |
static void |
dumpResults(java.io.PrintWriter pw,
DataAccess da,
MetadataMap map,
java.lang.String type,
MetadataPrinter mp) |
public static void dumpMetadata(java.io.PrintWriter pw, DataAccess da, int edge, MetadataMap map) throws EdgeOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpResults(java.io.PrintWriter pw, DataAccess da, MetadataMap map) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpmap
- types of metadata to dumpColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCurrentIndex(java.io.PrintWriter pw, DataAccess da, int edge, int index, MetadataMap map) throws LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpabsolute
- index to dumpEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpEdgeCursor(java.io.PrintWriter pw, DataAccess da, int edge) throws EdgeOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCursor(java.io.PrintWriter pw, DataAccess da, java.lang.String dataType) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpdataType
- data type of the cursor data body to dumpColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpEdge(java.io.PrintWriter pw, DataAccess da, int edge) throws EdgeOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCrosstabResults(java.io.PrintWriter pw, DataAccess da) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpResults(java.io.PrintWriter pw, DataAccess da, MetadataMap map, MetadataPrinter mp) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpmap
- types of metadata to dumpmp
- MetadataPrinter to useColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpResults(java.io.PrintWriter pw, DataAccess da, MetadataMap map, java.lang.String type, MetadataPrinter mp) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpmap
- types of metadata to dumpmp
- MetadataPrinter to useColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpMetadata(java.io.PrintWriter pw, DataAccess da, int edge, MetadataMap map, MetadataPrinter mp) throws EdgeOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpmp
- MetadataPrinter to useEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpEdge(java.io.PrintWriter pw, DataAccess da, int edge, MetadataPrinter mp) throws EdgeOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpmp
- MetadataPrinter to useEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCursor(java.io.PrintWriter pw, DataAccess da, java.lang.String dataType, MetadataPrinter mp) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpdataType
- data type of the cursor data body to dumpmp
- MetadataPrinter to useColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCursor(java.io.PrintWriter pw, DataAccess da, java.lang.String dataType, java.lang.String metadataType, MetadataPrinter mp) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpdataType
- data type of the cursor data body to dumpmetadataType
- type of metadata to dump for edgesmp
- MetadataPrinter to useColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCursor(java.io.PrintWriter pw, DataAccess da) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCursor(java.io.PrintWriter pw, DataAccess da, MetadataPrinter mp) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpEdgeCursor(java.io.PrintWriter pw, DataAccess da, int edge, MetadataPrinter mp) throws EdgeOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpmp
- MetadataPrinter to useEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpEdgeCursor(java.io.PrintWriter pw, DataAccess da, int edge, int count, java.lang.String type, MetadataPrinter mp) throws EdgeOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpcount
- max slice on edge to dumptype
- type of metadata to dumpmp
- MetadataPrinter to useEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCurrentIndex(java.io.PrintWriter pw, DataAccess da, int edge, int index, MetadataMap map, MetadataPrinter mp) throws LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpedge
- edge to dumpabsolute
- index to dumpmp
- MetadataPrinter to useEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCrosstabResults(java.io.PrintWriter pw, DataAccess da, MetadataPrinter mp) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpmp
- MetadataPrinter to useColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCrosstabResults(java.io.PrintWriter pw, DataAccess da, int colBound, int rowBound, MetadataPrinter mp) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpcolBound
- artificial column extentrowBound
- artificial row extentmp
- MetadataPrinter to useColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCrosstabResults(java.io.PrintWriter pw, DataAccess da, int colBound, int rowBound, java.lang.String type, MetadataPrinter mp) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpcolBound
- artificial column extentrowBound
- artificial row extenttype
- type of labels to dumpmp
- MetadataPrinter to useColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCrosstabResults(java.io.PrintWriter pw, DataAccess da, int colBound, int rowBound, java.lang.String type, MetadataPrinter mp, java.text.DecimalFormat df) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumpcolBound
- artificial column extentrowBound
- artificial row extenttype
- type of labels to dumpmp
- MetadataPrinter to usedf
- DecimalFormat to use for data body output, if numericColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalidpublic static void dumpCrosstabResults(java.io.PrintWriter pw, DataAccess da, int colBound, int rowBound, java.lang.String type, boolean outline, MetadataPrinter mp, java.text.DecimalFormat df) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
public static void dumpCrosstabResults(java.io.PrintWriter pw, DataAccess da, int colBound, int rowBound, java.lang.String type, java.lang.String dataType, boolean outline, MetadataPrinter mp, java.text.DecimalFormat df) throws ColumnOutOfRangeException, RowOutOfRangeException, LayerOutOfRangeException, SliceOutOfRangeException, EdgeOutOfRangeException
pw
- PrintWriter to dump toda
- DataAccess to dumptype
- type of labels to dumpoutline
- true if print in outline modemp
- MetadataPrinter to usedf
- DecimalFormat to use for data body output, if numericColumnOutOfRangeException
- if the data column is invalidRowOutOfRangeException
- if the data row is invalidEdgeOutOfRangeException
- if the edge is invalidLayerOutOfRangeException
- if the layer is invalidSliceOutOfRangeException
- if the slice is invalid