public class D4DataCompoundArray extends D4DataVariable implements DataCompoundArray
dsp
sort, 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.
|
getVariable
computesort, getSort, getTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVariable
getSort, getTemplate
public D4DataCompoundArray(D4DSP dsp, DapVariable dv) throws DataException
DataException
public D4DSP getDSP()
getDSP
in class D4DataVariable
public DapVariable getDapVariable()
public void addElement(DataCompound di)
public DataSort getElementSort()
DataCompoundArray
getElementSort
in interface DataCompoundArray
public long getCount()
DataCompoundArray
getCount
in interface DataCompoundArray
public void read(java.util.List<Slice> slices, DataCompound[] data) throws DataException
DataCompoundArray
read
in interface DataCompoundArray
slices
- slices constraining what is to be returned.data
- the array into which the values are returnedDataException
public DataCompound read(long index) throws DataException
DataCompoundArray
read
in interface DataCompoundArray
index
- of the value to read.DataException