has(), and, and or operations are supported. Filters and other Query operations are intentionally not available.
sealed class CachedQueryNode
and
(
other
)
|
Combines this node with another using logical AND.
Signature
infix fun and(other: CachedQueryNode): CachedQueryNode Parameters other: CachedQueryNodeReturns CachedQueryNode |
or
(
other
)
|
Combines this node with another using logical OR.
Signature
infix fun or(other: CachedQueryNode): CachedQueryNode Parameters other: CachedQueryNodeReturns CachedQueryNode |
has(componentId, ...) check.
data class Has(val componentIds: IntArray) : CachedQueryNode
Has
(
componentIds
)
|
Signature
constructor(componentIds: IntArray) Parameters componentIds: IntArrayReturns CachedQueryNode.Has |
componentIds
: IntArray
[Get] |
Signature
val componentIds: IntArray |
and
(
other
)
|
Combines this node with another using logical AND.
Signature
infix fun and(other: CachedQueryNode): CachedQueryNode Parameters other: CachedQueryNodeReturns CachedQueryNode |
equals
(
other
)
|
Signature
open operator override fun equals(other: Any?): Boolean Parameters other: Any?Returns Boolean |
hashCode
()
|
Signature
open override fun hashCode(): Int Returns Int |
or
(
other
)
|
Combines this node with another using logical OR.
Signature
infix fun or(other: CachedQueryNode): CachedQueryNode Parameters other: CachedQueryNodeReturns CachedQueryNode |
data class And(val left: CachedQueryNode, val right: CachedQueryNode) : CachedQueryNode
And
(
left
, right
)
|
Signature
constructor(left: CachedQueryNode, right: CachedQueryNode) Parameters left: CachedQueryNoderight: CachedQueryNodeReturns CachedQueryNode.And |
left
: CachedQueryNode
[Get] |
Signature
val left: CachedQueryNode |
right
: CachedQueryNode
[Get] |
Signature
val right: CachedQueryNode |
and
(
other
)
|
Combines this node with another using logical AND.
Signature
infix fun and(other: CachedQueryNode): CachedQueryNode Parameters other: CachedQueryNodeReturns CachedQueryNode |
or
(
other
)
|
Combines this node with another using logical OR.
Signature
infix fun or(other: CachedQueryNode): CachedQueryNode Parameters other: CachedQueryNodeReturns CachedQueryNode |
data class Or(val left: CachedQueryNode, val right: CachedQueryNode) : CachedQueryNode
Or
(
left
, right
)
|
Signature
constructor(left: CachedQueryNode, right: CachedQueryNode) Parameters left: CachedQueryNoderight: CachedQueryNodeReturns CachedQueryNode.Or |
left
: CachedQueryNode
[Get] |
Signature
val left: CachedQueryNode |
right
: CachedQueryNode
[Get] |
Signature
val right: CachedQueryNode |
and
(
other
)
|
Combines this node with another using logical AND.
Signature
infix fun and(other: CachedQueryNode): CachedQueryNode Parameters other: CachedQueryNodeReturns CachedQueryNode |
or
(
other
)
|
Combines this node with another using logical OR.
Signature
infix fun or(other: CachedQueryNode): CachedQueryNode Parameters other: CachedQueryNodeReturns CachedQueryNode |