org.virbo.dataset
Class TableDataSetAdapter

java.lang.Object
  extended by org.virbo.dataset.TableDataSetAdapter
All Implemented Interfaces:
org.das2.dataset.DataSet, org.das2.dataset.TableDataSet

public class TableDataSetAdapter
extends java.lang.Object
implements org.das2.dataset.TableDataSet


Field Summary
 
Fields inherited from interface org.das2.dataset.DataSet
PROPERTY_CACHE_TAG, PROPERTY_FORMATTER, PROPERTY_PLANE_PEAKS, PROPERTY_PLANE_WEIGHTS, PROPERTY_RENDERER, PROPERTY_SIZE_BYTES, PROPERTY_X_LABEL, PROPERTY_X_MONOTONIC, PROPERTY_X_RANGE, PROPERTY_X_TAG_WIDTH, PROPERTY_Y_LABEL, PROPERTY_Y_RANGE, PROPERTY_Y_SCALETYPE, PROPERTY_Y_TAG_WIDTH, PROPERTY_Z_LABEL, PROPERTY_Z_RANGE, PROPERTY_Z_SCALETYPE
 
Constructor Summary
TableDataSetAdapter(QDataSet z, QDataSet x, QDataSet y)
          Creates a new instance of TableDataSetAdapter
 
Method Summary
static org.das2.dataset.TableDataSet create(QDataSet z)
           
 org.das2.datum.Datum getDatum(int i, int j)
           
 double getDouble(int i, int j, org.das2.datum.Units units)
           
 double[] getDoubleScan(int i, org.das2.datum.Units units)
           
 int getInt(int i, int j, org.das2.datum.Units units)
           
 org.das2.dataset.DataSet getPlanarView(java.lang.String planeID)
           
 java.lang.String[] getPlaneIds()
           
 java.util.Map getProperties()
           
 java.lang.Object getProperty(int table, java.lang.String name)
           
 java.lang.Object getProperty(java.lang.String name)
           
 org.das2.datum.DatumVector getScan(int i)
           
 int getXLength()
           
 org.das2.dataset.VectorDataSet getXSlice(int i)
           
 org.das2.datum.Datum getXTagDatum(int i)
           
 double getXTagDouble(int i, org.das2.datum.Units units)
           
 int getXTagInt(int i, org.das2.datum.Units units)
           
 org.das2.datum.Units getXUnits()
           
 int getYLength(int table)
           
 org.das2.dataset.VectorDataSet getYSlice(int j, int table)
           
 org.das2.datum.Datum getYTagDatum(int table, int j)
           
 double getYTagDouble(int table, int j, org.das2.datum.Units units)
           
 int getYTagInt(int table, int j, org.das2.datum.Units units)
           
 org.das2.datum.DatumVector getYTags(int table)
           
 org.das2.datum.Units getYUnits()
           
 org.das2.datum.Units getZUnits()
           
 int tableCount()
           
 int tableEnd(int table)
           
 int tableOfIndex(int i)
           
 int tableStart(int table)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableDataSetAdapter

public TableDataSetAdapter(QDataSet z,
                           QDataSet x,
                           QDataSet y)
Creates a new instance of TableDataSetAdapter

Method Detail

create

public static org.das2.dataset.TableDataSet create(QDataSet z)

getZUnits

public org.das2.datum.Units getZUnits()
Specified by:
getZUnits in interface org.das2.dataset.TableDataSet

getDatum

public org.das2.datum.Datum getDatum(int i,
                                     int j)
Specified by:
getDatum in interface org.das2.dataset.TableDataSet

getDouble

public double getDouble(int i,
                        int j,
                        org.das2.datum.Units units)
Specified by:
getDouble in interface org.das2.dataset.TableDataSet

getDoubleScan

public double[] getDoubleScan(int i,
                              org.das2.datum.Units units)
Specified by:
getDoubleScan in interface org.das2.dataset.TableDataSet

getScan

public org.das2.datum.DatumVector getScan(int i)
Specified by:
getScan in interface org.das2.dataset.TableDataSet

getInt

public int getInt(int i,
                  int j,
                  org.das2.datum.Units units)
Specified by:
getInt in interface org.das2.dataset.TableDataSet

getYTags

public org.das2.datum.DatumVector getYTags(int table)
Specified by:
getYTags in interface org.das2.dataset.TableDataSet

getYTagDatum

public org.das2.datum.Datum getYTagDatum(int table,
                                         int j)
Specified by:
getYTagDatum in interface org.das2.dataset.TableDataSet

getYTagDouble

public double getYTagDouble(int table,
                            int j,
                            org.das2.datum.Units units)
Specified by:
getYTagDouble in interface org.das2.dataset.TableDataSet

getYTagInt

public int getYTagInt(int table,
                      int j,
                      org.das2.datum.Units units)
Specified by:
getYTagInt in interface org.das2.dataset.TableDataSet

getYLength

public int getYLength(int table)
Specified by:
getYLength in interface org.das2.dataset.TableDataSet

tableStart

public int tableStart(int table)
Specified by:
tableStart in interface org.das2.dataset.TableDataSet

tableEnd

public int tableEnd(int table)
Specified by:
tableEnd in interface org.das2.dataset.TableDataSet

tableCount

public int tableCount()
Specified by:
tableCount in interface org.das2.dataset.TableDataSet

tableOfIndex

public int tableOfIndex(int i)
Specified by:
tableOfIndex in interface org.das2.dataset.TableDataSet

getXSlice

public org.das2.dataset.VectorDataSet getXSlice(int i)
Specified by:
getXSlice in interface org.das2.dataset.TableDataSet

getYSlice

public org.das2.dataset.VectorDataSet getYSlice(int j,
                                                int table)
Specified by:
getYSlice in interface org.das2.dataset.TableDataSet

getProperty

public java.lang.Object getProperty(java.lang.String name)
Specified by:
getProperty in interface org.das2.dataset.DataSet

getProperty

public java.lang.Object getProperty(int table,
                                    java.lang.String name)
Specified by:
getProperty in interface org.das2.dataset.TableDataSet

getProperties

public java.util.Map getProperties()
Specified by:
getProperties in interface org.das2.dataset.DataSet

getXUnits

public org.das2.datum.Units getXUnits()
Specified by:
getXUnits in interface org.das2.dataset.DataSet

getYUnits

public org.das2.datum.Units getYUnits()
Specified by:
getYUnits in interface org.das2.dataset.DataSet

getXTagDatum

public org.das2.datum.Datum getXTagDatum(int i)
Specified by:
getXTagDatum in interface org.das2.dataset.DataSet

getXTagDouble

public double getXTagDouble(int i,
                            org.das2.datum.Units units)
Specified by:
getXTagDouble in interface org.das2.dataset.DataSet

getXTagInt

public int getXTagInt(int i,
                      org.das2.datum.Units units)
Specified by:
getXTagInt in interface org.das2.dataset.DataSet

getXLength

public int getXLength()
Specified by:
getXLength in interface org.das2.dataset.DataSet

getPlanarView

public org.das2.dataset.DataSet getPlanarView(java.lang.String planeID)
Specified by:
getPlanarView in interface org.das2.dataset.DataSet

getPlaneIds

public java.lang.String[] getPlaneIds()
Specified by:
getPlaneIds in interface org.das2.dataset.DataSet

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object