Package uk.ac.starlink.ttools.cone
Interface ConeQueryRowSequence
-
- All Superinterfaces:
uk.ac.starlink.table.RowSequence
- All Known Subinterfaces:
ConeResultRowSequence
- All Known Implementing Classes:
ColumnQueryRowSequence
,ParallelResultRowSequence
,SequentialResultRowSequence
,WrapperQuerySequence
public interface ConeQueryRowSequence extends uk.ac.starlink.table.RowSequence
RowSequence sub-interface which additionally defines methods for retrieving RA, Dec search radius and row index for each row.- Since:
- 16 Oct 2007
- Author:
- Mark Taylor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getDec()
Get central declination for the current row's cone search request in degrees.long
getIndex()
Get the index in the underlying table to which the current row relates.double
getRa()
Get central right ascension for the current row's cone search request in degrees.double
getRadius()
Get search radius for the current row's cone search request in degrees.
-
-
-
Method Detail
-
getRa
double getRa() throws java.io.IOException
Get central right ascension for the current row's cone search request in degrees.- Returns:
- right ascension
- Throws:
java.io.IOException
-
getDec
double getDec() throws java.io.IOException
Get central declination for the current row's cone search request in degrees.- Returns:
- declination
- Throws:
java.io.IOException
-
getRadius
double getRadius() throws java.io.IOException
Get search radius for the current row's cone search request in degrees.- Returns:
- search radius
- Throws:
java.io.IOException
-
getIndex
long getIndex() throws java.io.IOException
Get the index in the underlying table to which the current row relates. The identity of this underlying table is not specified by this interface, but must be understood by the creator and user of instances. In particular, the return value does not necessarily increment by one for each call tonext
.- Returns:
- row index
- Throws:
java.io.IOException
-
-