Statistics related classes

Statistics related classes

Functions

Properties

gpointer statistics Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GParquetStatistics
        ├── GParquetBooleanStatistics
        ├── GParquetByteArrayStatistics
        ├── GParquetDoubleStatistics
        ├── GParquetFixedLengthByteArrayStatistics
        ├── GParquetFloatStatistics
        ├── GParquetInt32Statistics
        ├── GParquetInt64Statistics
        ├── GParquetBooleanStatistics
        ├── GParquetByteArrayStatistics
        ├── GParquetDoubleStatistics
        ├── GParquetFixedLengthByteArrayStatistics
        ├── GParquetFloatStatistics
        ├── GParquetInt32Statistics
        ╰── GParquetInt64Statistics

Includes

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

Description

GParquetStatistics is a base class for statistics classes such as GParquetInt32Statistics.

GParquetBooleanStatistics is a class for boolean statistics.

GParquetInt32Statistics is a class for 32-bit integer statistics.

GParquetInt64Statistics is a class for 64-bit integer statistics.

GParquetFloatStatistics is a class for 32-bit floating point number statistics.

GParquetDoubleStatistics is a class for 64-bit floating point number statistics.

GParquetByteArrayStatistics is a class for byte array statistics.

GParquetFixedLengthByteArrayStatistics is a class for fixed length byte array statistics.

Functions

gparquet_statistics_equal ()

gboolean
gparquet_statistics_equal (GParquetStatistics *statistics,
                           GParquetStatistics *other_statistics);

Parameters

statistics

A GParquetStatistics.

 

other_statistics

A GParquetStatistics.

 

Returns

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

Since: 8.0.0


gparquet_statistics_has_n_nulls ()

gboolean
gparquet_statistics_has_n_nulls (GParquetStatistics *statistics);

Parameters

statistics

A GParquetStatistics.

 

Returns

TRUE if the number of null values is set, FALSE otherwise.

Since: 8.0.0


gparquet_statistics_get_n_nulls ()

gint64
gparquet_statistics_get_n_nulls (GParquetStatistics *statistics);

Parameters

statistics

A GParquetStatistics.

 

Returns

The number of null values.

Since: 8.0.0


gparquet_statistics_has_n_distinct_values ()

gboolean
gparquet_statistics_has_n_distinct_values
                               (GParquetStatistics *statistics);

gparquet_statistics_get_n_distinct_values ()

gint64
gparquet_statistics_get_n_distinct_values
                               (GParquetStatistics *statistics);

Parameters

statistics

A GParquetStatistics.

 

Returns

The number of distinct values.

Since: 8.0.0


gparquet_statistics_get_n_values ()

gint64
gparquet_statistics_get_n_values (GParquetStatistics *statistics);

Parameters

statistics

A GParquetStatistics.

 

Returns

The number of values.

Since: 8.0.0


gparquet_statistics_has_min_max ()

gboolean
gparquet_statistics_has_min_max (GParquetStatistics *statistics);

Parameters

statistics

A GParquetStatistics.

 

Returns

TRUE if the min and max statistics are set, FALSE otherwise.

Since: 8.0.0


gparquet_boolean_statistics_get_min ()

gboolean
gparquet_boolean_statistics_get_min (GParquetBooleanStatistics *statistics);

Parameters

statistics

A GParquetBooleanStatistics.

 

Returns

The minimum value.

Since: 8.0.0


gparquet_boolean_statistics_get_max ()

gboolean
gparquet_boolean_statistics_get_max (GParquetBooleanStatistics *statistics);

Parameters

statistics

A GParquetBooleanStatistics.

 

Returns

The maximum value.

Since: 8.0.0


gparquet_int32_statistics_get_min ()

gint32
gparquet_int32_statistics_get_min (GParquetInt32Statistics *statistics);

Parameters

statistics

A GParquetInt32Statistics.

 

Returns

The minimum value.

Since: 8.0.0


gparquet_int32_statistics_get_max ()

gint32
gparquet_int32_statistics_get_max (GParquetInt32Statistics *statistics);

Parameters

statistics

A GParquetInt32Statistics.

 

Returns

The maximum value.

Since: 8.0.0


gparquet_int64_statistics_get_min ()

gint64
gparquet_int64_statistics_get_min (GParquetInt64Statistics *statistics);

Parameters

statistics

A GParquetInt64Statistics.

 

Returns

The minimum value.

Since: 8.0.0


gparquet_int64_statistics_get_max ()

gint64
gparquet_int64_statistics_get_max (GParquetInt64Statistics *statistics);

Parameters

statistics

A GParquetInt64Statistics.

 

Returns

The maximum value.

Since: 8.0.0


gparquet_float_statistics_get_min ()

gfloat
gparquet_float_statistics_get_min (GParquetFloatStatistics *statistics);

Parameters

statistics

A GParquetFloatStatistics.

 

Returns

The minimum value.

Since: 8.0.0


gparquet_float_statistics_get_max ()

gfloat
gparquet_float_statistics_get_max (GParquetFloatStatistics *statistics);

Parameters

statistics

A GParquetFloatStatistics.

 

Returns

The maximum value.

Since: 8.0.0


gparquet_double_statistics_get_min ()

gdouble
gparquet_double_statistics_get_min (GParquetDoubleStatistics *statistics);

Parameters

statistics

A GParquetDoubleStatistics.

 

Returns

The minimum value.

Since: 8.0.0


gparquet_double_statistics_get_max ()

gdouble
gparquet_double_statistics_get_max (GParquetDoubleStatistics *statistics);

Parameters

statistics

A GParquetDoubleStatistics.

 

Returns

The maximum value.

Since: 8.0.0


gparquet_byte_array_statistics_get_min ()

GBytes *
gparquet_byte_array_statistics_get_min
                               (GParquetByteArrayStatistics *statistics);

Parameters

statistics

A GParquetByteArrayStatistics.

 

Returns

The minimum value.

[transfer none]

Since: 8.0.0


gparquet_byte_array_statistics_get_max ()

GBytes *
gparquet_byte_array_statistics_get_max
                               (GParquetByteArrayStatistics *statistics);

Parameters

statistics

A GParquetByteArrayStatistics.

 

Returns

The maximum value.

[transfer none]

Since: 8.0.0


gparquet_fixed_length_byte_array_statistics_get_min ()

GBytes *
gparquet_fixed_length_byte_array_statistics_get_min
                               (GParquetFixedLengthByteArrayStatistics *statistics);

Parameters

Returns

The minimum value.

[transfer none]

Since: 8.0.0


gparquet_fixed_length_byte_array_statistics_get_max ()

GBytes *
gparquet_fixed_length_byte_array_statistics_get_max
                               (GParquetFixedLengthByteArrayStatistics *statistics);

Parameters

Returns

The maximum value.

[transfer none]

Since: 8.0.0

Types and Values

GPARQUET_TYPE_STATISTICS

#define             GPARQUET_TYPE_STATISTICS

struct GParquetStatisticsClass

struct GParquetStatisticsClass {
  GObjectClass parent_class;
};

GPARQUET_TYPE_BOOLEAN_STATISTICS

#define             GPARQUET_TYPE_BOOLEAN_STATISTICS

struct GParquetBooleanStatisticsClass

struct GParquetBooleanStatisticsClass {
  GParquetStatisticsClass parent_class;
};

GPARQUET_TYPE_INT32_STATISTICS

#define             GPARQUET_TYPE_INT32_STATISTICS

struct GParquetInt32StatisticsClass

struct GParquetInt32StatisticsClass {
  GParquetStatisticsClass parent_class;
};

GPARQUET_TYPE_INT64_STATISTICS

#define             GPARQUET_TYPE_INT64_STATISTICS

struct GParquetInt64StatisticsClass

struct GParquetInt64StatisticsClass {
  GParquetStatisticsClass parent_class;
};

GPARQUET_TYPE_FLOAT_STATISTICS

#define             GPARQUET_TYPE_FLOAT_STATISTICS

struct GParquetFloatStatisticsClass

struct GParquetFloatStatisticsClass {
  GParquetStatisticsClass parent_class;
};

GPARQUET_TYPE_DOUBLE_STATISTICS

#define             GPARQUET_TYPE_DOUBLE_STATISTICS

struct GParquetDoubleStatisticsClass

struct GParquetDoubleStatisticsClass {
  GParquetStatisticsClass parent_class;
};

GPARQUET_TYPE_BYTE_ARRAY_STATISTICS

#define             GPARQUET_TYPE_BYTE_ARRAY_STATISTICS

struct GParquetByteArrayStatisticsClass

struct GParquetByteArrayStatisticsClass {
  GParquetStatisticsClass parent_class;
};

GPARQUET_TYPE_FIXED_LENGTH_BYTE_ARRAY_STATISTICS

#define             GPARQUET_TYPE_FIXED_LENGTH_BYTE_ARRAY_STATISTICS

struct GParquetFixedLengthByteArrayStatisticsClass

struct GParquetFixedLengthByteArrayStatisticsClass {
  GParquetStatisticsClass parent_class;
};

GParquetBooleanStatistics

typedef struct _GParquetBooleanStatistics GParquetBooleanStatistics;

GParquetByteArrayStatistics

typedef struct _GParquetByteArrayStatistics GParquetByteArrayStatistics;

GParquetDoubleStatistics

typedef struct _GParquetDoubleStatistics GParquetDoubleStatistics;

GParquetFixedLengthByteArrayStatistics

typedef struct _GParquetFixedLengthByteArrayStatistics GParquetFixedLengthByteArrayStatistics;

GParquetFloatStatistics

typedef struct _GParquetFloatStatistics GParquetFloatStatistics;

GParquetInt32Statistics

typedef struct _GParquetInt32Statistics GParquetInt32Statistics;

GParquetInt64Statistics

typedef struct _GParquetInt64Statistics GParquetInt64Statistics;

GParquetStatistics

typedef struct _GParquetStatistics GParquetStatistics;

Property Details

The “statistics” property

  “statistics”               gpointer

The raw std::shared_ptr<parquet::Statistics>.

Owner: GParquetStatistics

Flags: Write / Construct Only