|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.cone.SequentialResultRowSequence
public class SequentialResultRowSequence
Straightforward implementation of ConeResultRowSequence based on a ConeQueryRowSequence.
Constructor Summary | |
---|---|
SequentialResultRowSequence(ConeQueryRowSequence querySeq,
ConeSearcher coneSearcher,
boolean bestOnly,
String distanceCol)
Constructor. |
Method Summary | |
---|---|
void |
close()
|
Object |
getCell(int icol)
|
uk.ac.starlink.table.StarTable |
getConeResult()
Returns the result of the cone search for the current row of this sequence. |
double |
getDec()
Get central declination for the current row's cone search request in degrees. |
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. |
Object[] |
getRow()
|
boolean |
next()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequentialResultRowSequence(ConeQueryRowSequence querySeq, ConeSearcher coneSearcher, boolean bestOnly, String distanceCol)
querySeq
- sequence providing cone search query parametersconeSearcher
- cone search implementationbestOnly
- whether all results or just best are requireddistanceCol
- name of column to hold distance information
in output table, or nullMethod Detail |
---|
public uk.ac.starlink.table.StarTable getConeResult() throws IOException
ConeResultRowSequence
ConeMatcher.getConeResult(uk.ac.starlink.ttools.cone.ConeSearcher, boolean, java.lang.String, double, double, double)
.
If no records in the cone are found, the return value may either be null or (preferably) an empty table with the correct columns.
getConeResult
in interface ConeResultRowSequence
IOException
public boolean next() throws IOException
next
in interface uk.ac.starlink.table.RowSequence
IOException
public Object getCell(int icol) throws IOException
getCell
in interface uk.ac.starlink.table.RowSequence
IOException
public Object[] getRow() throws IOException
getRow
in interface uk.ac.starlink.table.RowSequence
IOException
public void close() throws IOException
close
in interface uk.ac.starlink.table.RowSequence
IOException
public double getDec() throws IOException
ConeQueryRowSequence
getDec
in interface ConeQueryRowSequence
IOException
public double getRa() throws IOException
ConeQueryRowSequence
getRa
in interface ConeQueryRowSequence
IOException
public double getRadius() throws IOException
ConeQueryRowSequence
getRadius
in interface ConeQueryRowSequence
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |