Selection vector classes

Selection vector classes

Functions

Properties

gpointer selection-vector Write / Construct Only

Types and Values

Object Hierarchy

    GEnum
    ╰── GGandivaSelectionVectorMode
    GObject
    ╰── GGandivaSelectionVector
        ├── GGandivaUInt16SelectionVector
        ├── GGandivaUInt32SelectionVector
        ╰── GGandivaUInt64SelectionVector

Includes

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

Description

GGandivaSelectionVector is a base class for a selection vector.

GGandivaUInt16SelectionVector is a class for a selection vector that uses 16-bit unsigned integer for each index.

GGandivaUInt32SelectionVector is a class for a selection vector that uses 32-bit unsigned integer for each index.

GGandivaUInt64SelectionVector is a class for a selection vector that uses 64-bit unsigned integer for each index.

Functions

ggandiva_selection_vector_get_mode ()

GGandivaSelectionVectorMode
ggandiva_selection_vector_get_mode (GGandivaSelectionVector *selection_vector);

Parameters

selection_vector

A GGandivaSelectionVector.

 

Returns

A GGandivaSelectionVectorMode for the selection vector.

Since: 4.0.0


ggandiva_selection_vector_to_array ()

GArrowArray *
ggandiva_selection_vector_to_array (GGandivaSelectionVector *selection_vector);

Parameters

selection_vector

A GGandivaSelectionVector.

 

Returns

A GArrowArray that has the same content of the selection vector.

[transfer full]

Since: 4.0.0


ggandiva_uint16_selection_vector_new ()

GGandivaUInt16SelectionVector *
ggandiva_uint16_selection_vector_new (gint64 max_slots,
                                      GError **error);

Parameters

max_slots

The max number of slots.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly created GGandivaUInt16SelectionVector.

Since: 4.0.0


ggandiva_uint32_selection_vector_new ()

GGandivaUInt32SelectionVector *
ggandiva_uint32_selection_vector_new (gint64 max_slots,
                                      GError **error);

Parameters

max_slots

The max number of slots.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly created GGandivaUInt32SelectionVector.

Since: 4.0.0


ggandiva_uint64_selection_vector_new ()

GGandivaUInt64SelectionVector *
ggandiva_uint64_selection_vector_new (gint64 max_slots,
                                      GError **error);

Parameters

max_slots

The max number of slots.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly created GGandivaUInt64SelectionVector.

Since: 4.0.0

Types and Values

enum GGandivaSelectionVectorMode

They are corresponding to gandiva::SelectionVector::Mode values.

Members

GGANDIVA_SELECTION_VECTOR_MODE_NONE

Selection vector isn't used.

 

GGANDIVA_SELECTION_VECTOR_MODE_UINT16

GGandivaUInt16SelectionVector is used.

 

GGANDIVA_SELECTION_VECTOR_MODE_UINT32

GGandivaUInt32SelectionVector is used.

 

GGANDIVA_SELECTION_VECTOR_MODE_UINT64

GGandivaUInt64SelectionVector is used.

 

Since: 4.0.0


GGANDIVA_TYPE_SELECTION_VECTOR

#define GGANDIVA_TYPE_SELECTION_VECTOR (ggandiva_selection_vector_get_type())

struct GGandivaSelectionVectorClass

struct GGandivaSelectionVectorClass {
  GObjectClass parent_class;
};

GGANDIVA_TYPE_UINT16_SELECTION_VECTOR

#define             GGANDIVA_TYPE_UINT16_SELECTION_VECTOR

struct GGandivaUInt16SelectionVectorClass

struct GGandivaUInt16SelectionVectorClass {
  GGandivaSelectionVectorClass parent_class;
};

GGANDIVA_TYPE_UINT32_SELECTION_VECTOR

#define             GGANDIVA_TYPE_UINT32_SELECTION_VECTOR

struct GGandivaUInt32SelectionVectorClass

struct GGandivaUInt32SelectionVectorClass {
  GGandivaSelectionVectorClass parent_class;
};

GGANDIVA_TYPE_UINT64_SELECTION_VECTOR

#define             GGANDIVA_TYPE_UINT64_SELECTION_VECTOR

struct GGandivaUInt64SelectionVectorClass

struct GGandivaUInt64SelectionVectorClass {
  GGandivaSelectionVectorClass parent_class;
};

GGandivaSelectionVector

typedef struct _GGandivaSelectionVector GGandivaSelectionVector;

GGandivaUInt16SelectionVector

typedef struct _GGandivaUInt16SelectionVector GGandivaUInt16SelectionVector;

GGandivaUInt32SelectionVector

typedef struct _GGandivaUInt32SelectionVector GGandivaUInt32SelectionVector;

GGandivaUInt64SelectionVector

typedef struct _GGandivaUInt64SelectionVector GGandivaUInt64SelectionVector;

Property Details

The “selection-vector” property

  “selection-vector”         gpointer

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

Owner: GGandivaSelectionVector

Flags: Write / Construct Only