Subgroup: Expression

Class: QgsExpressionNodeLiteral

class qgis.core.QgsExpressionNodeLiteral(value: Any)

Bases: qgis._core.QgsExpressionNode

QgsExpressionNodeLiteral(QgsExpressionNodeLiteral)

Methods

clone
dump
eval Evaluate this node with the given context and parent.
evalNode
isStatic
needsGeometry
nodeType
prepare Prepare this node for evaluation.
prepareNode
referencedColumns
referencedVariables
value The value of the literal.

Attributes

ntBinaryOperator
ntColumnRef
ntCondition
ntFunction
ntInOperator
ntLiteral
ntUnaryOperator
clone(self) → QgsExpressionNode
dump(self) → str
evalNode(self, parent: QgsExpression, context: QgsExpressionContext) → Any
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]
value(self) → Any

The value of the literal.