public class SimpleDataStoreFactory extends java.lang.Object implements DataStoreFactory, DataStore
| Constructor and Description |
|---|
SimpleDataStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
TupleSequence |
getTupleSequence(DataSpec spec)
Returns the data described by a given DataSpec as a sequence of
tuples.
|
static uk.ac.starlink.table.DomainMapper[] |
getUserCoordMappers(DataSpec dataSpec,
int icoord)
Utility method to work out the domain mappers for a given
coordinate of a DataSpec.
|
boolean |
hasData(DataSpec spec)
Indicates whether this store has the data described by a given
DataSpec.
|
DataStore |
readDataStore(DataSpec[] specs,
DataStore prevStore)
Executes instantly and returns this object.
|
public boolean hasData(DataSpec spec)
DataStorepublic DataStore readDataStore(DataSpec[] specs, DataStore prevStore)
readDataStore in interface DataStoreFactoryspecs - data specifications; some elements may be nullprevStore - previously obtained DataStore, or nullpublic TupleSequence getTupleSequence(DataSpec spec)
DataStoreDataStore.hasData(uk.ac.starlink.ttools.plot2.data.DataSpec) returns true for the
given DataSpec; if not, behaviour is undefined.getTupleSequence in interface DataStorespec - plot data specification objectpublic static uk.ac.starlink.table.DomainMapper[] getUserCoordMappers(DataSpec dataSpec, int icoord)
dataSpec - data specification objecticoord - index of coordinate in dataSpecCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.