ch.agent.crnickl.mongodb
Class MongoDatabase

java.lang.Object
  extended by ch.agent.crnickl.impl.DatabaseBackendImpl
      extended by ch.agent.crnickl.mongodb.MongoDatabase
All Implemented Interfaces:
ch.agent.crnickl.api.Database, ch.agent.crnickl.impl.DatabaseBackend, ch.agent.crnickl.impl.PermissionChecker

public class MongoDatabase
extends ch.agent.crnickl.impl.DatabaseBackendImpl

A JDBC implementation of DatabaseBackendImpl.

Author:
Jean-Paul Vetterli

Field Summary
static String COLL_ATTR
           
static String COLL_CHRON
           
static String COLL_PROP
           
static String COLL_SCHEMA
           
static String COLL_SER
           
static String COLL_VT
           
static String DB_PARAM_IntInt_WAITING_DELAY_RANGE
          The name of the external parameter specifying the waiting delay range for dangerous updates.
static String DB_PARAM_IntInt_WAITING_DELAY_RANGE_DEFAULT
           
static String FLD_ATTR_CHRON
           
static String FLD_ATTR_DESC
           
static String FLD_ATTR_PROP
           
static String FLD_ATTR_VALUE
           
static String FLD_ATTRIBDEF_ERASING
           
static String FLD_ATTRIBDEF_NUM
           
static String FLD_ATTRIBDEF_PROP
           
static String FLD_ATTRIBDEF_VAL
           
static String FLD_CHRON_DESC
           
static String FLD_CHRON_NAME
           
static String FLD_CHRON_PARENT
           
static String FLD_CHRON_SCHEMA
           
static String FLD_ID
           
static String FLD_PROP_INDEXED
           
static String FLD_PROP_NAME
           
static String FLD_PROP_VT
           
static String FLD_SCHEMA_ATTRIBS
           
static String FLD_SCHEMA_BASE
           
static String FLD_SCHEMA_NAME
           
static String FLD_SCHEMA_SERIES
           
static String FLD_SER_CHRON
           
static String FLD_SER_FIRST
           
static String FLD_SER_LAST
           
static String FLD_SER_NUM
           
static String FLD_SER_VALUES
           
static String FLD_SERIESDEF_ATTRIBS
           
static String FLD_SERIESDEF_DESC
           
static String FLD_SERIESDEF_ERASING
           
static String FLD_SERIESDEF_NUM
           
static String FLD_VT_NAME
           
static String FLD_VT_TYPE
           
static String FLD_VT_VALUES
           
 
Fields inherited from interface ch.agent.crnickl.impl.DatabaseBackend
BUILTIN_PROP_SPARSITY, BUILTIN_PROP_SYMBOL, BUILTIN_PROP_TIME_DOMAIN, BUILTIN_PROP_TYPE, DB_PARAM_Boolean_STRICT_NAME_SPACE, DB_PARAM_Boolean_STRICT_NAME_SPACE_DEFAULT, DB_PARAM_Class_ChronicleUpdatePolicyExtension, DB_PARAM_Class_PermissionChecker, DB_PARAM_Float_CACHE_LOAD_FACTOR, DB_PARAM_Float_CACHE_LOAD_FACTOR_DEFAULT, DB_PARAM_Int_CACHE_SIZE, DB_PARAM_Int_CACHE_SIZE_DEFAULT, DB_PARAM_Int_MAX_GAP, MAGIC_NAME_NR, MAGIC_SPARSITY_NR, MAGIC_TIMEDOMAIN_NR, MAGIC_TYPE_NR, MAX_MAGIC_NR
 
Constructor Summary
MongoDatabase(String name)
          Construct a DatabaseBackend.
 
Method Summary
 void commit()
          manage back end store
 void configure(ch.agent.crnickl.api.DatabaseConfiguration configuration)
           
 void create(ch.agent.crnickl.api.UpdatableChronicle entity)
           
 void create(ch.agent.crnickl.api.UpdatableProperty<?> property)
           
 void create(ch.agent.crnickl.api.UpdatableSchema schema)
           
<T> void
create(ch.agent.crnickl.api.UpdatableSeries<T> series)
           
<T> void
create(ch.agent.crnickl.api.UpdatableValueType<T> valueType)
           
 void deleteAttributeValue(ch.agent.crnickl.api.UpdatableChronicle entity, ch.agent.crnickl.api.AttributeDefinition<?> def)
           
 void deleteChronicle(ch.agent.crnickl.api.UpdatableChronicle entity)
           
 void deleteProperty(ch.agent.crnickl.api.UpdatableProperty<?> property)
           
 void deleteSchema(ch.agent.crnickl.api.UpdatableSchema schema)
           
<T> void
deleteSeries(ch.agent.crnickl.api.UpdatableSeries<T> series)
           
 void deleteValueType(ch.agent.crnickl.api.UpdatableValueType<?> valueType)
           
 ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.Property<?> property, ch.agent.crnickl.api.Schema schema)
           
 ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.Schema schema)
           
 ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.SeriesDefinition ss, ch.agent.crnickl.api.Schema schema)
           
 boolean getAttributeValue(List<ch.agent.crnickl.api.Chronicle> chronicles, ch.agent.crnickl.api.Attribute<?> attribute)
           
 ch.agent.crnickl.api.Chronicle getChronicle(ch.agent.crnickl.api.Chronicle chronicle)
           
 ch.agent.crnickl.api.Chronicle getChronicleOrNull(ch.agent.crnickl.api.Chronicle parent, String simpleName)
           
<T> List<ch.agent.crnickl.api.Chronicle>
getChroniclesByAttributeValue(ch.agent.crnickl.api.Property<T> property, T value, int maxSize)
           
 Collection<ch.agent.crnickl.api.Chronicle> getChroniclesByParent(ch.agent.crnickl.api.Chronicle parent)
           
 MongoDB getMongoDB()
           
 Collection<ch.agent.crnickl.api.Property<?>> getProperties(String pattern)
           
 ch.agent.crnickl.api.Property<?> getProperty(String name)
           
 ch.agent.crnickl.api.Property<?> getProperty(ch.agent.crnickl.api.Surrogate surrogate)
           
protected  ReadMethodsForChroniclesAndSeries getReadMethodsForChronicleAndSeries()
          Return the object providing read methods for chronicles and series.
protected  ReadMethodsForProperty getReadMethodsForProperty()
          Return the object providing read methods for properties.
protected  ReadMethodsForSchema getReadMethodsForSchema()
          Return the object providing read methods for schemas.
protected  ReadMethodsForValueType getReadMethodsForValueType()
          Return the object providing read methods for value types.
 Collection<ch.agent.crnickl.api.Surrogate> getSchemaSurrogates(String pattern)
           
 ch.agent.crnickl.impl.SchemaUpdatePolicy getSchemaUpdatePolicy()
           
<T> ch.agent.crnickl.api.Series<T>[]
getSeries(ch.agent.crnickl.api.Chronicle chronicle, String[] names, int[] numbers)
           
<T> ch.agent.crnickl.api.Series<T>
getSeries(ch.agent.crnickl.api.Surrogate surrogate)
           
 ch.agent.crnickl.api.UpdatableSchema getUpdatableSchema(ch.agent.crnickl.api.Surrogate surrogate)
           
<T> ch.agent.crnickl.api.ValueType<T>
getValueType(String name)
           
<T> ch.agent.crnickl.api.ValueType<T>
getValueType(ch.agent.crnickl.api.Surrogate surrogate)
           
 Collection<ch.agent.crnickl.api.ValueType<?>> getValueTypes(String pattern)
           
protected  WriteMethodsForChroniclesAndSeries getWriteMethodsForChroniclesAndSeries()
          Return the object providing write methods for chronicles and series.
protected  WriteMethodsForProperty getWriteMethodsForProperty()
          Return the object providing write methods for properties.
protected  WriteMethodsForSchema getWriteMethodsForSchema()
          Return the object providing write methods for schemas.
protected  WriteMethodsForValueType getWriteMethodsForValueType()
          Return the object providing write methods for value types.
protected  boolean isChronicleUpdatePolicyExtensionAllowed()
           
 void rollback()
           
 void sleep()
          Sleep a number of milliseconds before trying to detect violations of referential integrity.
 String toString()
           
 void update(ch.agent.crnickl.api.UpdatableChronicle entity)
           
 void update(ch.agent.crnickl.api.UpdatableChronicle entity, ch.agent.crnickl.api.AttributeDefinition<?> def, String value, String description)
           
 void update(ch.agent.crnickl.api.UpdatableProperty<?> property)
           
 void update(ch.agent.crnickl.api.UpdatableSchema schema)
           
 void update(ch.agent.crnickl.api.UpdatableValueType<?> valueType)
           
 
Methods inherited from class ch.agent.crnickl.impl.DatabaseBackendImpl
check, check, check, check, checkSurrogate, createProperty, createSchema, createValueType, deleteValue, equals, getAccessMethods, getCache, getChronicle, getChronicle, getChronicleUpdatePolicy, getFirstObservation, getLastObservation, getMessageListener, getNamingPolicy, getPermissionChecker, getProperty, getRange, getSchema, getSchemas, getSeries, getSparsityBuiltInProperty, getSymbolBuiltInProperty, getTimeDomainBuiltInProperty, getTopChronicle, getTypeBuiltInProperty, getUpdatableSchema, getUpdatableSchemas, getUpdatableSeries, getUpdateEventPublisher, getValues, hashCode, isBuiltIn, isChronicleUpdatePolicyExtensionMandatory, isStrictNameSpaceMode, publish, setAccessMethods, setMessageListener, setStrictNameSpaceMode, update, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FLD_ID

public static final String FLD_ID
See Also:
Constant Field Values

COLL_CHRON

public static final String COLL_CHRON
See Also:
Constant Field Values

FLD_CHRON_NAME

public static final String FLD_CHRON_NAME
See Also:
Constant Field Values

FLD_CHRON_DESC

public static final String FLD_CHRON_DESC
See Also:
Constant Field Values

FLD_CHRON_PARENT

public static final String FLD_CHRON_PARENT
See Also:
Constant Field Values

FLD_CHRON_SCHEMA

public static final String FLD_CHRON_SCHEMA
See Also:
Constant Field Values

COLL_SER

public static final String COLL_SER
See Also:
Constant Field Values

FLD_SER_CHRON

public static final String FLD_SER_CHRON
See Also:
Constant Field Values

FLD_SER_NUM

public static final String FLD_SER_NUM
See Also:
Constant Field Values

FLD_SER_FIRST

public static final String FLD_SER_FIRST
See Also:
Constant Field Values

FLD_SER_LAST

public static final String FLD_SER_LAST
See Also:
Constant Field Values

FLD_SER_VALUES

public static final String FLD_SER_VALUES
See Also:
Constant Field Values

COLL_ATTR

public static final String COLL_ATTR
See Also:
Constant Field Values

FLD_ATTR_CHRON

public static final String FLD_ATTR_CHRON
See Also:
Constant Field Values

FLD_ATTR_PROP

public static final String FLD_ATTR_PROP
See Also:
Constant Field Values

FLD_ATTR_VALUE

public static final String FLD_ATTR_VALUE
See Also:
Constant Field Values

FLD_ATTR_DESC

public static final String FLD_ATTR_DESC
See Also:
Constant Field Values

COLL_PROP

public static final String COLL_PROP
See Also:
Constant Field Values

FLD_PROP_NAME

public static final String FLD_PROP_NAME
See Also:
Constant Field Values

FLD_PROP_VT

public static final String FLD_PROP_VT
See Also:
Constant Field Values

FLD_PROP_INDEXED

public static final String FLD_PROP_INDEXED
See Also:
Constant Field Values

COLL_SCHEMA

public static final String COLL_SCHEMA
See Also:
Constant Field Values

FLD_SCHEMA_NAME

public static final String FLD_SCHEMA_NAME
See Also:
Constant Field Values

FLD_SCHEMA_BASE

public static final String FLD_SCHEMA_BASE
See Also:
Constant Field Values

FLD_SCHEMA_ATTRIBS

public static final String FLD_SCHEMA_ATTRIBS
See Also:
Constant Field Values

FLD_SCHEMA_SERIES

public static final String FLD_SCHEMA_SERIES
See Also:
Constant Field Values

FLD_ATTRIBDEF_NUM

public static final String FLD_ATTRIBDEF_NUM
See Also:
Constant Field Values

FLD_ATTRIBDEF_PROP

public static final String FLD_ATTRIBDEF_PROP
See Also:
Constant Field Values

FLD_ATTRIBDEF_VAL

public static final String FLD_ATTRIBDEF_VAL
See Also:
Constant Field Values

FLD_ATTRIBDEF_ERASING

public static final String FLD_ATTRIBDEF_ERASING
See Also:
Constant Field Values

FLD_SERIESDEF_NUM

public static final String FLD_SERIESDEF_NUM
See Also:
Constant Field Values

FLD_SERIESDEF_DESC

public static final String FLD_SERIESDEF_DESC
See Also:
Constant Field Values

FLD_SERIESDEF_ATTRIBS

public static final String FLD_SERIESDEF_ATTRIBS
See Also:
Constant Field Values

FLD_SERIESDEF_ERASING

public static final String FLD_SERIESDEF_ERASING
See Also:
Constant Field Values

COLL_VT

public static final String COLL_VT
See Also:
Constant Field Values

FLD_VT_NAME

public static final String FLD_VT_NAME
See Also:
Constant Field Values

FLD_VT_TYPE

public static final String FLD_VT_TYPE
See Also:
Constant Field Values

FLD_VT_VALUES

public static final String FLD_VT_VALUES
See Also:
Constant Field Values

DB_PARAM_IntInt_WAITING_DELAY_RANGE

public static final String DB_PARAM_IntInt_WAITING_DELAY_RANGE
The name of the external parameter specifying the waiting delay range for dangerous updates. The parameter value is a range of milliseconds specified with two numbers separated by a hyphen. The default range is DB_PARAM_IntInt_WAITING_DELAY_RANGE_DEFAULT.

See Also:
Constant Field Values

DB_PARAM_IntInt_WAITING_DELAY_RANGE_DEFAULT

public static final String DB_PARAM_IntInt_WAITING_DELAY_RANGE_DEFAULT
See Also:
Constant Field Values
Constructor Detail

MongoDatabase

public MongoDatabase(String name)
Construct a DatabaseBackend.

Parameters:
name - the name of the database
Method Detail

isChronicleUpdatePolicyExtensionAllowed

protected boolean isChronicleUpdatePolicyExtensionAllowed()
Overrides:
isChronicleUpdatePolicyExtensionAllowed in class ch.agent.crnickl.impl.DatabaseBackendImpl

configure

public void configure(ch.agent.crnickl.api.DatabaseConfiguration configuration)
               throws ch.agent.crnickl.T2DBException
Specified by:
configure in interface ch.agent.crnickl.api.Database
Overrides:
configure in class ch.agent.crnickl.impl.DatabaseBackendImpl
Throws:
ch.agent.crnickl.T2DBException

getSchemaUpdatePolicy

public ch.agent.crnickl.impl.SchemaUpdatePolicy getSchemaUpdatePolicy()
Specified by:
getSchemaUpdatePolicy in interface ch.agent.crnickl.impl.DatabaseBackend
Overrides:
getSchemaUpdatePolicy in class ch.agent.crnickl.impl.DatabaseBackendImpl

getMongoDB

public MongoDB getMongoDB()

sleep

public void sleep()
           throws InterruptedException
Sleep a number of milliseconds before trying to detect violations of referential integrity. Return true if there was no InterruptedException else return false. This is a random number in the range specified with the the DB_PARAM_IntInt_WAITING_DELAY_RANGE configuration parameter.

A update is said to be dangerous when there is a risk of leaving the database in a inconsistent state. The underlying cause is lack of support for transactions or referential integrity. Example a.b == b._id and b is deleted. The following pseudo code shows how dangerous updates are performed.

 
 count references of document
 if (count > 0)
     fail
 memo := get prior state of document to be updated
 update document
 sleep()
 count references again
 if (count > 0) 
 do
     restore document to its prior state using memo
     fail
 done
 
 

Throws:
InterruptedException

commit

public void commit()
            throws ch.agent.crnickl.T2DBException
manage back end store

Throws:
ch.agent.crnickl.T2DBException

rollback

public void rollback()
              throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getReadMethodsForChronicleAndSeries

protected ReadMethodsForChroniclesAndSeries getReadMethodsForChronicleAndSeries()
Return the object providing read methods for chronicles and series.

Returns:
the object providing read methods for chronicles and series

getWriteMethodsForChroniclesAndSeries

protected WriteMethodsForChroniclesAndSeries getWriteMethodsForChroniclesAndSeries()
Return the object providing write methods for chronicles and series.

Returns:
the object providing write methods for chronicles and series

create

public void create(ch.agent.crnickl.api.UpdatableChronicle entity)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

update

public void update(ch.agent.crnickl.api.UpdatableChronicle entity)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

deleteAttributeValue

public void deleteAttributeValue(ch.agent.crnickl.api.UpdatableChronicle entity,
                                 ch.agent.crnickl.api.AttributeDefinition<?> def)
                          throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

update

public void update(ch.agent.crnickl.api.UpdatableChronicle entity,
                   ch.agent.crnickl.api.AttributeDefinition<?> def,
                   String value,
                   String description)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

deleteChronicle

public void deleteChronicle(ch.agent.crnickl.api.UpdatableChronicle entity)
                     throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

create

public <T> void create(ch.agent.crnickl.api.UpdatableSeries<T> series)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

deleteSeries

public <T> void deleteSeries(ch.agent.crnickl.api.UpdatableSeries<T> series)
                  throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getChronicle

public ch.agent.crnickl.api.Chronicle getChronicle(ch.agent.crnickl.api.Chronicle chronicle)
                                            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getChronicleOrNull

public ch.agent.crnickl.api.Chronicle getChronicleOrNull(ch.agent.crnickl.api.Chronicle parent,
                                                         String simpleName)
                                                  throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getChroniclesByParent

public Collection<ch.agent.crnickl.api.Chronicle> getChroniclesByParent(ch.agent.crnickl.api.Chronicle parent)
                                                                 throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getChroniclesByAttributeValue

public <T> List<ch.agent.crnickl.api.Chronicle> getChroniclesByAttributeValue(ch.agent.crnickl.api.Property<T> property,
                                                                              T value,
                                                                              int maxSize)
                                                                   throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getAttributeValue

public boolean getAttributeValue(List<ch.agent.crnickl.api.Chronicle> chronicles,
                                 ch.agent.crnickl.api.Attribute<?> attribute)
                          throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getSeries

public <T> ch.agent.crnickl.api.Series<T>[] getSeries(ch.agent.crnickl.api.Chronicle chronicle,
                                                      String[] names,
                                                      int[] numbers)
                                           throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getSeries

public <T> ch.agent.crnickl.api.Series<T> getSeries(ch.agent.crnickl.api.Surrogate surrogate)
                                         throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getReadMethodsForProperty

protected ReadMethodsForProperty getReadMethodsForProperty()
Return the object providing read methods for properties.

Returns:
the object providing read methods for properties

getWriteMethodsForProperty

protected WriteMethodsForProperty getWriteMethodsForProperty()
Return the object providing write methods for properties.

Returns:
the object providing write methods for properties

getProperties

public Collection<ch.agent.crnickl.api.Property<?>> getProperties(String pattern)
                                                           throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getProperty

public ch.agent.crnickl.api.Property<?> getProperty(ch.agent.crnickl.api.Surrogate surrogate)
                                             throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getProperty

public ch.agent.crnickl.api.Property<?> getProperty(String name)
                                             throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

create

public void create(ch.agent.crnickl.api.UpdatableProperty<?> property)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

deleteProperty

public void deleteProperty(ch.agent.crnickl.api.UpdatableProperty<?> property)
                    throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

update

public void update(ch.agent.crnickl.api.UpdatableProperty<?> property)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getReadMethodsForValueType

protected ReadMethodsForValueType getReadMethodsForValueType()
Return the object providing read methods for value types.

Returns:
the object providing read methods for value types

getWriteMethodsForValueType

protected WriteMethodsForValueType getWriteMethodsForValueType()
Return the object providing write methods for value types.

Returns:
the object providing write methods for value types

getValueTypes

public Collection<ch.agent.crnickl.api.ValueType<?>> getValueTypes(String pattern)
                                                            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getValueType

public <T> ch.agent.crnickl.api.ValueType<T> getValueType(String name)
                                               throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getValueType

public <T> ch.agent.crnickl.api.ValueType<T> getValueType(ch.agent.crnickl.api.Surrogate surrogate)
                                               throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

create

public <T> void create(ch.agent.crnickl.api.UpdatableValueType<T> valueType)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

deleteValueType

public void deleteValueType(ch.agent.crnickl.api.UpdatableValueType<?> valueType)
                     throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

update

public void update(ch.agent.crnickl.api.UpdatableValueType<?> valueType)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getReadMethodsForSchema

protected ReadMethodsForSchema getReadMethodsForSchema()
Return the object providing read methods for schemas.

Returns:
the object providing read methods for schemass

getWriteMethodsForSchema

protected WriteMethodsForSchema getWriteMethodsForSchema()
Return the object providing write methods for schemas.

Returns:
the object providing write methods for schemas

getSchemaSurrogates

public Collection<ch.agent.crnickl.api.Surrogate> getSchemaSurrogates(String pattern)
                                                               throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

getUpdatableSchema

public ch.agent.crnickl.api.UpdatableSchema getUpdatableSchema(ch.agent.crnickl.api.Surrogate surrogate)
                                                        throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

create

public void create(ch.agent.crnickl.api.UpdatableSchema schema)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

update

public void update(ch.agent.crnickl.api.UpdatableSchema schema)
            throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

deleteSchema

public void deleteSchema(ch.agent.crnickl.api.UpdatableSchema schema)
                  throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

findChronicle

public ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.Schema schema)
                                             throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

findChronicle

public ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.Property<?> property,
                                                    ch.agent.crnickl.api.Schema schema)
                                             throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

findChronicle

public ch.agent.crnickl.api.Surrogate findChronicle(ch.agent.crnickl.api.SeriesDefinition ss,
                                                    ch.agent.crnickl.api.Schema schema)
                                             throws ch.agent.crnickl.T2DBException
Throws:
ch.agent.crnickl.T2DBException

toString

public String toString()
Overrides:
toString in class ch.agent.crnickl.impl.DatabaseBackendImpl


Copyright © 2013. All Rights Reserved.