Search
Preparing search index...
The search index is not available
gabby-query-protocol-react-context
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gabby-query-protocol-react-context
PredicateTree
Class PredicateTree
Hierarchy
PredicateTree
Implements
IPredicateTree
Index
Constructors
constructor
Properties
_ascend
Child
_default
Junction
_tree
Accessors
default
Junction
query
Id
root
Node
Id
Methods
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
_ascend
Child
_ascend
Child
:
any
Private
_default
Junction
_default
Junction
:
any
Private
_tree
_tree
:
any
Accessors
default
Junction
get
defaultJunction
(
)
:
TPredicatePropertiesJunction
Returns
TPredicatePropertiesJunction
query
Id
get
queryId
(
)
:
string
Returns
string
root
Node
Id
get
rootNodeId
(
)
:
string
Returns
string
Methods
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
Subject
Dictionary
Predicate
Tree
constructor
_ascend
Child
_default
Junction
_tree
default
Junction
query
Id
root
Node
Id
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
TGabby
Query
Protocol
Context
Type
TPredicate
Junction
Operator
TPredicate
Node
TPredicate
Operator
Labels
TPredicate
Properties
TPredicate
Properties
Array
Value
TPredicate
Subject
With
Id
TSerialized
Predicate
Tree
TValue
Label
List
Gabby
Query
Protocol
Context
default
use
Junction
Properties
use
Predicate
Properties
use
Projection
Subject
Properties
use
Projection
Subjects
Generated using
TypeDoc