Subgroup: Expression
Class: QgsExpressionNodeFunction¶
-
class
qgis.core.
QgsExpressionNodeFunction
(fnIndex: int, args: QgsExpressionNode.NodeList)¶ Bases:
qgis._core.QgsExpressionNode
A function node consists of an index of the function in the global function array and a list of arguments that will be passed to it.
QgsExpressionNodeFunction(QgsExpressionNodeFunction)
Methods
args
clone
dump
eval
Evaluate this node with the given context and parent. evalNode
fnIndex
isStatic
needsGeometry
nodeType
prepare
Prepare this node for evaluation. prepareNode
referencedColumns
referencedVariables
validateParams
Tests whether the provided argument list is valid for the matching function Attributes
ntBinaryOperator
ntColumnRef
ntCondition
ntFunction
ntInOperator
ntLiteral
ntUnaryOperator
-
args
(self) → QgsExpressionNode.NodeList¶
-
clone
(self) → QgsExpressionNode¶
-
dump
(self) → str¶
-
evalNode
(self, parent: QgsExpression, context: QgsExpressionContext) → Any¶
-
fnIndex
(self) → int¶
-
isStatic
(self, parent: QgsExpression, context: QgsExpressionContext) → bool¶
-
needsGeometry
(self) → bool¶
-
nodeType
(self) → QgsExpressionNode.NodeType¶
-
prepareNode
(self, parent: QgsExpression, context: QgsExpressionContext) → bool¶
-
referencedColumns
(self) → Set[str]¶
-
referencedVariables
(self) → Set[str]¶
-
validateParams
(fnIndex: int, args: QgsExpressionNode.NodeList, error: str) → bool¶ Tests whether the provided argument list is valid for the matching function
-