Subgroup: Expression
Class: QgsExpressionNodeBinaryOperator¶
-
class
qgis.core.
QgsExpressionNodeBinaryOperator
(op: QgsExpressionNodeBinaryOperator.BinaryOperator, opLeft: QgsExpressionNode, opRight: QgsExpressionNode)¶ Bases:
qgis._core.QgsExpressionNode
Binary combination of the left and the right with op.
QgsExpressionNodeBinaryOperator(QgsExpressionNodeBinaryOperator)
A binary expression operator, which operates on two values.
Methods
clone
dump
evalNode
isStatic
leftAssociative
Returns true if the operator is left-associative. needsGeometry
nodeType
op
Returns the binary operator. opLeft
Returns the node to the left of the operator. opRight
Returns the node to the right of the operator. precedence
Returns the precedence index for the operator. prepareNode
referencedColumns
referencedFunctions
referencedVariables
text
Returns a the name of this operator without the operands. Signals
Attributes
boAnd
boConcat
boDiv
boEQ
boGE
boGT
boILike
boIntDiv
boIs
boIsNot
boLE
boLT
boLike
boMinus
boMod
boMul
boNE
boNotILike
boNotLike
boOr
boPlus
boPow
boRegexp
-
class
BinaryOperator
¶ Bases:
int
-
boAnd
= 1¶
-
boConcat
= 22¶
-
boDiv
= 18¶
-
boEQ
= 2¶
-
boGE
= 5¶
-
boGT
= 7¶
-
boILike
= 11¶
-
boIntDiv
= 19¶
-
boIs
= 13¶
-
boIsNot
= 14¶
-
boLE
= 4¶
-
boLT
= 6¶
-
boLike
= 9¶
-
boMinus
= 16¶
-
boMod
= 20¶
-
boMul
= 17¶
-
boNE
= 3¶
-
boNotILike
= 12¶
-
boNotLike
= 10¶
-
boOr
= 0¶
-
boPlus
= 15¶
-
boPow
= 21¶
-
boRegexp
= 8¶
-
clone
(self) → QgsExpressionNode¶
-
dump
(self) → str¶
-
evalNode
(self, parent: QgsExpression, context: QgsExpressionContext) → Any¶
-
isStatic
(self, parent: QgsExpression, context: QgsExpressionContext) → bool¶
-
leftAssociative
(self) → bool¶ Returns true if the operator is left-associative.
-
needsGeometry
(self) → bool¶
-
nodeType
(self) → QgsExpressionNode.NodeType¶
-
op
(self) → QgsExpressionNodeBinaryOperator.BinaryOperator¶ Returns the binary operator.
-
precedence
(self) → int¶ Returns the precedence index for the operator. Higher values have higher precedence.
-
prepareNode
(self, parent: QgsExpression, context: QgsExpressionContext) → bool¶
-
referencedColumns
(self) → Set[str]¶
-
referencedFunctions
(self) → Set[str]¶
-
referencedVariables
(self) → Set[str]¶
-
text
(self) → str¶ Returns a the name of this operator without the operands. I.e. “AND”, “OR”, …
-
class