|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableQueryResult
This interface defines the methods required to access tabular query results. It extends QueryResult, since it represents the result of a catalog query. It extends TableModel to make it easy to display in a JTable. It also extends Catalog, so that it is posible to search again in the result of a previous query.
Field Summary |
---|
Fields inherited from interface jsky.catalog.Catalog |
---|
ARCHIVE, CATALOG, DIRECTORY, IMAGE_SERVER, LOCAL, NAME_SERVER |
Method Summary | |
---|---|
Catalog |
getCatalog()
Return the catalog used to create this table, or a dummy, generated catalog object, if not known. |
FieldDesc |
getColumnDesc(int i)
Return a description of the ith table column field |
java.util.Vector |
getColumnIdentifiers()
Return a vector of column headings for this table. |
int |
getColumnIndex(java.lang.String name)
Return the table column index for the given column name |
Coordinates |
getCoordinates(int rowIndex)
Return a Coordinates object based on the appropriate columns in the given row, or null if there are no coordinates available for the row. |
java.util.Vector |
getDataVector()
Returns the Vector of Vectors that contains the table's data values. |
QueryArgs |
getQueryArgs()
Return the object representing the arguments to the query that resulted in this table, if known, otherwise null. |
RowCoordinates |
getRowCoordinates()
Return an object describing the columns that can be used to search this catalog. |
WorldCoordinates |
getWCSCenter()
Return the center coordinates for this table from the query arguments, if known, otherwise return the coordinates of the first row, or null if there are no world coordinates available. |
boolean |
hasCoordinates()
Return true if the table has coordinate columns, such as (ra, dec) |
boolean |
isMore()
Return true if the result was truncated and more data would have been available |
void |
setQueryArgs(QueryArgs queryArgs)
Set the object representing the arguments to the query that resulted in this table. |
Methods inherited from interface jsky.catalog.Catalog |
---|
clone, getDescription, getDocURL, getId, getName, getNumParams, getParamDesc, getParamDesc, getParent, getPath, getTitle, getType, isImageServer, isLocal, query, setName, setParent, setRegionArgs |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
---|
java.util.Vector getDataVector()
FieldDesc getColumnDesc(int i)
int getColumnIndex(java.lang.String name)
java.util.Vector getColumnIdentifiers()
boolean hasCoordinates()
Coordinates getCoordinates(int rowIndex)
RowCoordinates getRowCoordinates()
WorldCoordinates getWCSCenter()
QueryArgs getQueryArgs()
void setQueryArgs(QueryArgs queryArgs)
boolean isMore()
Catalog getCatalog()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |