Package uk.ac.starlink.ttools.cone
Class JELQuerySequenceFactory
java.lang.Object
uk.ac.starlink.ttools.cone.JELQuerySequenceFactory
- All Implemented Interfaces:
QuerySequenceFactory
QuerySequenceFactory which uses JEL expressions for RA, Dec and SR.
- Since:
- 16 Oct 2007
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionJELQuerySequenceFactory
(String raExpr, String decExpr, String srExpr) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreateQuerySequence
(uk.ac.starlink.table.StarTable table) Creates a query sequence.
-
Constructor Details
-
JELQuerySequenceFactory
Constructor. The JEL expressions will be resolved using the column names of the supplied table when the factory method is called.- Parameters:
raExpr
- JEL expression for right ascension in degrees; if null a guess will be attempteddecExpr
- JEL expression for declination in degrees; if null a guess will be attemptedsrExpr
- JEL expression for search radius in degrees
-
-
Method Details
-
createQuerySequence
public ConeQueryRowSequence createQuerySequence(uk.ac.starlink.table.StarTable table) throws IOException Description copied from interface:QuerySequenceFactory
Creates a query sequence.- Specified by:
createQuerySequence
in interfaceQuerySequenceFactory
- Parameters:
table
- input table- Throws:
IOException
-