FunctionSignature class

FunctionSignature class — FunctionSignature class

Functions

Properties

gpointer function-signature Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GGandivaFunctionSignature

Includes

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

Description

Functions

ggandiva_function_signature_new ()

GGandivaFunctionSignature *
ggandiva_function_signature_new (const gchar *base_name,
                                 GList *parameter_types,
                                 GArrowDataType *return_type);

Parameters

base_name

A base name of a function.

 

parameter_types

(element-type GArrowDataType) A list of parameter data types.

 

return_type

A return data type.

 

Since: 0.14.0


ggandiva_function_signature_equal ()

gboolean
ggandiva_function_signature_equal (GGandivaFunctionSignature *function_signature,
                                   GGandivaFunctionSignature *other_function_signature);

Parameters

function_signature

A GGandivaFunctionSignature.

 

other_function_signature

A GGandivaFunctionSignature to be compared.

 

Returns

TRUE if both of them have the same data, FALSE otherwise.

Since: 0.14.0


ggandiva_function_signature_to_string ()

gchar *
ggandiva_function_signature_to_string (GGandivaFunctionSignature *function_signature);

Parameters

function_signature

A GGandivaFunctionSignature

 

Returns

The string representation of the function signature.

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

[transfer full]

Since: 0.14.0


ggandiva_function_signature_get_return_type ()

GArrowDataType *
ggandiva_function_signature_get_return_type
                               (GGandivaFunctionSignature *function_signature);

Parameters

function_signature

A GGandivaFunctionSignature

 

Returns

A GArrowDataType of the return value of the function signature.

[transfer full]

Since: 0.14.0


ggandiva_function_signature_get_base_name ()

gchar *
ggandiva_function_signature_get_base_name
                               (GGandivaFunctionSignature *function_signature);

Parameters

function_signature

A GGandivaFunctionSignature

 

Returns

A base name of the function signature.

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

[transfer full]

Since: 0.14.0


ggandiva_function_signature_get_param_types ()

GList *
ggandiva_function_signature_get_param_types
                               (GGandivaFunctionSignature *function_signature);

Parameters

function_signature

A GGandivaFunctionSignature

 

Returns

A list of parameter data types of the function signature.

[transfer full][element-type GArrowDataType]

Since: 0.14.0

Types and Values

GGANDIVA_TYPE_FUNCTION_SIGNATURE

#define GGANDIVA_TYPE_FUNCTION_SIGNATURE (ggandiva_function_signature_get_type())

struct GGandivaFunctionSignatureClass

struct GGandivaFunctionSignatureClass {
  GObjectClass parent_class;
};

GGandivaFunctionSignature

typedef struct _GGandivaFunctionSignature GGandivaFunctionSignature;

Property Details

The “function-signature” property

  “function-signature”       gpointer

The raw gandiva::FunctionSignature *.

Owner: GGandivaFunctionSignature

Flags: Write / Construct Only