Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | List of all members
arrow::KeyValueMetadata Class Reference

#include <arrow/util/key_value_metadata.h>

Public Member Functions

 KeyValueMetadata ()
 
 KeyValueMetadata (const std::vector< std::string > &keys, const std::vector< std::string > &values)
 
 KeyValueMetadata (const std::unordered_map< std::string, std::string > &map)
 
virtual ~KeyValueMetadata ()=default
 
void ToUnorderedMap (std::unordered_map< std::string, std::string > *out) const
 
void Append (const std::string &key, const std::string &value)
 
void reserve (int64_t n)
 
int64_t size () const
 
std::string key (int64_t i) const
 
std::string value (int64_t i) const
 
std::shared_ptr< KeyValueMetadataCopy () const
 
bool Equals (const KeyValueMetadata &other) const
 

Constructor & Destructor Documentation

◆ KeyValueMetadata() [1/3]

arrow::KeyValueMetadata::KeyValueMetadata ( )

◆ KeyValueMetadata() [2/3]

arrow::KeyValueMetadata::KeyValueMetadata ( const std::vector< std::string > &  keys,
const std::vector< std::string > &  values 
)

◆ KeyValueMetadata() [3/3]

arrow::KeyValueMetadata::KeyValueMetadata ( const std::unordered_map< std::string, std::string > &  map)
explicit

◆ ~KeyValueMetadata()

virtual arrow::KeyValueMetadata::~KeyValueMetadata ( )
virtualdefault

Member Function Documentation

◆ Append()

void arrow::KeyValueMetadata::Append ( const std::string &  key,
const std::string &  value 
)

◆ Copy()

std::shared_ptr<KeyValueMetadata> arrow::KeyValueMetadata::Copy ( ) const

◆ Equals()

bool arrow::KeyValueMetadata::Equals ( const KeyValueMetadata other) const

◆ key()

std::string arrow::KeyValueMetadata::key ( int64_t  i) const

◆ reserve()

void arrow::KeyValueMetadata::reserve ( int64_t  n)

◆ size()

int64_t arrow::KeyValueMetadata::size ( ) const

◆ ToUnorderedMap()

void arrow::KeyValueMetadata::ToUnorderedMap ( std::unordered_map< std::string, std::string > *  out) const

◆ value()

std::string arrow::KeyValueMetadata::value ( int64_t  i) const

The documentation for this class was generated from the following file: