Package uk.ac.starlink.ttools.cone
Class WrapperQuerySequence
java.lang.Object
uk.ac.starlink.table.WrapperRowSequence
uk.ac.starlink.ttools.cone.WrapperQuerySequence
- All Implemented Interfaces:
Closeable,AutoCloseable,uk.ac.starlink.table.RowData,uk.ac.starlink.table.RowSequence,ConeQueryRowSequence,uk.ac.starlink.util.Sequence
public class WrapperQuerySequence
extends uk.ac.starlink.table.WrapperRowSequence
implements ConeQueryRowSequence
ConeQueryRowSequence implementation which delegates all methods to
a supplied instance.
- Since:
- 14 May 2014
- Author:
- Mark Taylor
-
Field Summary
Fields inherited from class uk.ac.starlink.table.WrapperRowSequence
baseSeq -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDec()Get central declination for the current row's cone search request in degrees.longgetIndex()Get the index in the underlying table to which the current row relates.doublegetRa()Get central right ascension for the current row's cone search request in degrees.doubleGet search radius for the current row's cone search request in degrees.Methods inherited from class uk.ac.starlink.table.WrapperRowSequence
close, getCell, getRow, next, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface uk.ac.starlink.table.RowSequence
close, getCell, getRow, next
-
Constructor Details
-
WrapperQuerySequence
Constructor.- Parameters:
base- base sequence
-
-
Method Details
-
getRa
Description copied from interface:ConeQueryRowSequenceGet central right ascension for the current row's cone search request in degrees.- Specified by:
getRain interfaceConeQueryRowSequence- Returns:
- right ascension
- Throws:
IOException
-
getDec
Description copied from interface:ConeQueryRowSequenceGet central declination for the current row's cone search request in degrees.- Specified by:
getDecin interfaceConeQueryRowSequence- Returns:
- declination
- Throws:
IOException
-
getRadius
Description copied from interface:ConeQueryRowSequenceGet search radius for the current row's cone search request in degrees.- Specified by:
getRadiusin interfaceConeQueryRowSequence- Returns:
- search radius
- Throws:
IOException
-
getIndex
Description copied from interface:ConeQueryRowSequenceGet 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.- Specified by:
getIndexin interfaceConeQueryRowSequence- Returns:
- row index
- Throws:
IOException
-