Adapter to convert V1 ManifestEntry to ArrowArray.
More...
#include <v1_metadata_internal.h>
|
|
| ManifestEntryAdapterV1 (std::optional< int64_t > snapshot_id, std::shared_ptr< PartitionSpec > partition_spec, std::shared_ptr< Schema > current_schema) |
| |
| Status | Init () override |
| |
| Status | Append (const ManifestEntry &entry) override |
| |
|
| ManifestEntryAdapter (std::optional< int64_t > snapshot_id_, std::shared_ptr< PartitionSpec > partition_spec, std::shared_ptr< Schema > current_schema, ManifestContent content) |
| |
|
const std::shared_ptr< Schema > & | schema () const |
| |
|
ManifestContent | content () const |
| |
|
std::optional< int64_t > | snapshot_id () const |
| |
|
const std::shared_ptr< PartitionSpec > & | partition_spec () const |
| |
|
const std::shared_ptr< StructType > & | partition_type () const |
| |
|
Status | StartAppending () |
| |
|
Result< ArrowArray * > | FinishAppending () |
| |
|
int64_t | size () const |
| |
|
const std::unordered_map< std::string, std::string > & | metadata () const |
| |
|
|
static std::shared_ptr< Schema > | EntrySchema (std::shared_ptr< StructType > partition_type) |
| |
|
static std::shared_ptr< Schema > | WrapFileSchema (std::shared_ptr< StructType > file_schema) |
| |
|
static std::shared_ptr< StructType > | DataFileSchema (std::shared_ptr< StructType > partition_type) |
| |
|
|
Status | AppendInternal (const ManifestEntry &entry) |
| |
|
Status | AppendDataFile (ArrowArray *array, const std::shared_ptr< StructType > &data_file_type, const DataFile &file) |
| |
|
virtual Result< std::optional< int64_t > > | GetSequenceNumber (const ManifestEntry &entry) const |
| |
|
virtual Result< std::optional< std::string > > | GetReferenceDataFile (const DataFile &file) const |
| |
|
virtual Result< std::optional< int64_t > > | GetFirstRowId (const DataFile &file) const |
| |
|
virtual Result< std::optional< int64_t > > | GetContentOffset (const DataFile &file) const |
| |
|
virtual Result< std::optional< int64_t > > | GetContentSizeInBytes (const DataFile &file) const |
| |
|
static Status | AppendPartitionValues (ArrowArray *array, const std::shared_ptr< StructType > &partition_type, const PartitionValues &partition_values) |
| |
|
std::optional< int64_t > | snapshot_id_ |
| |
|
std::shared_ptr< PartitionSpec > | partition_spec_ |
| |
|
std::shared_ptr< Schema > | current_schema_ |
| |
|
std::shared_ptr< StructType > | partition_type_ |
| |
|
std::shared_ptr< Schema > | manifest_schema_ |
| |
|
const ManifestContent | content_ |
| |
|
ArrowArray | array_ |
| |
|
ArrowSchema | schema_ |
| |
|
int64_t | size_ = 0 |
| |
|
std::unordered_map< std::string, std::string > | metadata_ |
| |
Adapter to convert V1 ManifestEntry to ArrowArray.
◆ Append()
| Status iceberg::ManifestEntryAdapterV1::Append |
( |
const ManifestEntry & |
entry | ) |
|
|
overridevirtual |
◆ Init()
| Status iceberg::ManifestEntryAdapterV1::Init |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: