public class D4DataCompoundArray extends D4DataVariable implements DataCompoundArray
dspsort, template| Constructor and Description |
|---|
D4DataCompoundArray(D4DSP dsp,
DapVariable dv) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(DataCompound di) |
long |
getCount()
Get the total number of elements in the variable array.
|
DapVariable |
getDapVariable() |
D4DSP |
getDSP() |
DataSort |
getElementSort()
Get the element sort; currently returns only DataSort.{SEQUENCE,STRUCTURE}
|
void |
read(java.util.List<Slice> slices,
DataCompound[] data)
Read multiple values at once.
|
DataCompound |
read(long index)
Provide a read of a single value at a given index in a variable.
|
getVariablecomputesort, getSort, getTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVariablegetSort, getTemplatepublic D4DataCompoundArray(D4DSP dsp, DapVariable dv) throws DataException
DataExceptionpublic D4DSP getDSP()
getDSP in class D4DataVariablepublic DapVariable getDapVariable()
public void addElement(DataCompound di)
public DataSort getElementSort()
DataCompoundArraygetElementSort in interface DataCompoundArraypublic long getCount()
DataCompoundArraygetCount in interface DataCompoundArraypublic void read(java.util.List<Slice> slices, DataCompound[] data) throws DataException
DataCompoundArrayread in interface DataCompoundArrayslices - slices constraining what is to be returned.data - the array into which the values are returnedDataExceptionpublic DataCompound read(long index) throws DataException
DataCompoundArrayread in interface DataCompoundArrayindex - of the value to read.DataException