public class NightStatSql extends AbstractSql
TelStatSql.
nightid | character varying(255) | not null | extended | | The day that starts at midnight in the format YYYYMMDD of the nigth in question
opentime | timestamp without time zone | not null | plain | | The calculated time the dome should open
opentrue | timestamp without time zone | | plain | | The time the dome opened for the first time
closetime | timestamp without time zone | not null | plain | | The calculated time the dome should close
closetrue | timestamp without time zone | | plain | | The time the dome closed finally
maxtime | real | not null | plain | | The calculated maximum possible time the dome is open in seconds
opensum | real | | plain | | The summed time the dome was open in seconds
Indexes:
"nightstat_pkey" PRIMARY KEY, btree (nightid)
AbstractSql.Columns, AbstractSql.ExtractPropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFCLOSECALCFIELD
The default target name field in the database
|
private static String |
DEFCLOSETRUEFIELD
The default target name field in the database
|
private static String |
DEFMAXTIMEFIELD
The default target name field in the database
|
private static String |
DEFNIGHTFIELD
The default target name field in the database
|
private static String |
DEFOPENCALCFIELD
The default target name field in the database
|
private static String |
DEFOPENSUMFIELD
The default target name field in the database
|
private static String |
DEFOPENTRUEFIELD
The default target name field in the database
|
private static String |
DEFTABLE
The default table name.
|
static String |
KEY_CLOSECALCFIELD
The key to the block identifier in the database.
|
static String |
KEY_CLOSETRUEFIELD
The key to the image type integer field.
|
static String |
KEY_MAXTIMEFIELD
The key to the instrument version field.
|
static String |
KEY_NIGHTFIELD
The key to the block identifier in the database.
|
static String |
KEY_OPENCALCFIELD
The key to the block identifier in the database.
|
static String |
KEY_OPENSUMFIELD
The key to the telescope name in the database.
|
static String |
KEY_OPENTRUEFIELD
The key to the block identifier in the database.
|
KEY_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 |
|---|
NightStatSql(Map<String,String> prop)
Constructs a new history database.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNight(String unique) |
delete, distinct, distinct, exit, getAccess, getDefaultArchive, getDefaultFormat, getTable, 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 KEY_NIGHTFIELD
public static final String KEY_OPENCALCFIELD
public static final String KEY_OPENTRUEFIELD
public static final String KEY_CLOSECALCFIELD
public static final String KEY_CLOSETRUEFIELD
public static final String KEY_MAXTIMEFIELD
public static final String KEY_OPENSUMFIELD
private static final String DEFTABLE
private static final String DEFNIGHTFIELD
private static final String DEFOPENCALCFIELD
private static final String DEFOPENTRUEFIELD
private static final String DEFCLOSECALCFIELD
private static final String DEFCLOSETRUEFIELD
private static final String DEFMAXTIMEFIELD
private static final String DEFOPENSUMFIELD
public boolean containsNight(String unique)