Expression classes

Expression classes

Functions

Properties

gpointer expression Write / Construct Only
GArrowField * result-field Read / Write / Construct Only
GGandivaNode * root-node Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GGandivaExpression

Includes

#include <gandiva-glib/gandiva-glib.h>

Description

GGandivaExpression is a class for an expression tree with a root node, and a result field.

Functions

ggandiva_expression_new ()

GGandivaExpression *
ggandiva_expression_new (GGandivaNode *root_node,
                         GArrowField *result_field);

Parameters

root_node

The root node for the expression.

 

result_field

The name and type of returned value as GArrowField.

 

Returns

A newly created GGandivaExpression.

Since: 0.12.0


ggandiva_expression_to_string ()

gchar *
ggandiva_expression_to_string (GGandivaExpression *expression);

Parameters

expression

A GGandivaExpression.

 

Returns

The string representation of the node in the expression tree.

It should be freed with g_free() when no longer needed.

[transfer full]

Since: 0.12.0

Types and Values

GGANDIVA_TYPE_EXPRESSION

#define GGANDIVA_TYPE_EXPRESSION (ggandiva_expression_get_type())

struct GGandivaExpressionClass

struct GGandivaExpressionClass {
  GObjectClass parent_class;
};

GGandivaExpression

typedef struct _GGandivaExpression GGandivaExpression;

Property Details

The “expression” property

  “expression”               gpointer

The raw std::shared<gandiva::Expression> *.

Flags: Write / Construct Only


The “result-field” property

  “result-field”             GArrowField *

The name and type of returned value as #GArrowField.

Flags: Read / Write / Construct Only


The “root-node” property

  “root-node”                GGandivaNode *

The root node for the expression.

Flags: Read / Write / Construct Only