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(List<Slice> constraint,
Object data,
long offset)
Read of multiple values at once.
|
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(List<Slice> constraint, 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
Object read(long index) throws DataException
DataException
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.