public abstract class AbstractCursor extends java.lang.Object implements DataCursor
DataCursor.Scheme
Modifier and Type | Field and Description |
---|---|
protected Index |
arrayindex |
protected AbstractCursor |
container |
protected DSP |
dsp |
protected long |
recordcount |
protected long |
recordindex |
protected DataCursor.Scheme |
scheme |
protected DapNode |
template |
Constructor and Description |
---|
AbstractCursor(AbstractCursor orig) |
AbstractCursor(DataCursor.Scheme scheme,
DSP dsp,
DapNode template,
AbstractCursor container) |
Modifier and Type | Method and Description |
---|---|
int |
fieldIndex(java.lang.String name) |
AbstractCursor |
getContainer() |
DSP |
getDSP() |
Index |
getIndex() |
long |
getRecordCount() |
long |
getRecordIndex() |
DataCursor.Scheme |
getScheme() |
DapNode |
getTemplate() |
boolean |
isAtomic() |
boolean |
isCompound() |
boolean |
isCompoundArray() |
boolean |
isField() |
boolean |
isScalar() |
abstract java.lang.Object |
read(Index index) |
abstract java.lang.Object |
read(java.util.List<Slice> slices) |
abstract AbstractCursor |
readField(int fieldindex) |
abstract AbstractCursor |
readRecord(long i) |
static DataCursor.Scheme |
schemeFor(DapVariable field) |
AbstractCursor |
setContainer(AbstractCursor container) |
AbstractCursor |
setDSP(DSP dsp) |
AbstractCursor |
setIndex(Index index) |
AbstractCursor |
setRecordCount(long count) |
AbstractCursor |
setRecordIndex(long index) |
AbstractCursor |
setScheme(DataCursor.Scheme scheme) |
AbstractCursor |
setTemplate(DapNode template) |
java.lang.String |
toString() |
protected DataCursor.Scheme scheme
protected DSP dsp
protected DapNode template
protected Index arrayindex
protected long recordindex
protected AbstractCursor container
protected long recordcount
public AbstractCursor(DataCursor.Scheme scheme, DSP dsp, DapNode template, AbstractCursor container)
public AbstractCursor(AbstractCursor orig)
public java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.Object read(java.util.List<Slice> slices) throws DapException
read
in interface DataCursor
DapException
public abstract java.lang.Object read(Index index) throws DapException
read
in interface DataCursor
DapException
public abstract AbstractCursor readRecord(long i) throws DapException
readRecord
in interface DataCursor
DapException
public abstract AbstractCursor readField(int fieldindex) throws DapException
readField
in interface DataCursor
DapException
public int fieldIndex(java.lang.String name) throws DapException
fieldIndex
in interface DataCursor
DapException
public DataCursor.Scheme getScheme()
getScheme
in interface DataCursor
public DSP getDSP()
getDSP
in interface DataCursor
public DapNode getTemplate()
getTemplate
in interface DataCursor
public Index getIndex() throws DapException
getIndex
in interface DataCursor
DapException
public long getRecordIndex() throws DapException
getRecordIndex
in interface DataCursor
DapException
public long getRecordCount() throws DapException
getRecordCount
in interface DataCursor
DapException
public AbstractCursor getContainer()
getContainer
in interface DataCursor
public boolean isScalar()
isScalar
in interface DataCursor
public boolean isField()
isField
in interface DataCursor
public boolean isAtomic()
public boolean isCompound()
public boolean isCompoundArray()
public AbstractCursor setIndex(Index index)
public AbstractCursor setRecordIndex(long index)
public AbstractCursor setRecordCount(long count)
public AbstractCursor setContainer(AbstractCursor container)
public AbstractCursor setScheme(DataCursor.Scheme scheme)
public AbstractCursor setDSP(DSP dsp)
public AbstractCursor setTemplate(DapNode template)
public static DataCursor.Scheme schemeFor(DapVariable field)