Core DataCloud namespace. Contains all the classes and methods related to building and interacting with the data cloud. Data cloud objects are shared among multiple consumers across the network and are kept synchronised by the Olympe Orchestrator. Subscribing to such an object will get you notifications when one of its properties changes.
The core classes in this namespace are:
See Introduction to the Data Cloud for an overview of these classes and how they interact with each other.
Classes
- BurstTransaction
- CloudObject
- DBView
- FileServiceManager
- GraphDef
- ListDef
- ListDefBuilder
- Manager
- Message
- ModelInfo
- ModuleInfo
- ProcessorCollection
- Reference
- Transaction
Namespaces
Members
-
<static> Config :string
-
<static> Direction :string
-
<static, readonly> GraphDefOperation :number
-
<static> InstanceProperty :string
-
<static> InstancePropertyType :string
-
<static> RelationType :string
-
<static> SourceEvent :string
-
<static> SourceType :string
-
<static> Svc :string
-
<static> Sync
Methods
-
<static> dbView()
-
Return the database view singleton to get data directly from the graph database.
Returns:
- Type
- olympe.dc.DBView
-
<static> defineInverseRelation(relation)
-
Define and return a new relation which is the same as the specified one with the opposite direction.
Parameters:
Name Type Description relation
olympe.dc.registry.Relation Returns:
-
<static> defineProperty(tag, type)
-
Define and return a new property associated to the specified tag.
Parameters:
Name Type Description tag
olympe.dc.Tag type
function Returns:
-
<static> defineRelation(tag [, originOrDirection], destination [, direction])
-
Define and return a new relation associated to the specified tag, with the origin and destination types.
Parameters:
Name Type Argument Description tag
olympe.dc.Tag originOrDirection
function | olympe.dc.Direction <optional>
destination
function direction
olympe.dc.Direction <optional>
Returns:
-
<static> getDatabaseManager()
-
Returns:
-
<static> getFileManager()
-
Returns:
-
<static> getManager()
-
Returns:
- Type
- olympe.dc.Manager
-
<static> getQueryManager()
-
Returns:
-
<static> getSyncManager()
-
Returns:
-
<static> getTransactionManager()
-
Returns:
-
<static> instanceToTag(instanceOrConstructor)
-
Gets a tag from the specified InstanceTag or Sync constructor.
Parameters:
Name Type Description instanceOrConstructor
olympe.dc.InstanceTag The instance, string or type.
Returns:
The tag, or an empty string if none found.
- Type
- string
-
<static> register(tag, ctr)
-
Register the specified constructor as the class associated to the tag.
Parameters:
Name Type Description tag
olympe.dc.Tag ctr
function
Type Definitions
-
InstanceTag
-
<non-null> Tag()
-