public class Ucac4Database extends HtmStarDatabase
| Modifier and Type | Class and Description |
|---|---|
static class |
Ucac4Database.Query |
static class |
Ucac4Database.WcsCat
WCSTOOLS 3.8.7 can work with proper motions on input, we convert to
arcsec.
|
AbstractSql.Columns, AbstractSql.ExtractPropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFCOLOR
Default column name.
|
private static String |
DEFDE
Default column name.
|
private static String |
DEFDEERR
Default column name.
|
private static String |
DEFHTM
Default column name.
|
private static int |
DEFHTMDEPTH
Default column name.
|
private static String |
DEFMAG
Default column name.
|
private static String |
DEFMAGERR
Default column name.
|
private static String |
DEFPMDE
Default column name.
|
private static String |
DEFPMRA
Default column name.
|
private static String |
DEFRA
Default column name.
|
private static String |
DEFRAERR
Default column name.
|
private static String |
DEFTABLE
Default table.
|
private static String |
DEFZID
Default column name.
|
private static String |
DEFZONE
Default column name.
|
static double |
DEGMARCSEC
Converts degrees to milliarcseconds.
|
static String |
KEY_DEERR
The key linked to the error of the declination, mas.
|
static String |
KEY_MAGERR
The key linked to the error of the magnitude.
|
static String |
KEY_RAERR
The key linked to the error of the right ascension, mas.
|
static String |
KEY_ZID
The key linked to the ID in the zone.
|
static String |
KEY_ZONE
The key linked to the zone number.
|
private String |
table
Currently queried table.
|
static String |
UCAC4DATABASE
The properties for connecting to the ppmxl db on stella.
|
KEY_COLOR, KEY_DE, KEY_EPOCH, KEY_EQUINOX, KEY_HTM, KEY_HTMDEPTH, KEY_MAG, KEY_NAME, KEY_PMDE, KEY_PMRA, KEY_RAKEY_TABLE, SQLBATCHDIR, SQLFAILDIRKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOMECONFIG, KEY_CLASS| Constructor and Description |
|---|
Ucac4Database(Map<String,String> prop)
Constructs a new generic star database.
|
| Modifier and Type | Method and Description |
|---|---|
List<Star> |
getCircularField(double ra,
double dec,
double radius,
boolean strict)
Takes a central star and a circular radius around it to convert it to a
database query result set, which is then passed to the
HtmStarDatabase.parseResultSet(java.sql.ResultSet) method. |
static Map<String,String> |
getDefaulProperites()
Returns the default properties for the ppmxl db on stella.aip.de
|
String |
getTable()
For querying faint stars we return the faint table name here.
|
protected SimpleStar |
parseResultSet(ResultSet rs)
We consider that ra, de are gien in milli-arcsec, so we divide by
3600000.
|
getCircularField, getHtmIndex, getHtmIndex, parseDefaultResultSetdelete, distinct, distinct, exit, getAccess, getDefaultArchive, getDefaultFormat, init, insert, isEntry, release, release, replace, retrieve, retrieve, retrieve, single, singleclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, 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, parseObject, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, 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, stringPropertiespublic static final String UCAC4DATABASE
public static final double DEGMARCSEC
public static final String KEY_ZONE
public static final String KEY_ZID
public static final String KEY_RAERR
public static final String KEY_DEERR
public static final String KEY_MAGERR
private static final String DEFTABLE
private static final int DEFHTMDEPTH
private static final String DEFHTM
private static final String DEFZONE
private static final String DEFZID
private static final String DEFRA
private static final String DEFRAERR
private static final String DEFDE
private static final String DEFDEERR
private static final String DEFPMRA
private static final String DEFPMDE
private static final String DEFMAG
private static final String DEFCOLOR
private static final String DEFMAGERR
private String table
public Ucac4Database(Map<String,String> prop)
SimpleStars. Keys
that are not defined mean that they are not present in the database.public static final Map<String,String> getDefaulProperites()
public String getTable()
getTable in class AbstractSqlpublic List<Star> getCircularField(double ra, double dec, double radius, boolean strict) throws SQLException
HtmStarDatabaseHtmStarDatabase.parseResultSet(java.sql.ResultSet) method.getCircularField in class HtmStarDatabasera - The central position, right ascension degrees.dec - The central position, declination degrees.radius - Radius of the circular field around the center, degrees.SQLExceptionprotected SimpleStar parseResultSet(ResultSet rs) throws SQLException
parseResultSet in class HtmStarDatabaseSQLException