Constructor and Description |
---|
StepDataStore(DataStore base,
int step)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TupleRunner |
getTupleRunner()
Returns an object that manages iteration over tuples.
|
TupleSequence |
getTupleSequence(DataSpec spec)
Returns the data described by a given DataSpec as a sequence of
tuples.
|
boolean |
hasData(DataSpec spec)
Indicates whether this store has the data described by a given
DataSpec.
|
public StepDataStore(DataStore base, int step)
base
- base data store to which most behaviour is delegatedstep
- stride indicating the size of the subsample;
step=1 means all rows, step=2 means every other one etcpublic TupleSequence getTupleSequence(DataSpec spec)
DataStore
DataStore.hasData(uk.ac.starlink.ttools.plot2.data.DataSpec)
returns true for the
given DataSpec; if not, behaviour is undefined.getTupleSequence
in interface DataStore
spec
- plot data specification objectpublic boolean hasData(DataSpec spec)
DataStore
public TupleRunner getTupleRunner()
DataStore
getTupleRunner
in interface DataStore
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.