iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
iceberg::PartitionFieldSummary Struct Reference

Field summary for partition field in the spec. More...

#include <manifest_list.h>

Public Member Functions

bool operator== (const PartitionFieldSummary &other) const =default
 

Static Public Member Functions

static const std::shared_ptr< StructType > & Type ()
 

Public Attributes

bool contains_null = true
 
std::optional< bool > contains_nan
 
std::optional< std::vector< uint8_t > > lower_bound
 
std::optional< std::vector< uint8_t > > upper_bound
 

Static Public Attributes

static const SchemaField kContainsNull
 
static const SchemaField kContainsNaN
 
static const SchemaField kLowerBound
 
static const SchemaField kUpperBound
 

Detailed Description

Field summary for partition field in the spec.

Each field of this corresponds to a field in the manifest file's partition spec.

Member Data Documentation

◆ contains_nan

std::optional<bool> iceberg::PartitionFieldSummary::contains_nan

Field id: 518 Whether the manifest contains at least one partition with a NaN value for the field

◆ contains_null

bool iceberg::PartitionFieldSummary::contains_null = true

Field id: 509 Whether the manifest contains at least one partition with a null value for the field

◆ kContainsNaN

const SchemaField iceberg::PartitionFieldSummary::kContainsNaN
inlinestatic
Initial value:
=
"True if any file has a nan partition value")
static SchemaField MakeOptional(int32_t field_id, std::string_view name, std::shared_ptr< Type > type, std::string_view doc={})
Construct an optional (nullable) field.
Definition schema_field.cc:38
ICEBERG_EXPORT const std::shared_ptr< BooleanType > & boolean()
Return a BooleanType instance.

◆ kContainsNull

const SchemaField iceberg::PartitionFieldSummary::kContainsNull
inlinestatic
Initial value:
=
"True if any file has a null partition value")
static SchemaField MakeRequired(int32_t field_id, std::string_view name, std::shared_ptr< Type > type, std::string_view doc={})
Construct a required (non-null) field.
Definition schema_field.cc:43

◆ kLowerBound

const SchemaField iceberg::PartitionFieldSummary::kLowerBound
inlinestatic
Initial value:
510, "lower_bound", iceberg::binary(), "Partition lower bound for all files")
ICEBERG_EXPORT const std::shared_ptr< BinaryType > & binary()
Return a BinaryType instance.

◆ kUpperBound

const SchemaField iceberg::PartitionFieldSummary::kUpperBound
inlinestatic
Initial value:
511, "upper_bound", iceberg::binary(), "Partition upper bound for all files")

◆ lower_bound

std::optional<std::vector<uint8_t> > iceberg::PartitionFieldSummary::lower_bound

Field id: 510 Lower bound for the non-null, non-NaN values in the partition field, or null if all values are null or NaN

◆ upper_bound

std::optional<std::vector<uint8_t> > iceberg::PartitionFieldSummary::upper_bound

Field id: 511 Upper bound for the non-null, non-NaN values in the partition field, or null if all values are null or NaN


The documentation for this struct was generated from the following files: