Adapter for appending a list of ManifestEntrys to an ArrowArray. Implemented by different versions with version-specific schemas.
More...
#include <manifest_adapter_internal.h>
|
|
| ManifestEntryAdapter (std::optional< int64_t > snapshot_id_, std::shared_ptr< PartitionSpec > partition_spec, std::shared_ptr< Schema > current_schema, ManifestContent content) |
| |
|
virtual Status | Append (const ManifestEntry &entry)=0 |
| |
|
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 |
| |
|
virtual Status | Init ()=0 |
| |
|
Status | StartAppending () |
| |
|
Result< ArrowArray * > | FinishAppending () |
| |
|
int64_t | size () const |
| |
|
const std::unordered_map< std::string, std::string > & | metadata () const |
| |
|
|
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 |
| |
|
|
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 for appending a list of ManifestEntrys to an ArrowArray. Implemented by different versions with version-specific schemas.
The documentation for this class was generated from the following files: