DataSpec
public class JELDataSpec extends AbstractDataSpec
Constructor | Description |
---|---|
JELDataSpec(uk.ac.starlink.table.StarTable table,
java.lang.String maskExpr,
CoordValue[] coordValues) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
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 ic) |
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.
|
java.lang.String[] |
getCoordExpressions(int ic) |
Returns the user input strings used to supply the value for a given
coordinate in this DataSpec.
|
java.lang.Object |
getCoordId(int ic) |
Returns an identifier for one of the the columns produced by this object.
|
java.lang.Object |
getMaskId() |
Returns an identifier for the row mask for this object.
|
uk.ac.starlink.table.StarTable |
getSourceTable() |
Returns the table object from which this data spec's data is obtained.
|
uk.ac.starlink.table.ValueInfo[] |
getUserCoordInfos(int ic) |
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.
|
equals, hashCode
public JELDataSpec(uk.ac.starlink.table.StarTable table, java.lang.String maskExpr, CoordValue[] coordValues) throws uk.ac.starlink.task.TaskException
table
- table containing datamaskExpr
- JEL boolean expression giving mask inclusion;
null may be used to indicate unconditional inclusioncoordValues
- coordinate definitions for which columns
are required, along with the JEL expressions
for their valuesuk.ac.starlink.task.TaskException
public uk.ac.starlink.table.StarTable getSourceTable()
DataSpec
public int getCoordCount()
DataSpec
public java.lang.Object getCoordId(int ic)
DataSpec
ic
- column indexpublic Coord getCoord(int ic)
DataSpec
ic
- column indexpublic java.lang.Object getMaskId()
DataSpec
public uk.ac.starlink.table.ValueInfo[] getUserCoordInfos(int ic)
DataSpec
ic
- column indexpublic UserDataReader createUserDataReader()
DataSpec
public boolean isCoordBlank(int icoord)
DataSpec
icoord
- column indexpublic java.lang.String[] getCoordExpressions(int ic)
ic
- coordinate indexCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.