mysql
Class Ucac2Database
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
mysql.GenericSql
mysql.GenericStarDatabase
mysql.Ucac2Database
- All Implemented Interfaces:
- Cloneable, ExitCleaning, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
public class Ucac2Database
- extends GenericStarDatabase
An access class tailored to work with the merged databases UCAC2 and the
bright star supplement. The database was set up by J. Bartus and resides on
furmint.
|
Field Summary |
private static String |
DEFDECALC
The default de-expression for the UCAC2 database. |
private static String |
DEFMAGCALC
The default mag-expression for the UCAC2 database. |
private static String |
DEFRACALC
The default ra-expression for the UCAC2 database. |
static double |
DEGTOMILLIARCSEC
Converts degrees to milliarcseconds. |
static String |
UCAC2DATABASE
The properties for connecting to the UCAC2 database on furmint. |
| Methods inherited from class mysql.GenericSql |
allColumns, canRead, canWrite, close, delete, exit, getConnection, getStatement, init, insert, isOpen, isReady, join, open, replace, retrieve, retrieve |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from interface util.PropertySupplying |
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
UCAC2DATABASE
public static final String UCAC2DATABASE
- The properties for connecting to the UCAC2 database on furmint.
- See Also:
- Constant Field Values
DEGTOMILLIARCSEC
public static final double DEGTOMILLIARCSEC
- Converts degrees to milliarcseconds.
- See Also:
- Constant Field Values
DEFRACALC
private static final String DEFRACALC
- The default ra-expression for the UCAC2 database.
- See Also:
- Constant Field Values
DEFDECALC
private static final String DEFDECALC
- The default de-expression for the UCAC2 database.
- See Also:
- Constant Field Values
DEFMAGCALC
private static final String DEFMAGCALC
- The default mag-expression for the UCAC2 database.
- See Also:
- Constant Field Values
Ucac2Database
public Ucac2Database(Map prop)
- Constructs a new UCAC2-Database.
getCircularField
public ResultSet getCircularField(StarDescription center,
double radius)
- Queries the UCAC2 database. From the central star/position
StarDescription object and the circular radius, a prepared
statement callable statement is executed and from it the entire
result set is retrieved.
- Specified by:
getCircularField in class GenericStarDatabase
- Parameters:
center - The central star/position.radius - Radius of the circular field around the center, degrees.