Constructor and Description |
---|
StepDataStore(DataStore base,
int step)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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 objectCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.