public class ColumnDataSpec extends AbstractDataSpec
| Constructor and Description |
|---|
ColumnDataSpec(StarTable table,
Coord[] coords,
int[][] userCoordColIndices)
Constructs a ColumnDataSpec with default mappers.
|
ColumnDataSpec(StarTable table,
Coord[] coords,
int[][] userCoordColIndices,
DomainMapper[][] userCoordMappers)
Constructs a ColumnDataSpec with supplied mappers.
|
| Modifier and Type | Method and 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.
|
String |
getCoordId(int ic)
Returns an identifier for one of the the columns produced by this object.
|
String |
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 ic)
Returns the metadata, if known, for the values supplied by the user
to provide data for one of this object's output columns.
|
DomainMapper[] |
getUserCoordMappers(int ic)
Returns the domain mappers to use 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.
|
boolean |
isMaskTrue()
Returns true.
|
equals, hashCodepublic ColumnDataSpec(StarTable table, Coord[] coords, int[][] userCoordColIndices)
table - input tablecoords - coordinate definitions for which columns are requireduserCoordColIndices - nCoord-element array, each element an
array of column indices for the
table columns containing user values
for the corresponding Coordpublic ColumnDataSpec(StarTable table, Coord[] coords, int[][] userCoordColIndices, DomainMapper[][] userCoordMappers)
table - input tablecoords - coordinate definitions for which columns are requireduserCoordColIndices - nCoord-element array, each element an
array of column indices for the
table columns containing user values
for the corresponding CoorduserCoordMappers - nCoord-element array, each element an
array of domain mappers for the
table columns containing domain mappers
for the corresponding Coordpublic StarTable getSourceTable()
DataSpecpublic int getCoordCount()
DataSpecpublic String getCoordId(int ic)
DataSpecic - column indexpublic Coord getCoord(int ic)
DataSpecic - column indexpublic String getMaskId()
DataSpecpublic ValueInfo[] getUserCoordInfos(int ic)
DataSpecic - column indexpublic DomainMapper[] getUserCoordMappers(int ic)
DataSpecic - column indexpublic UserDataReader createUserDataReader()
DataSpecpublic boolean isMaskTrue()
public boolean isCoordBlank(int icoord)
DataSpecicoord - column indexCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.