of

public static NodePath of(Query query)

Creates an instance of NodePath which points to a database node storing the QueryResponse to the given Query.

Return

new NodePath

Parameters

query

the query to host the response of


public static NodePath of(Topic topic)

Creates an instance of NodePath which points to a database node storing updates of the given subscription Topic.

Return

new NodePath

Parameters

topic

the topic to host updates for