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.Objectpublic abstract java.lang.Object read(java.util.List<Slice> slices) throws DapException
read in interface DataCursorDapExceptionpublic abstract java.lang.Object read(Index index) throws DapException
read in interface DataCursorDapExceptionpublic abstract AbstractCursor readRecord(long i) throws DapException
readRecord in interface DataCursorDapExceptionpublic abstract AbstractCursor readField(int fieldindex) throws DapException
readField in interface DataCursorDapExceptionpublic int fieldIndex(java.lang.String name)
throws DapException
fieldIndex in interface DataCursorDapExceptionpublic DataCursor.Scheme getScheme()
getScheme in interface DataCursorpublic DSP getDSP()
getDSP in interface DataCursorpublic DapNode getTemplate()
getTemplate in interface DataCursorpublic Index getIndex() throws DapException
getIndex in interface DataCursorDapExceptionpublic long getRecordIndex()
throws DapException
getRecordIndex in interface DataCursorDapExceptionpublic long getRecordCount()
throws DapException
getRecordCount in interface DataCursorDapExceptionpublic AbstractCursor getContainer()
getContainer in interface DataCursorpublic boolean isScalar()
isScalar in interface DataCursorpublic boolean isField()
isField in interface DataCursorpublic 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)