Interface: QueryPart

olympe.dc.api. QueryPart

Methods


<static> deserialize(ser)

Parameters:
Name Type Description
ser Object
Returns:
Type
olympe.dc.api.QueryPart

<abstract> execute(result, level)

Apply the query part on current state of DBView. No future update notification. Updates PartialResult in place

Parameters:
Name Type Description
result olympe.dc.api.PartialResult
level number

<abstract> nextLevel(level)

Parameters:
Name Type Description
level number
Returns:
Type
number

<abstract> observe(result, level, callback)

Apply the query part on the datacloud with notifications on any update.

Parameters:
Name Type Description
result olympe.dc.api.PartialResult
level number
callback olympe.dc.api.QueryPart.ObservationCallback
Returns:
Type
olympe.dc.api.QueryPart.ObservationCallback

<abstract> serialize()

Returns:
Type
Object

<abstract> toString()

Get the string representation of a query part

Returns:
Type
string

Type Definitions


ObservationCallback(added, tag, parentTag, index)

Parameters:
Name Type Description
added boolean
tag string
parentTag string
index string