Search
Preparing search index...
The search index is not available
Gabby Query Protocol - Projection - v1.0.0-beta.1
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Gabby Query Protocol - Projection - v1.0.0-beta.1
PredicateTree
Class PredicateTree
Hierarchy
PredicateTree
Implements
IPredicateTree
Index
Constructors
constructor
Properties
_default
Junction
_tree
Accessors
default
Junction
query
Id
root
Node
Id
Methods
_ascend
Child
accept
Visitor
append
Predicate
get
Children
Ids
get
Predicate
ById
get
Predicate
ById
OrThrow
get
Predicate
Junction
Props
ById
get
Predicate
Junction
Props
ById
OrThrow
get
Predicate
Props
ById
get
Predicate
Props
ById
OrThrow
is
Branch
remove
Predicate
replace
Predicate
to
Json
deserialize
from
Flat
Object
is
Branch
Operator
serialize
to
Flat
Object
Constructors
constructor
new
Predicate
Tree
(
rootNodeId
:
string
, queryNode
?:
TPredicateNode
)
:
PredicateTree
Parameters
rootNodeId:
string
Optional
queryNode:
TPredicateNode
Returns
PredicateTree
Properties
Private
_default
Junction
_default
Junction
:
TPredicatePropertiesJunction
= ...
Private
_tree
_tree
:
IDirectedTreeGraph
<
TPredicateNode
>
Accessors
default
Junction
get
defaultJunction
(
)
:
TPredicatePropertiesJunction
Returns
TPredicatePropertiesJunction
query
Id
get
queryId
(
)
:
string
Returns
string
root
Node
Id
get
rootNodeId
(
)
:
string
Returns
string
Methods
Private
_ascend
Child
_ascend
Child
(
childId
:
string
)
:
void
Parameters
childId:
string
Returns
void
accept
Visitor
accept
Visitor
(
visitor
:
IVisitor
<
TPredicateNode
>
)
:
void
Parameters
visitor:
IVisitor
<
TPredicateNode
>
Returns
void
append
Predicate
append
Predicate
(
parentId
:
string
, predicate
:
TPredicateNode
)
:
string
Parameters
parentId:
string
predicate:
TPredicateNode
Returns
string
get
Children
Ids
get
Children
Ids
(
predicateId
:
string
)
:
string
[]
Parameters
predicateId:
string
Returns
string
[]
get
Predicate
ById
get
Predicate
ById
(
predicateId
:
string
)
:
null
|
TPredicateNode
Parameters
predicateId:
string
Returns
null
|
TPredicateNode
get
Predicate
ById
OrThrow
get
Predicate
ById
OrThrow
(
predicateId
:
string
)
:
TPredicateNode
Parameters
predicateId:
string
Returns
TPredicateNode
get
Predicate
Junction
Props
ById
get
Predicate
Junction
Props
ById
(
predicateId
:
string
)
:
null
|
TPredicateJunctionPropsWithChildIds
Parameters
predicateId:
string
Returns
null
|
TPredicateJunctionPropsWithChildIds
get
Predicate
Junction
Props
ById
OrThrow
get
Predicate
Junction
Props
ById
OrThrow
(
predicateId
:
string
)
:
TPredicateJunctionPropsWithChildIds
Parameters
predicateId:
string
Returns
TPredicateJunctionPropsWithChildIds
get
Predicate
Props
ById
get
Predicate
Props
ById
(
predicateId
:
string
)
:
null
|
TPredicateProperties
Parameters
predicateId:
string
Returns
null
|
TPredicateProperties
get
Predicate
Props
ById
OrThrow
get
Predicate
Props
ById
OrThrow
(
predicateId
:
string
)
:
TPredicateProperties
Parameters
predicateId:
string
Returns
TPredicateProperties
is
Branch
is
Branch
(
predicateId
:
string
)
:
boolean
Parameters
predicateId:
string
Returns
boolean
remove
Predicate
remove
Predicate
(
predicateId
:
string
)
:
void
Parameters
predicateId:
string
Returns
void
replace
Predicate
replace
Predicate
(
predicateId
:
string
, predicate
:
TPredicateNode
)
:
void
Parameters
predicateId:
string
predicate:
TPredicateNode
Returns
void
to
Json
to
Json
(
)
:
TSerializedPredicateTree
Returns
TSerializedPredicateTree
Static
deserialize
deserialize
(
serializedTree
:
string
)
:
PredicateTree
Parameters
serializedTree:
string
Returns
PredicateTree
Static
from
Flat
Object
from
Flat
Object
(
serialized
:
SerializedTree
<
TPredicateNodeJson
>
, newTreeRootNode
?:
string
)
:
PredicateTree
Parameters
serialized:
SerializedTree
<
TPredicateNodeJson
>
Optional
newTreeRootNode:
string
Returns
PredicateTree
Static
is
Branch
Operator
is
Branch
Operator
(
operator
:
string
)
:
boolean
Parameters
operator:
string
Returns
boolean
Static
serialize
serialize
(
tree
:
PredicateTree
)
:
string
Parameters
tree:
PredicateTree
Returns
string
Static
to
Flat
Object
to
Flat
Object
(
tree
:
PredicateTree
)
:
SerializedTree
<
TPredicateNode
>
Parameters
tree:
PredicateTree
Returns
SerializedTree
<
TPredicateNode
>
Exports
Predicate
Formula
Editor
Predicate
Subject
Dictionary
Predicate
Tree
constructor
_default
Junction
_tree
default
Junction
query
Id
root
Node
Id
_ascend
Child
accept
Visitor
append
Predicate
get
Children
Ids
get
Predicate
ById
get
Predicate
ById
OrThrow
get
Predicate
Junction
Props
ById
get
Predicate
Junction
Props
ById
OrThrow
get
Predicate
Props
ById
get
Predicate
Props
ById
OrThrow
is
Branch
remove
Predicate
replace
Predicate
to
Json
deserialize
from
Flat
Object
is
Branch
Operator
serialize
to
Flat
Object
Predicate
Tree
Error
IPredicate
Subject
Dictionary
IPredicate
Tree
IVisitor
Predicate
Formula
Editor
Json
TOperator
Options
TPredicate
Junction
Operator
TPredicate
Junction
Props
With
Child
Ids
TPredicate
Node
TPredicate
Node
Json
TPredicate
Operator
TPredicate
Properties
TPredicate
Properties
Array
Value
TPredicate
Properties
Junction
TPredicate
Subject
AsColumn
Definition
TPredicate
Subject
Dictionary
Json
TPredicate
Subject
Options
List
TPredicate
Subject
Properties
TPredicate
Subject
Properties
Json
TPredicate
Subject
With
Id
TSerialized
Predicate
Tree
TValid
Operator
List
TValue
Label
List
Visitor
Node
Type
EXAMPLE_
JSON_
BLUE_
SKIES
Predicate
Tree
Factory
Generated using
TypeDoc