org.das2.dataset.TableDataSetBuilder

Handles 1-N planes of table data. Update Note: Historically by default there was an un-named plane, that was always present in the builder. I removed that so that all planes could have a name, it probably breaks lots of stuff so extensive tests are needed before this change is committed. -cwp 2014-09-22

TableDataSetBuilder( Units xUnits, Units yUnits, Units zUnits )

Creates a new instance of TableDataSetBuilder with a default plane A single plane with the empty string as it's name is defined.

TableDataSetBuilder( Units xUnits, Units yUnits, Units zUnits, String name )

Creates a new instance of TableDataSetBuilder with a named default plane


addPlane

addPlane( String name, Units zUnits ) → void

Parameters

name - a String
zUnits - an Units

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

addPlane( String name, Units zUnits, java.util.Map properties ) → void

addProperties

addProperties( java.util.Map map ) → void

Parameters

map - a java.util.Map

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


append

append( org.das2.dataset.TableDataSet tds ) → void

Parameters

tds - a TableDataSet

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getProperty

getProperty( String name ) → Object

Parameters

name - a String

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXLength

getXLength( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXTag

getXTag( int i ) → double

Parameters

i - an int

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


insertYScan

insertYScan( Datum x, org.das2.datum.DatumVector y, org.das2.datum.DatumVector z ) → void

Parameters

x - a Datum
y - a DatumVector
z - a DatumVector

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

insertYScan( Datum x, org.das2.datum.DatumVector y, org.das2.datum.DatumVector z, String planeId ) → void
insertYScan( Datum xTag, org.das2.datum.DatumVector yTags, org.das2.datum.DatumVector[] scans, java.lang.String[] planeIDs ) → void

setPlaneProperties

setPlaneProperties( int table, java.util.Map properties ) → void

Parameters

table - an int
properties - a java.util.Map

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setProperty

setProperty( String name, Object value ) → void

Parameters

name - a String
value - an Object

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

setProperty( int table, String name, Object value ) → void

setXUnits

setXUnits( Units units ) → void

Parameters

units - an Units

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setYUnits

setYUnits( Units units ) → void

Parameters

units - an Units

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setZUnits

setZUnits( Units units ) → void

Parameters

units - an Units

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

setZUnits( Units units, String planeID ) → void

toString

toString( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


toTableDataSet

toTableDataSet( ) → TableDataSet

Returns:

org.das2.dataset.TableDataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]