Skip navigation links

Package gov.sandia.rbb.impl.h2.statics

This is the guts of the RBB implementation; the code in this package consists of stored procedures for H2, so they are callable both in java directly and through SQL - the java to SQL mapping is documented here.

See: Description

Package gov.sandia.rbb.impl.h2.statics Description

This is the guts of the RBB implementation; the code in this package consists of stored procedures for H2, so they are callable both in java directly and through SQL - the java to SQL mapping is documented here. Stored procedures in H2 are public static functions that accept and return datatypes recognized by H2. For example, functions in this package cannot return arrays of primitive types, and e.g. return Float[] instead of float[]. When called as stored procedures, H2 will return these values as Object[] whose actual element type is Float. The class names mirror gov.sandia.cognition.rbb.impl, but are prefixed with H2S.

Mapping between java and SQL

Stored procedures are called using the call SQL keyword, e.g. "call RBB_FIND_EVENTS(('name','value'), 0.0, 1.0, null);"

For API documentation on the stored procedures, consult the javadoc of the corresponding java method, e.g. RBB_DELETE_EVENTS corresponds to gov.sandia.cognition.rbb.impl.h2.statics.E2SEvent.delete. The mapping of parameters is normally straightforward, except the first parameter to the java function (a SQL database connection) is passed automatically by H2 and not specified when calling through SQL. The mapping from SQL to java data types is documented at http://www.h2database.com/html/datatypes.html

Note: all java classes are in package gov.sandia.cognition.rbb.impl.h2.statics
Event (Class H2SEvent)
addTags RBB_ADD_TAGS_TO_EVENTS
create RBB_CREATE_EVENT
defineTimeCoordinatesForEventCombinations RBB_DEFINE_TIME_COORDINATES_FOR_EVENT_COMBINATIONS
delete RBB_DELETE_EVENTS
deleteByID RBB_DELETE_EVENT_BY_ID
find RBB_FIND_EVENTS
findConcurrent RBB_CONCURRENT_EVENTS
findNext RBB_FIND_NEXT_EVENT
findPrev RBB_FIND_PREV_EVENT
getTagsByID RBB_EVENT_TAGS
removeTags RBB_REMOVE_TAGS_FROM_EVENTS
removeTagsByID RBB_REMOVE_TAGS_FROM_EVENT_BY_ID
sequence RBB_EVENT_SEQUENCE
setEnd RBB_SET_EVENT_END
setEndByID RBB_SET_EVENT_END_BY_ID
Problem (Class H2SProblem)
applyToConcurrentEvents RBB_APPLY_TO_CONCURRENT_EVENTS
distance RBB_DISTANCE
floats RBB_FLOATS
interp RBB_INTERP
test RBB_TEST
testa RBB_TESTA
testd RBB_TESTD
testja RBB_TESTJA
testjaa RBB_TESTJAA
testo RBB_TESTO
RBB (Class H2SRBB)
maxDouble RBB_MAX_DOUBLE
schemaVersion RBB_SCHEMA_VERSION
String (Class H2SString)
find RBB_STRING_FIND_ID
fromID RBB_ID_TO_STRING
toID RBB_STRING_TO_ID
Tagset (Class H2STagset)
find RBB_TAGSET_FIND_ID
findCombinations RBB_TAGSET_COMBINATIONS
fromID RBB_ID_TO_TAGSET
fromIDs RBB_IDS_TO_TAGSETS
fromString RBB_TAGSET_FROM_STRING
getAll RBB_GET_ALL_TAGSETS
getAllTagTypes RBB_GET_TAGSET_TYPES
hasTagsQuery RBB_TAGSET_HAS_TAGS_QUERY
set RBB_SET_TAGS
toID RBB_TAGSET_TO_ID
toString RBB_TAGSET_TO_STRING
Time (Class H2STime)
convert RBB_CONVERT_TIME
coordinateFromTagset RBB_TIME_COORDINATE_FROM_TAGSET
defineCoordinate RBB_DEFINE_TIME_COORDINATE
deleteCoordinates RBB_DELETE_TIME_COORDINATES
fromUTC RBB_TIME_FROM_UTC
toUTC RBB_TIME_TO_UTC
Timeseries (Class H2STimeseries)
addSample RBB_ADD_TO_TIMESERIES
addSampleByID RBB_ADD_TO_TIMESERIES_BY_ID
find RBB_FIND_TIMESERIES
isTimeSeries RBB_IS_TIMESERIES
resampleLinear RBB_RESAMPLE_TIMESERIES_LINEAR
start RBB_START_TIMESERIES
value RBB_TIMESERIES_VALUE
valueLinear RBB_TIMESERIES_VALUE_LINEAR
valuePrev RBB_TIMESERIES_VALUE_PREV
values RBB_TIMESERIES_VALUES
(Class )
RBB_START_EVENT_TCP_SERVER
Skip navigation links