Top |
GArrowField * | field | Read / Write / Construct Only |
gchar * | name | Read / Write / Construct Only |
GGandivaNode * | condition-node | Read / Write / Construct Only |
GGandivaNode * | else-node | Read / Write / Construct Only |
GGandivaNode * | then-node | Read / Write / Construct Only |
gpointer | node | Write / Construct Only |
GArrowDataType * | return-type | Read / Write / Construct Only |
GObject ╰── GGandivaNode ├── GGandivaBooleanNode ├── GGandivaLiteralNode ├── GGandivaFieldNode ├── GGandivaFunctionNode ├── GGandivaIfNode ├── GGandivaBooleanNode │ ├── GGandivaAndNode │ ├── GGandivaOrNode │ ╰── GGandivaAndNode ├── GGandivaFieldNode ├── GGandivaFunctionNode ├── GGandivaIfNode ╰── GGandivaLiteralNode ├── GGandivaBinaryLiteralNode ├── GGandivaBooleanLiteralNode ├── GGandivaDoubleLiteralNode ├── GGandivaFloatLiteralNode ├── GGandivaInt16LiteralNode ├── GGandivaInt32LiteralNode ├── GGandivaInt64LiteralNode ├── GGandivaInt8LiteralNode ├── GGandivaNullLiteralNode ├── GGandivaStringLiteralNode ├── GGandivaUInt16LiteralNode ├── GGandivaUInt32LiteralNode ├── GGandivaUInt64LiteralNode ├── GGandivaUInt8LiteralNode ├── GGandivaBinaryLiteralNode ├── GGandivaBooleanLiteralNode ├── GGandivaDoubleLiteralNode ├── GGandivaFloatLiteralNode ├── GGandivaInt16LiteralNode ├── GGandivaInt32LiteralNode ├── GGandivaInt64LiteralNode ╰── GGandivaInt8LiteralNode
GGandivaNode is a base class for a node in the expression tree.
GGandivaFieldNode is a class for a node in the expression tree, representing an Arrow field.
GGandivaFunctionNode is a class for a node in the expression tree, representing a function.
GGandivaLiteralNode is a base class for a node in the expression tree, representing a literal.
GGandivaNullLiteralNode is a class for a node in the expression tree, representing a null literal.
GGandivaBooleanLiteralNode is a class for a node in the expression tree, representing a boolean literal.
GGandivaInt8LiteralNode is a class for a node in the expression tree, representing a 8-bit integer literal.
GGandivaUInt8LiteralNode is a class for a node in the expression tree, representing a 8-bit unsigned integer literal.
GGandivaInt16LiteralNode is a class for a node in the expression tree, representing a 16-bit integer literal.
GGandivaUInt16LiteralNode is a class for a node in the expression tree, representing a 16-bit unsigned integer literal.
GGandivaInt32LiteralNode is a class for a node in the expression tree, representing a 32-bit integer literal.
GGandivaUInt32LiteralNode is a class for a node in the expression tree, representing a 32-bit unsigned integer literal.
GGandivaInt64LiteralNode is a class for a node in the expression tree, representing a 64-bit integer literal.
GGandivaUInt64LiteralNode is a class for a node in the expression tree, representing a 64-bit unsigned integer literal.
GGandivaFloatLiteralNode is a class for a node in the expression tree, representing a 32-bit floating point literal.
GGandivaDoubleLiteralNode is a class for a node in the expression tree, representing a 64-bit floating point literal.
GGandivaBinaryLiteralNode is a class for a node in the expression tree, representing a binary literal.
GGandivaStringLiteralNode is a class for a node in the expression tree, representing an UTF-8 encoded string literal.
GGandivaIfNode is a class for a node in the expression tree, representing an if-else.
GGandivaBooleanNode is a class for a node in the expression tree, representing a boolean.
GGandivaAndNode is a class for a node in the expression tree, representing an AND.
GGandivaOrNode is a class for a node in the expression tree, representing an OR.
gchar *
ggandiva_node_to_string (GGandivaNode *node
);
The string representation of the node.
It should be freed with g_free()
when no longer needed.
[transfer full]
Since: 1.0.0
GGandivaFieldNode *
ggandiva_field_node_new (GArrowField *field
);
Since: 0.12.0
GGandivaFunctionNode * ggandiva_function_node_new (const gchar *name
,GList *parameters
,GArrowDataType *return_type
);
name |
The name of the function to be called. |
|
parameters |
The parameters of the function call. |
[element-type GGandivaNode] |
return_type |
The return type of the function call. |
Since: 0.12.0
GList *
ggandiva_function_node_get_parameters (GGandivaFunctionNode *node
);
Since: 0.12.0
GGandivaNullLiteralNode * ggandiva_null_literal_node_new (GArrowDataType *return_type
,GError **error
);
Since: 0.12.0
GGandivaBooleanLiteralNode *
ggandiva_boolean_literal_node_new (gboolean value
);
Since: 0.12.0
gboolean
ggandiva_boolean_literal_node_get_value
(GGandivaBooleanLiteralNode *node
);
Since: 0.12.0
GGandivaInt8LiteralNode *
ggandiva_int8_literal_node_new (gint8 value
);
Since: 0.12.0
gint8
ggandiva_int8_literal_node_get_value (GGandivaInt8LiteralNode *node
);
Since: 0.12.0
GGandivaUInt8LiteralNode *
ggandiva_uint8_literal_node_new (guint8 value
);
Since: 0.12.0
guint8
ggandiva_uint8_literal_node_get_value (GGandivaUInt8LiteralNode *node
);
Since: 0.12.0
GGandivaInt16LiteralNode *
ggandiva_int16_literal_node_new (gint16 value
);
Since: 0.12.0
gint16
ggandiva_int16_literal_node_get_value (GGandivaInt16LiteralNode *node
);
Since: 0.12.0
GGandivaUInt16LiteralNode *
ggandiva_uint16_literal_node_new (guint16 value
);
Since: 0.12.0
guint16
ggandiva_uint16_literal_node_get_value
(GGandivaUInt16LiteralNode *node
);
Since: 0.12.0
GGandivaInt32LiteralNode *
ggandiva_int32_literal_node_new (gint32 value
);
Since: 0.12.0
gint32
ggandiva_int32_literal_node_get_value (GGandivaInt32LiteralNode *node
);
Since: 0.12.0
GGandivaUInt32LiteralNode *
ggandiva_uint32_literal_node_new (guint32 value
);
Since: 0.12.0
guint32
ggandiva_uint32_literal_node_get_value
(GGandivaUInt32LiteralNode *node
);
Since: 0.12.0
GGandivaInt64LiteralNode *
ggandiva_int64_literal_node_new (gint64 value
);
Since: 0.12.0
gint64
ggandiva_int64_literal_node_get_value (GGandivaInt64LiteralNode *node
);
Since: 0.12.0
GGandivaUInt64LiteralNode *
ggandiva_uint64_literal_node_new (guint64 value
);
Since: 0.12.0
guint64
ggandiva_uint64_literal_node_get_value
(GGandivaUInt64LiteralNode *node
);
Since: 0.12.0
GGandivaFloatLiteralNode *
ggandiva_float_literal_node_new (gfloat value
);
Since: 0.12.0
gfloat
ggandiva_float_literal_node_get_value (GGandivaFloatLiteralNode *node
);
Since: 0.12.0
GGandivaDoubleLiteralNode *
ggandiva_double_literal_node_new (gdouble value
);
Since: 0.12.0
gdouble
ggandiva_double_literal_node_get_value
(GGandivaDoubleLiteralNode *node
);
Since: 0.12.0
GGandivaBinaryLiteralNode * ggandiva_binary_literal_node_new (const guint8 *value
,gsize size
);
value |
The value of the binary literal. |
[array length=size] |
size |
The number of bytes of the value. |
Since: 0.12.0
GGandivaBinaryLiteralNode *
ggandiva_binary_literal_node_new_bytes
(GBytes *value
);
Since: 0.12.0
GBytes *
ggandiva_binary_literal_node_get_value
(GGandivaBinaryLiteralNode *node
);
Since: 0.12.0
GGandivaStringLiteralNode *
ggandiva_string_literal_node_new (const gchar *value
);
Since: 0.12.0
const gchar *
ggandiva_string_literal_node_get_value
(GGandivaStringLiteralNode *node
);
Since: 0.12.0
GGandivaIfNode * ggandiva_if_node_new (GGandivaNode *condition_node
,GGandivaNode *then_node
,GGandivaNode *else_node
,GArrowDataType *return_type
,GError **error
);
condition_node |
the node with the condition for if-else expression. |
|
then_node |
the node in case the condition node is true. |
|
else_node |
the node in case the condition node is false. |
|
return_type |
||
error |
[nullable] |
Since: 0.12.0
GList *
ggandiva_boolean_node_get_children (GGandivaBooleanNode *node
);
Since: 0.17.0
struct GGandivaFunctionNodeClass { GGandivaNodeClass parent_class; };
struct GGandivaLiteralNodeClass { GGandivaNodeClass parent_class; };
#define GGANDIVA_TYPE_NULL_LITERAL_NODE (ggandiva_null_literal_node_get_type())
struct GGandivaNullLiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_BOOLEAN_LITERAL_NODE (ggandiva_boolean_literal_node_get_type())
struct GGandivaBooleanLiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_INT8_LITERAL_NODE (ggandiva_int8_literal_node_get_type())
struct GGandivaInt8LiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_UINT8_LITERAL_NODE (ggandiva_uint8_literal_node_get_type())
struct GGandivaUInt8LiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_INT16_LITERAL_NODE (ggandiva_int16_literal_node_get_type())
struct GGandivaInt16LiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_UINT16_LITERAL_NODE (ggandiva_uint16_literal_node_get_type())
struct GGandivaUInt16LiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_INT32_LITERAL_NODE (ggandiva_int32_literal_node_get_type())
struct GGandivaInt32LiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_UINT32_LITERAL_NODE (ggandiva_uint32_literal_node_get_type())
struct GGandivaUInt32LiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_INT64_LITERAL_NODE (ggandiva_int64_literal_node_get_type())
struct GGandivaInt64LiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_UINT64_LITERAL_NODE (ggandiva_uint64_literal_node_get_type())
struct GGandivaUInt64LiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_FLOAT_LITERAL_NODE (ggandiva_float_literal_node_get_type())
struct GGandivaFloatLiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_DOUBLE_LITERAL_NODE (ggandiva_double_literal_node_get_type())
struct GGandivaDoubleLiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_BINARY_LITERAL_NODE (ggandiva_binary_literal_node_get_type())
struct GGandivaBinaryLiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
#define GGANDIVA_TYPE_STRING_LITERAL_NODE (ggandiva_string_literal_node_get_type())
struct GGandivaStringLiteralNodeClass { GGandivaLiteralNodeClass parent_class; };
struct GGandivaBooleanNodeClass { GGandivaNodeClass parent_class; };
“field”
property“field” GArrowField *
The field.
Owner: GGandivaFieldNode
Flags: Read / Write / Construct Only
“name”
property“name” gchar *
The name of the function.
Owner: GGandivaFunctionNode
Flags: Read / Write / Construct Only
Default value: NULL
“condition-node”
property“condition-node” GGandivaNode *
The condition node.
Owner: GGandivaIfNode
Flags: Read / Write / Construct Only
“else-node”
property“else-node” GGandivaNode *
The else node.
Owner: GGandivaIfNode
Flags: Read / Write / Construct Only
“then-node”
property“then-node” GGandivaNode *
The then node.
Owner: GGandivaIfNode
Flags: Read / Write / Construct Only
“node”
property“node” gpointer
The raw std::shared<gandiva::Node> *.
Owner: GGandivaNode
Flags: Write / Construct Only
“return-type”
property“return-type” GArrowDataType *
The return type.
Owner: GGandivaNode
Flags: Read / Write / Construct Only