OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DictionaryValueConverter< TARGET_TYPE > Struct Template Reference

#include <TargetValueConvertersImpl.h>

+ Inheritance diagram for DictionaryValueConverter< TARGET_TYPE >:
+ Collaboration diagram for DictionaryValueConverter< TARGET_TYPE >:

Public Types

using ElementsDataColumnPtr = typename NumericValueConverter< int64_t, TARGET_TYPE >::ColumnDataPtr
 
using ElementsBufferColumnPtr = std::unique_ptr< std::vector< int32_t >>
 
- Public Types inherited from NumericValueConverter< int64_t, TARGET_TYPE >
using ColumnDataPtr = std::unique_ptr< TARGET_TYPE, CheckedMallocDeleter< TARGET_TYPE >>
 
using ElementsBufferColumnPtr = ColumnDataPtr
 
using CasterFunc = std::function< TARGET_TYPE(int64_t, bool, TARGET_TYPE)>
 

Public Member Functions

 DictionaryValueConverter (const shared::StringDictKey &source_dict_key, const ColumnDescriptor *targetDescriptor, const Catalog_Namespace::Catalog &target_cat, size_t num_rows, TARGET_TYPE nullValue, int64_t nullCheckValue, bool doNullCheck, StringDictionaryProxy *literals_dict, StringDictionaryProxy *source_dict_proxy)
 
 ~DictionaryValueConverter () override
 
ElementsBufferColumnPtr allocateColumnarBuffer (size_t num_rows)
 
void convertElementToColumnarFormat (size_t row, typename ElementsBufferColumnPtr::pointer columnBuffer, const ScalarTargetValue *scalarValue)
 
void convertToColumnarFormat (size_t row, const ScalarTargetValue *scalarValue)
 
void convertToColumnarFormat (size_t row, const TargetValue *value) override
 
int32_t convertTransientStringIdToPermanentId (int32_t &transient_string_id)
 
NumericValueConverter< int64_t,
TARGET_TYPE >::ColumnDataPtr 
processBuffer (ElementsBufferColumnPtr buffer)
 
void processArrayBuffer (std::unique_ptr< std::vector< std::pair< size_t, ElementsBufferColumnPtr >>> &array_buffer, std::unique_ptr< std::vector< ArrayDatum >>::pointer arrayData)
 
void finalizeDataBlocksForInsertData () override
 
void addDataBlocksToInsertData (Fragmenter_Namespace::InsertData &insertData) override
 
- Public Member Functions inherited from NumericValueConverter< int64_t, TARGET_TYPE >
 NumericValueConverter (const ColumnDescriptor *cd, size_t num_rows, TARGET_TYPE nullValue, int64_tnullCheckValue, bool doNullCheck)
 
 ~NumericValueConverter () override
 
void setValueCaster (CasterFunc caster)
 
void populateFixedArrayNullSentinel (size_t num_rows)
 
void allocateColumnarData (size_t num_rows) override
 
ElementsBufferColumnPtr allocateColumnarBuffer (size_t num_rows)
 
void convertElementToColumnarFormat (size_t row, typename ElementsBufferColumnPtr::pointer columnData, const ScalarTargetValue *scalarValue)
 
void convertToColumnarFormat (size_t row, const ScalarTargetValue *scalarValue)
 
void convertToColumnarFormat (size_t row, const TargetValue *value) override
 
void processArrayBuffer (std::unique_ptr< std::vector< std::pair< size_t, ElementsBufferColumnPtr >>> &array_buffer, std::unique_ptr< std::vector< ArrayDatum >>::pointer arrayData)
 
void addDataBlocksToInsertData (Fragmenter_Namespace::InsertData &insertData) override
 
- Public Member Functions inherited from TargetValueConverter
 TargetValueConverter (const ColumnDescriptor *cd)
 
virtual ~TargetValueConverter ()
 

Public Attributes

ElementsBufferColumnPtr column_buffer_
 
const DictDescriptortarget_dict_desc_
 
const DictDescriptorsource_dict_desc_
 
StringDictionaryProxysource_dict_proxy_
 
const int32_t buffer_null_sentinal_ = std::numeric_limits<int32_t>::min()
 
const StringDictionaryProxyliterals_dict_
 
std::unordered_map< int32_t,
int32_t > 
literals_lookup_
 
bool use_literals_
 
- Public Attributes inherited from NumericValueConverter< int64_t, TARGET_TYPE >
ColumnDataPtr column_data_
 
TARGET_TYPE null_value_
 
int64_t null_check_value_
 
bool do_null_check_
 
TARGET_TYPE fixed_array_null_value_
 
CasterFunc checked_caster_
 
boost_variant_accessor< int64_t > SOURCE_TYPE_ACCESSOR
 
- Public Attributes inherited from TargetValueConverter
const ColumnDescriptorcolumn_descriptor_
 
boost_variant_accessor
< ScalarTargetValue
SCALAR_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor
< ArrayTargetValue
ARRAY_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor
< GeoTargetValue
GEO_TARGET_VALUE_ACCESSOR
 
boost_variant_accessor
< NullableString
NULLABLE_STRING_ACCESSOR
 
boost_variant_accessor
< std::string > 
STRING_ACCESSOR
 

Detailed Description

template<typename TARGET_TYPE>
struct DictionaryValueConverter< TARGET_TYPE >

Definition at line 160 of file TargetValueConvertersImpl.h.

Member Typedef Documentation

template<typename TARGET_TYPE >
using DictionaryValueConverter< TARGET_TYPE >::ElementsBufferColumnPtr = std::unique_ptr<std::vector<int32_t>>

Definition at line 164 of file TargetValueConvertersImpl.h.

template<typename TARGET_TYPE >
using DictionaryValueConverter< TARGET_TYPE >::ElementsDataColumnPtr = typename NumericValueConverter<int64_t, TARGET_TYPE>::ColumnDataPtr

Definition at line 162 of file TargetValueConvertersImpl.h.

Constructor & Destructor Documentation

template<typename TARGET_TYPE >
DictionaryValueConverter< TARGET_TYPE >::DictionaryValueConverter ( const shared::StringDictKey source_dict_key,
const ColumnDescriptor targetDescriptor,
const Catalog_Namespace::Catalog target_cat,
size_t  num_rows,
TARGET_TYPE  nullValue,
int64_t  nullCheckValue,
bool  doNullCheck,
StringDictionaryProxy literals_dict,
StringDictionaryProxy source_dict_proxy 
)
inline

Definition at line 180 of file TargetValueConvertersImpl.h.

References DictionaryValueConverter< TARGET_TYPE >::allocateColumnarBuffer(), DictionaryValueConverter< TARGET_TYPE >::buffer_null_sentinal_, CHECK, CHECK_EQ, DictionaryValueConverter< TARGET_TYPE >::column_buffer_, ColumnDescriptor::columnType, shared::StringDictKey::db_id, shared::StringDictKey::dict_id, Catalog_Namespace::SysCatalog::getCatalog(), Catalog_Namespace::Catalog::getDatabaseId(), Catalog_Namespace::Catalog::getMetadataForDict(), SQLTypeInfo::getStringDictKey(), StringDictionaryProxy::getTransientVector(), Catalog_Namespace::SysCatalog::instance(), DictionaryValueConverter< TARGET_TYPE >::literals_dict_, DictionaryValueConverter< TARGET_TYPE >::literals_lookup_, DictionaryValueConverter< TARGET_TYPE >::source_dict_desc_, DictionaryValueConverter< TARGET_TYPE >::source_dict_proxy_, DictionaryValueConverter< TARGET_TYPE >::target_dict_desc_, StringDictionaryProxy::transientIndexToId(), and DictionaryValueConverter< TARGET_TYPE >::use_literals_.

190  num_rows,
191  nullValue,
192  nullCheckValue,
193  doNullCheck) {
194  literals_dict_ = literals_dict;
195  const auto& target_dict_key = targetDescriptor->columnType.getStringDictKey();
196  CHECK_EQ(target_dict_key.db_id, target_cat.getDatabaseId());
197  target_dict_desc_ = target_cat.getMetadataForDict(target_dict_key.dict_id, true);
198 
199  source_dict_desc_ = nullptr;
200  source_dict_proxy_ = source_dict_proxy;
201 
202  use_literals_ = 0 == source_dict_key.dict_id;
203  if (!use_literals_) {
204  const auto source_cat =
206  CHECK(source_cat);
208  source_cat->getMetadataForDict(std::abs(source_dict_key.dict_id), true);
210  } else {
211  if (literals_dict) {
212  auto const& transient_vecmap = literals_dict->getTransientVector();
213  for (unsigned index = 0; index < transient_vecmap.size(); ++index) {
214  auto const old_id = StringDictionaryProxy::transientIndexToId(index);
215  std::string const& str = *transient_vecmap[index];
216  auto const new_id = target_dict_desc_->stringDict->getOrAdd(str);
217  literals_lookup_[old_id] = new_id;
218  }
219  }
220 
222  }
223 
224  CHECK(target_dict_desc_);
225 
226  if (num_rows) {
228  }
229  }
#define CHECK_EQ(x, y)
Definition: Logger.h:301
const std::vector< std::string const * > & getTransientVector() const
const DictDescriptor * source_dict_desc_
ElementsBufferColumnPtr column_buffer_
ElementsBufferColumnPtr allocateColumnarBuffer(size_t num_rows)
const DictDescriptor * target_dict_desc_
const StringDictionaryProxy * literals_dict_
static SysCatalog & instance()
Definition: SysCatalog.h:343
int getDatabaseId() const
Definition: Catalog.h:326
static int32_t transientIndexToId(unsigned const index)
const DictDescriptor * getMetadataForDict(int dict_ref, bool loadDict=true) const
Definition: Catalog.cpp:1907
std::shared_ptr< Catalog > getCatalog(const std::string &dbName)
std::unordered_map< int32_t, int32_t > literals_lookup_
#define CHECK(condition)
Definition: Logger.h:291
StringDictionaryProxy * source_dict_proxy_

+ Here is the call graph for this function:

template<typename TARGET_TYPE >
DictionaryValueConverter< TARGET_TYPE >::~DictionaryValueConverter ( )
inlineoverride

Definition at line 231 of file TargetValueConvertersImpl.h.

231 {}

Member Function Documentation

template<typename TARGET_TYPE >
void DictionaryValueConverter< TARGET_TYPE >::addDataBlocksToInsertData ( Fragmenter_Namespace::InsertData insertData)
inlineoverridevirtual

Implements TargetValueConverter.

Definition at line 407 of file TargetValueConvertersImpl.h.

References NumericValueConverter< int64_t, TARGET_TYPE >::column_data_, TargetValueConverter::column_descriptor_, ColumnDescriptor::columnId, Fragmenter_Namespace::InsertData::columnIds, Fragmenter_Namespace::InsertData::data, DictionaryValueConverter< TARGET_TYPE >::finalizeDataBlocksForInsertData(), and DataBlockPtr::numbersPtr.

407  {
409  DataBlockPtr dataBlock;
410  dataBlock.numbersPtr = reinterpret_cast<int8_t*>(this->column_data_.get());
411  insertData.data.push_back(dataBlock);
412  insertData.columnIds.push_back(this->column_descriptor_->columnId);
413  }
const ColumnDescriptor * column_descriptor_
void finalizeDataBlocksForInsertData() override
std::vector< DataBlockPtr > data
the number of rows being inserted
Definition: Fragmenter.h:73
int8_t * numbersPtr
Definition: sqltypes.h:233
std::vector< int > columnIds
identifies the table into which the data is being inserted
Definition: Fragmenter.h:71

+ Here is the call graph for this function:

template<typename TARGET_TYPE >
ElementsBufferColumnPtr DictionaryValueConverter< TARGET_TYPE >::allocateColumnarBuffer ( size_t  num_rows)
inline

Definition at line 233 of file TargetValueConvertersImpl.h.

References CHECK.

Referenced by DictionaryValueConverter< TARGET_TYPE >::DictionaryValueConverter().

233  {
234  CHECK(num_rows > 0);
235  return std::make_unique<std::vector<int32_t>>(num_rows);
236  }
#define CHECK(condition)
Definition: Logger.h:291

+ Here is the caller graph for this function:

template<typename TARGET_TYPE >
void DictionaryValueConverter< TARGET_TYPE >::convertElementToColumnarFormat ( size_t  row,
typename ElementsBufferColumnPtr::pointer  columnBuffer,
const ScalarTargetValue scalarValue 
)
inline

Definition at line 238 of file TargetValueConvertersImpl.h.

References DictionaryValueConverter< TARGET_TYPE >::buffer_null_sentinal_, NumericValueConverter< int64_t, TARGET_TYPE >::do_null_check_, NumericValueConverter< int64_t, TARGET_TYPE >::null_check_value_, and NumericValueConverter< int64_t, TARGET_TYPE >::SOURCE_TYPE_ACCESSOR.

Referenced by DictionaryValueConverter< TARGET_TYPE >::convertToColumnarFormat().

241  {
242  auto db_p = checked_get<int64_t>(row, scalarValue, this->SOURCE_TYPE_ACCESSOR);
243  auto val = *db_p;
244 
245  if (this->do_null_check_ && this->null_check_value_ == val) {
246  (*columnBuffer)[row] = this->buffer_null_sentinal_;
247  } else {
248  (*columnBuffer)[row] = (int32_t)val;
249  }
250  }
boost_variant_accessor< int64_t > SOURCE_TYPE_ACCESSOR

+ Here is the caller graph for this function:

template<typename TARGET_TYPE >
void DictionaryValueConverter< TARGET_TYPE >::convertToColumnarFormat ( size_t  row,
const ScalarTargetValue scalarValue 
)
inline

Definition at line 252 of file TargetValueConvertersImpl.h.

References DictionaryValueConverter< TARGET_TYPE >::column_buffer_, and DictionaryValueConverter< TARGET_TYPE >::convertElementToColumnarFormat().

Referenced by DictionaryValueConverter< TARGET_TYPE >::convertToColumnarFormat().

252  {
253  convertElementToColumnarFormat(row, this->column_buffer_.get(), scalarValue);
254  }
ElementsBufferColumnPtr column_buffer_
void convertElementToColumnarFormat(size_t row, typename ElementsBufferColumnPtr::pointer columnBuffer, const ScalarTargetValue *scalarValue)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename TARGET_TYPE >
void DictionaryValueConverter< TARGET_TYPE >::convertToColumnarFormat ( size_t  row,
const TargetValue value 
)
inlineoverridevirtual

Implements TargetValueConverter.

Definition at line 256 of file TargetValueConvertersImpl.h.

References DictionaryValueConverter< TARGET_TYPE >::convertToColumnarFormat(), and TargetValueConverter::SCALAR_TARGET_VALUE_ACCESSOR.

256  {
257  auto scalarValue =
258  checked_get<ScalarTargetValue>(row, value, this->SCALAR_TARGET_VALUE_ACCESSOR);
259 
260  convertToColumnarFormat(row, scalarValue);
261  }
void convertToColumnarFormat(size_t row, const ScalarTargetValue *scalarValue)
boost_variant_accessor< ScalarTargetValue > SCALAR_TARGET_VALUE_ACCESSOR

+ Here is the call graph for this function:

template<typename TARGET_TYPE >
int32_t DictionaryValueConverter< TARGET_TYPE >::convertTransientStringIdToPermanentId ( int32_t &  transient_string_id)
inline

Definition at line 263 of file TargetValueConvertersImpl.h.

References StringDictionaryProxy::getOrAdd(), StringDictionaryProxy::getString(), and DictionaryValueConverter< TARGET_TYPE >::source_dict_proxy_.

Referenced by DictionaryValueConverter< TARGET_TYPE >::processBuffer().

263  {
264  if (source_dict_proxy_) {
265  auto str = source_dict_proxy_->getString(transient_string_id);
266  return source_dict_proxy_->getOrAdd(str);
267  } else {
268  throw std::runtime_error("Unexpected negative source ID");
269  }
270  }
std::string getString(int32_t string_id) const
int32_t getOrAdd(const std::string &str) noexcept
StringDictionaryProxy * source_dict_proxy_

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename TARGET_TYPE >
void DictionaryValueConverter< TARGET_TYPE >::finalizeDataBlocksForInsertData ( )
inlineoverridevirtual

Reimplemented from TargetValueConverter.

Definition at line 400 of file TargetValueConvertersImpl.h.

References DictionaryValueConverter< TARGET_TYPE >::column_buffer_, NumericValueConverter< int64_t, TARGET_TYPE >::column_data_, and DictionaryValueConverter< TARGET_TYPE >::processBuffer().

Referenced by DictionaryValueConverter< TARGET_TYPE >::addDataBlocksToInsertData().

400  {
401  if (column_buffer_) {
402  this->column_data_ = processBuffer(std::move(column_buffer_));
403  column_buffer_ = nullptr;
404  }
405  }
ElementsBufferColumnPtr column_buffer_
NumericValueConverter< int64_t, TARGET_TYPE >::ColumnDataPtr processBuffer(ElementsBufferColumnPtr buffer)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename TARGET_TYPE >
void DictionaryValueConverter< TARGET_TYPE >::processArrayBuffer ( std::unique_ptr< std::vector< std::pair< size_t, ElementsBufferColumnPtr >>> &  array_buffer,
std::unique_ptr< std::vector< ArrayDatum >>::pointer  arrayData 
)
inline

Definition at line 353 of file TargetValueConvertersImpl.h.

References is_null(), StringDictionary::populate_string_array_ids(), DictionaryValueConverter< TARGET_TYPE >::processBuffer(), DictionaryValueConverter< TARGET_TYPE >::source_dict_desc_, DictDescriptor::stringDict, DictionaryValueConverter< TARGET_TYPE >::target_dict_desc_, and DictionaryValueConverter< TARGET_TYPE >::use_literals_.

356  {
357  if (use_literals_) {
358  for (size_t row = 0; row < array_buffer->size(); row++) {
359  auto& element = (array_buffer->at(row));
360  bool is_null = false;
361  if (element.second) {
363  processBuffer(std::move(element.second));
364  int8_t* arrayDataPtr = reinterpret_cast<int8_t*>(data.release());
365  (*arrayData)[row] =
366  ArrayDatum(element.first * sizeof(TARGET_TYPE), arrayDataPtr, is_null);
367  }
368  }
369  } else {
370  std::vector<std::vector<int32_t>> srcArrayIds(array_buffer->size());
371  std::vector<std::vector<int32_t>> destArrayIds(0);
372 
373  for (size_t row = 0; row < array_buffer->size(); row++) {
374  auto& element = (array_buffer->at(row));
375  if (element.second) {
376  srcArrayIds[row] = *(element.second.get());
377  }
378  }
379 
382  srcArrayIds,
384 
385  for (size_t row = 0; row < array_buffer->size(); row++) {
386  auto& element = (array_buffer->at(row));
387  bool is_null = false;
388  if (element.second) {
389  *(element.second.get()) = destArrayIds[row];
390  int8_t* arrayDataPtr = reinterpret_cast<int8_t*>(&(element.second->at(0)));
391  (*arrayData)[row] = ArrayDatum(element.first * sizeof(TARGET_TYPE),
392  arrayDataPtr,
393  is_null,
394  DoNothingDeleter());
395  }
396  }
397  }
398  }
const DictDescriptor * source_dict_desc_
const DictDescriptor * target_dict_desc_
std::shared_ptr< StringDictionary > stringDict
std::conditional_t< is_cuda_compiler(), DeviceArrayDatum, HostArrayDatum > ArrayDatum
Definition: sqltypes.h:229
CONSTEXPR DEVICE bool is_null(const T &value)
static void populate_string_array_ids(std::vector< std::vector< int32_t >> &dest_array_ids, StringDictionary *dest_dict, const std::vector< std::vector< int32_t >> &source_array_ids, const StringDictionary *source_dict)
NumericValueConverter< int64_t, TARGET_TYPE >::ColumnDataPtr processBuffer(ElementsBufferColumnPtr buffer)

+ Here is the call graph for this function:

template<typename TARGET_TYPE >
NumericValueConverter<int64_t, TARGET_TYPE>::ColumnDataPtr DictionaryValueConverter< TARGET_TYPE >::processBuffer ( ElementsBufferColumnPtr  buffer)
inline

Definition at line 272 of file TargetValueConvertersImpl.h.

References DictionaryValueConverter< TARGET_TYPE >::buffer_null_sentinal_, checked_malloc(), DictionaryValueConverter< TARGET_TYPE >::convertTransientStringIdToPermanentId(), DictDescriptor::dictRef, StringDictionaryProxy::getTransientVector(), DictionaryValueConverter< TARGET_TYPE >::literals_lookup_, NumericValueConverter< int64_t, TARGET_TYPE >::null_value_, StringDictionary::populate_string_ids(), DictionaryValueConverter< TARGET_TYPE >::source_dict_desc_, DictionaryValueConverter< TARGET_TYPE >::source_dict_proxy_, DictDescriptor::stringDict, DictionaryValueConverter< TARGET_TYPE >::target_dict_desc_, to_string(), and DictionaryValueConverter< TARGET_TYPE >::use_literals_.

Referenced by DictionaryValueConverter< TARGET_TYPE >::finalizeDataBlocksForInsertData(), and DictionaryValueConverter< TARGET_TYPE >::processArrayBuffer().

273  {
276  reinterpret_cast<TARGET_TYPE*>(
277  checked_malloc(buffer->size() * sizeof(TARGET_TYPE))));
278 
279  std::vector<int32_t>* bufferPtr =
280  reinterpret_cast<std::vector<int32_t>*>(buffer.get());
281  TARGET_TYPE* columnDataPtr = reinterpret_cast<TARGET_TYPE*>(data.get());
282  if (use_literals_) {
283  for (size_t i = 0; i < bufferPtr->size(); i++) {
284  auto id = literals_lookup_[(*bufferPtr)[i]];
285  if (id == buffer_null_sentinal_) {
286  columnDataPtr[i] = this->null_value_;
287  } else {
288  columnDataPtr[i] = static_cast<TARGET_TYPE>(id);
289  }
290  }
291  } else {
293  // special case, where source and target dict are the same
294  // mostly in update
295  for (size_t i = 0; i < bufferPtr->size(); i++) {
296  auto src_id = (*bufferPtr)[i];
297  if (src_id == buffer_null_sentinal_) {
298  columnDataPtr[i] = this->null_value_;
299  } else if (src_id < 0) {
300  columnDataPtr[i] = convertTransientStringIdToPermanentId(src_id);
301  } else {
302  columnDataPtr[i] = static_cast<TARGET_TYPE>(src_id);
303  }
304  }
305 
306  } else {
307  std::vector<int32_t> dest_ids;
308  dest_ids.resize(bufferPtr->size());
309 
310  if (source_dict_proxy_) {
313  *bufferPtr,
316  } else {
319  *bufferPtr,
321  }
322 
323  // fixup NULL sentinel
324  for (size_t i = 0; i < dest_ids.size(); i++) {
325  auto id = dest_ids[i];
326  if (id == buffer_null_sentinal_) {
327  columnDataPtr[i] = this->null_value_;
328  } else {
329  if (std::is_signed<TARGET_TYPE>::value) {
330  if (id < 0) {
331  throw std::runtime_error(
332  "Maximum number of unique strings (" +
333  std::to_string(std::numeric_limits<TARGET_TYPE>::max()) +
334  ") reached in target dictionary");
335  }
336  } else {
337  if (id >= std::numeric_limits<TARGET_TYPE>::max()) {
338  throw std::runtime_error(
339  "Maximum number of unique strings (" +
340  std::to_string(std::numeric_limits<TARGET_TYPE>::max()) +
341  ") reached in target column's dict encoding");
342  }
343  }
344  columnDataPtr[i] = static_cast<TARGET_TYPE>(id);
345  }
346  }
347  }
348  }
349 
350  return data;
351  }
std::unique_ptr< TARGET_TYPE, CheckedMallocDeleter< TARGET_TYPE >> ColumnDataPtr
const std::vector< std::string const * > & getTransientVector() const
const DictDescriptor * source_dict_desc_
static void populate_string_ids(std::vector< int32_t > &dest_ids, StringDictionary *dest_dict, const std::vector< int32_t > &source_ids, const StringDictionary *source_dict, const std::vector< std::string const * > &transient_string_vec={})
Populates provided dest_ids vector with string ids corresponding to given source strings.
std::string to_string(char const *&&v)
const DictDescriptor * target_dict_desc_
std::shared_ptr< StringDictionary > stringDict
void * checked_malloc(const size_t size)
Definition: checked_alloc.h:45
int32_t convertTransientStringIdToPermanentId(int32_t &transient_string_id)
std::unordered_map< int32_t, int32_t > literals_lookup_
StringDictionaryProxy * source_dict_proxy_

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

template<typename TARGET_TYPE >
const int32_t DictionaryValueConverter< TARGET_TYPE >::buffer_null_sentinal_ = std::numeric_limits<int32_t>::min()
template<typename TARGET_TYPE >
const StringDictionaryProxy* DictionaryValueConverter< TARGET_TYPE >::literals_dict_
template<typename TARGET_TYPE >
std::unordered_map<int32_t, int32_t> DictionaryValueConverter< TARGET_TYPE >::literals_lookup_

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