public interface DataAtomic extends DataVariable
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Get the total number of elements in the atomic array.
|
long |
getElementSize()
Get the s ize of a single element in bytes; 0 => undefined
|
DapType |
getType()
Get the type of this atomic variable
|
void |
read(java.util.List<Slice> constraint,
java.lang.Object data,
long offset)
Read of multiple values at once.
|
java.lang.Object |
read(long index)
Provide a read of a single value at a given offset in a (possibly dimensioned)
atomic valued variable.
|
getVariable
getSort, getTemplate
DapType getType()
long getCount()
long getElementSize()
void read(java.util.List<Slice> constraint, java.lang.Object data, long offset) throws DataException
constraint
- the set of slices defining which values to returndata
- the array into which the values are returnedoffset
- the offset into data into which to readDataException
java.lang.Object read(long index) throws DataException
DataException