Package uk.ac.starlink.ttools.cone
Class JELQuerySequenceFactory
- java.lang.Object
-
- uk.ac.starlink.ttools.cone.JELQuerySequenceFactory
-
- All Implemented Interfaces:
QuerySequenceFactory
public class JELQuerySequenceFactory extends java.lang.Object implements QuerySequenceFactory
QuerySequenceFactory which uses JEL expressions for RA, Dec and SR.- Since:
- 16 Oct 2007
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description JELQuerySequenceFactory(java.lang.String raExpr, java.lang.String decExpr, java.lang.String srExpr)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConeQueryRowSequence
createQuerySequence(uk.ac.starlink.table.StarTable table)
Creates a query sequence.
-
-
-
Constructor Detail
-
JELQuerySequenceFactory
public JELQuerySequenceFactory(java.lang.String raExpr, java.lang.String decExpr, java.lang.String srExpr)
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 Detail
-
createQuerySequence
public ConeQueryRowSequence createQuerySequence(uk.ac.starlink.table.StarTable table) throws java.io.IOException
Description copied from interface:QuerySequenceFactory
Creates a query sequence.- Specified by:
createQuerySequence
in interfaceQuerySequenceFactory
- Parameters:
table
- input table- Throws:
java.io.IOException
-
-