public class FailureSql extends AbstractSql
Column | Type | Modifiers ----------+-----------------------------+------------------------ objid | character varying(255) | not null fail | smallint | modified | timestamp without time zone | not null default now() Indexes: "failure_pkey" PRIMARY KEY, btree (objid)
| Modifier and Type | Class and Description |
|---|---|
static class |
FailureSql.Failure |
static class |
FailureSql.Test |
AbstractSql.Columns, AbstractSql.ExtractPropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFFAILFIELD
The default target name field in the database
|
private static String |
DEFTABLE
The default table name.
|
private static String |
DEFUNIQUEFIELD
The default target name field in the database
|
static String |
KEY_FAILFIELD
The key to the unique observation ID in the database.
|
static String |
KEY_UNIQUEFIELD
The key to the unique observation ID 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 |
|---|
FailureSql(Map<String,String> prop) |
| Modifier and Type | Method and Description |
|---|---|
List<FailureSql.Failure> |
readFailure(String unique)
We read the failure flag and convert it to individual failures using the
combined bit mask.
|
boolean |
writeFailure(String unique,
List<FailureSql.Failure> outcome)
Writes the failure flags to the db, updating automatically the modified
field.
|
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_UNIQUEFIELD
public static final String KEY_FAILFIELD
private static final String DEFUNIQUEFIELD
private static final String DEFFAILFIELD
private static final String DEFTABLE
public List<FailureSql.Failure> readFailure(String unique)
public boolean writeFailure(String unique, List<FailureSql.Failure> outcome)