Class: QgsArrowInferSchemaOptions¶
Options for inferring an ArrowSchema from a feature source.
Added in version 4.0.
Methods
The name that should be used for a layer's geometry column |
|
Set the name that should be used to refer to the geometry column |
- class qgis.core.QgsArrowInferSchemaOptions[source]¶
Bases:
object- __init__()
Construct default options
- __init__(a0: QgsArrowInferSchemaOptions)
- Parameters:
- geometryColumnName(self) str[source]¶
The name that should be used for a layer’s geometry column
If empty, the geometry column should be derived from the layer or be named geometry if the layer does not declare a geometry column name.
- Return type:
str
- setGeometryColumnName(self, geometryColumnName: str | None)[source]¶
Set the name that should be used to refer to the geometry column
If empty, the geometry column will be derived from the layer or be named geometry if the layer does not declare a geometry column name.
- Parameters:
geometryColumnName (Optional[str])