|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Equality public interface DataSpec
Defines the table-like data that is required for a certain plot.
This object does not store the data itself, but can be passed to a
DataStore
object to obtain it.
A DataSpec has a small memory footprint, is cheap to produce,
and can be examined to determine what data is required.
The data specification is an aggregation of the following items:
Two DataSpecs should evaluate equal if their specification of the
above items have the same content, that is if they would generate
the same TupleSequence
when presented to a DataStore
.
Method Summary | |
---|---|
UserDataReader |
createUserDataReader()
Returns an object that can be used to read the mask and coordinate values from a row sequence derived from this object's source table. |
Coord |
getCoord(int icoord)
Returns the coord reader that can read the data for one of this object's output columns. |
int |
getCoordCount()
Returns the number of columns that this object produces. |
Object |
getCoordId(int icoord)
Returns an identifier for one of the the columns produced by this object. |
Object |
getMaskId()
Returns an identifier for the row mask for this object. |
StarTable |
getSourceTable()
Returns the table object from which this data spec's data is obtained. |
ValueInfo[] |
getUserCoordInfos(int icoord)
Returns the metadata, if known, for the values supplied by the user to provide data for one of this object's output columns. |
boolean |
isCoordBlank(int icoord)
Indicates whether the value for a given coord specified by this object is known to have a constant, blank value in all cases. |
Method Detail |
---|
StarTable getSourceTable()
int getCoordCount()
Object getMaskId()
Object getCoordId(int icoord)
icoord
- column index
Coord getCoord(int icoord)
icoord
- column index
ValueInfo[] getUserCoordInfos(int icoord)
icoord
- column index
UserDataReader createUserDataReader()
boolean isCoordBlank(int icoord)
icoord
- column index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |