Class: QgsExpressionNodeColumnRef¶
- class qgis.core.QgsExpressionNodeColumnRef¶
Bases:
QgsExpressionNode
An expression node which takes it value from a feature’s field.
QgsExpressionNodeColumnRef(name: str) Constructor for
QgsExpressionNodeColumnRef
, referencing the column with the specifiedname
.QgsExpressionNodeColumnRef(
QgsExpressionNodeColumnRef
)Methods
- rtype
QgsExpressionNode
- rtype
str
- param parent
- param parent
The name of the column.
- rtype
bool
- rtype
QgsExpressionNode.NodeType
- param parent
- rtype
Set[str]
- rtype
Set[str]
- rtype
Set[str]
- clone(self) QgsExpressionNode ¶
- Return type
- dump(self) str ¶
- Return type
str
- evalNode(self, parent: QgsExpression, context: QgsExpressionContext) Any ¶
- Parameters
parent (QgsExpression) –
context (QgsExpressionContext) –
- Return type
Any
- isStatic(self, parent: QgsExpression, context: QgsExpressionContext) bool ¶
- Parameters
parent (QgsExpression) –
context (QgsExpressionContext) –
- Return type
bool
- name(self) str ¶
The name of the column.
- Return type
str
- needsGeometry(self) bool ¶
- Return type
bool
- nodeType(self) QgsExpressionNode.NodeType ¶
- Return type
- prepareNode(self, parent: QgsExpression, context: QgsExpressionContext) bool ¶
- Parameters
parent (QgsExpression) –
context (QgsExpressionContext) –
- Return type
bool
- referencedColumns(self) Set[str] ¶
- Return type
Set[str]
- referencedFunctions(self) Set[str] ¶
- Return type
Set[str]
- referencedVariables(self) Set[str] ¶
- Return type
Set[str]