Top |
gpointer | expressions | Write / Construct Only |
gpointer | projector | Write / Construct Only |
GArrowSchema * | schema | Read / Write / Construct Only |
GGandivaProjector is a class that evaluates given expressions against the given record batches.
GGandivaSelectableProjector is a class that evaluates given expressions against the given selected records in the given record batches.
GGandivaProjector * ggandiva_projector_new (GArrowSchema *schema
,GList *expressions
,GError **error
);
schema |
A GArrowSchema. |
|
expressions |
The built expressions. |
[element-type GGandivaExpression] |
error |
[nullable] |
Since: 0.12.0
GList * ggandiva_projector_evaluate (GGandivaProjector *projector
,GArrowRecordBatch *record_batch
,GError **error
);
The GArrowArray as the result evaluated on success, NULL
on error.
[element-type GArrowArray][nullable][transfer full]
Since: 0.12.0
GGandivaSelectableProjector * ggandiva_selectable_projector_new (GArrowSchema *schema
,GList *expressions
,GGandivaSelectionVectorMode mode
,GError **error
);
schema |
A GArrowSchema. |
|
expressions |
The built expressions. |
[element-type GGandivaExpression] |
mode |
A GGandivaSelectionVectorMode to be used. |
|
error |
[nullable] |
Since: 4.0.0
GList * ggandiva_selectable_projector_evaluate (GGandivaSelectableProjector *projector
,GArrowRecordBatch *record_batch
,GGandivaSelectionVector *selection_vector
,GError **error
);
projector |
||
record_batch |
||
selection_vector |
A GGandivaSelectionVector that specifies the filtered row positions. |
|
error |
[nullable] |
The GArrowArray as the result evaluated on success, NULL
on error.
[element-type GArrowArray][nullable][transfer full]
Since: 4.0.0
struct GGandivaSelectableProjectorClass { GGandivaProjectorClass parent_class; };
“expressions”
property“expressions” gpointer
The expressions for the projector.
Owner: GGandivaProjector
Flags: Write / Construct Only
“projector”
property“projector” gpointer
The raw std::shared<gandiva::Projector> *.
Owner: GGandivaProjector
Flags: Write / Construct Only
“schema”
property“schema” GArrowSchema *
The schema of the projector.
Owner: GGandivaProjector
Flags: Read / Write / Construct Only