|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.data.DataFrameBuilder
public class DataFrameBuilder
Builds a DataFrame from the pieces added in the add methods.
Nested Class Summary | |
---|---|
static class |
DataFrameBuilder.AxesBuilder
|
private static class |
DataFrameBuilder.BuilderDataFrame
|
Field Summary | |
---|---|
private DataFrameBuilder.AxesBuilder |
axesBuilder
|
private DataFrameBuilder.BuilderDataFrame |
frame
|
private java.util.Set<Dataset> |
sets
|
Constructor Summary | |
---|---|
DataFrameBuilder()
|
Method Summary | |
---|---|
DataFrameBuilder |
addAxis(DataFrameAxis axis)
Adds a DataFrameAxis to the frame that this builder is creating. |
DataFrameBuilder |
addDataset(java.util.Collection<Dataset> sets)
Adds the specified Datasets to the frame that this builder is creating. |
DataFrameBuilder |
addDataset(Dataset set)
Adds a Dataset to the frame that this builder is creating. |
DataFrame |
createDataFrame()
Creates a DataFrame from the Datasets, Array and so forth that have been set or added to this DataFrameBuilder. |
void |
reset()
Resets this DataFrameBuilder clearing any previously added Datasets and so forth. |
DataFrameBuilder |
setArray(ucar.ma2.Array array)
Sets the Array contained by the DataFrame that this builder will create. |
DataFrameBuilder |
setVariable(Variable var)
Sets the Variable contained by the DataFrame that this builder will create. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private DataFrameBuilder.BuilderDataFrame frame
private DataFrameBuilder.AxesBuilder axesBuilder
private java.util.Set<Dataset> sets
Constructor Detail |
---|
public DataFrameBuilder()
Method Detail |
---|
public DataFrameBuilder addDataset(Dataset set)
set
- the DataSet to add.
public DataFrameBuilder addDataset(java.util.Collection<Dataset> sets)
sets
- the DataSets to add.
public DataFrameBuilder setArray(ucar.ma2.Array array)
array
- the array for the DataFrame
public DataFrameBuilder setVariable(Variable var)
var
- the Variable for the DataFrame
public DataFrameBuilder addAxis(DataFrameAxis axis)
axis
- the axis to add.
public DataFrame createDataFrame()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |