OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ThriftSerializers.h File Reference

Serializers for query engine types to/from thrift. More...

+ Include dependency graph for ThriftSerializers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ThriftSerializers
 

Macros

#define THRIFT_LAYOUT_CASE(layout)
 
#define UNTHRIFT_LAYOUT_CASE(layout)
 
#define THRIFT_AGGKIND_CASE(kind)
 
#define UNTHRIFT_AGGKIND_CASE(kind)
 
#define THRIFT_COUNTDESCRIPTORIMPL_CASE(kind)
 
#define UNTHRIFT_COUNTDESCRIPTORIMPL_CASE(kind)
 

Functions

TResultSetLayout::type ThriftSerializers::layout_to_thrift (const QueryDescriptionType layout)
 
QueryDescriptionType ThriftSerializers::layout_from_thrift (const TResultSetLayout::type layout)
 
TAggKind::type ThriftSerializers::agg_kind_to_thrift (const SQLAgg agg)
 
SQLAgg ThriftSerializers::agg_kind_from_thrift (const TAggKind::type agg)
 
AggregatedColRange ThriftSerializers::column_ranges_from_thrift (const std::vector< TColumnRange > &thrift_column_ranges)
 
StringDictionaryGenerations ThriftSerializers::string_dictionary_generations_from_thrift (const std::vector< TDictionaryGeneration > &thrift_string_dictionary_generations)
 
TTypeInfo ThriftSerializers::type_info_to_thrift (const SQLTypeInfo &ti)
 
bool ThriftSerializers::takes_arg (const TargetInfo &target_info)
 
std::vector< TargetMetaInfoThriftSerializers::target_meta_infos_from_thrift (const TRowDescriptor &row_desc)
 
void ThriftSerializers::fixup_geo_column_descriptor (TColumnType &col_type, const SQLTypes subtype, const int output_srid)
 
TColumnType ThriftSerializers::target_meta_info_to_thrift (const TargetMetaInfo &target, const size_t idx)
 
TRowDescriptor ThriftSerializers::target_meta_infos_to_thrift (const std::vector< TargetMetaInfo > &targets)
 
TTargetInfo ThriftSerializers::target_info_to_thrift (const TargetInfo &target_info)
 
TargetInfo ThriftSerializers::target_info_from_thrift (const TTargetInfo &thrift_target_info)
 
std::vector< TTargetInfo > ThriftSerializers::target_infos_to_thrift (const std::vector< TargetInfo > &targets)
 
std::vector< TargetInfoThriftSerializers::target_infos_from_thrift (const std::vector< TTargetInfo > &thrift_targets)
 
TCountDistinctImplType::type ThriftSerializers::count_distinct_impl_type_to_thrift (const CountDistinctImplType impl_type)
 
TCountDistinctDescriptor ThriftSerializers::count_distinct_descriptor_to_thrift (const CountDistinctDescriptor &count_distinct_descriptor)
 
CountDistinctImplType ThriftSerializers::count_distinct_impl_type_from_thrift (const TCountDistinctImplType::type impl_type)
 
CountDistinctDescriptor ThriftSerializers::count_distinct_descriptor_from_thrift (const TCountDistinctDescriptor &thrift_count_distinct_descriptor)
 
ExtArgumentType ThriftSerializers::from_thrift (const TExtArgumentType::type &t)
 
TExtArgumentType::type ThriftSerializers::to_thrift (const ExtArgumentType &t)
 
std::vector< ExtArgumentTypeThriftSerializers::from_thrift (const std::vector< TExtArgumentType::type > &v)
 
std::vector
< TExtArgumentType::type > 
ThriftSerializers::to_thrift (const std::vector< ExtArgumentType > &v)
 
table_functions::OutputBufferSizeType ThriftSerializers::from_thrift (const TOutputBufferSizeType::type &t)
 
TOutputBufferSizeType::type ThriftSerializers::to_thrift (const table_functions::OutputBufferSizeType &t)
 
TUserDefinedTableFunction ThriftSerializers::to_thrift (const table_functions::TableFunction &func)
 
std::vector
< TUserDefinedTableFunction > 
ThriftSerializers::to_thrift (const std::vector< table_functions::TableFunction > &v)
 

Detailed Description

Serializers for query engine types to/from thrift.

Author
Alex Baden alex..nosp@m.bade.nosp@m.n@map.nosp@m.d.co.nosp@m.m

Definition in file ThriftSerializers.h.

Macro Definition Documentation

#define THRIFT_AGGKIND_CASE (   kind)
Value:
case k##kind: \
return TAggKind::kind;

Definition at line 77 of file ThriftSerializers.h.

Referenced by ThriftSerializers::agg_kind_to_thrift().

#define THRIFT_COUNTDESCRIPTORIMPL_CASE (   kind)
Value:
case CountDistinctImplType::kind: \
return TCountDistinctImplType::kind;

Definition at line 294 of file ThriftSerializers.h.

Referenced by ThriftSerializers::count_distinct_impl_type_to_thrift().

#define THRIFT_LAYOUT_CASE (   layout)
Value:
case QueryDescriptionType::layout: \
return TResultSetLayout::layout;

Definition at line 41 of file ThriftSerializers.h.

Referenced by ThriftSerializers::layout_to_thrift().

#define UNTHRIFT_AGGKIND_CASE (   kind)
Value:
case TAggKind::kind: \
return k##kind;

Definition at line 99 of file ThriftSerializers.h.

Referenced by ThriftSerializers::agg_kind_from_thrift().

#define UNTHRIFT_COUNTDESCRIPTORIMPL_CASE (   kind)
Value:
case TCountDistinctImplType::kind: \
return CountDistinctImplType::kind;

Definition at line 329 of file ThriftSerializers.h.

Referenced by ThriftSerializers::count_distinct_impl_type_from_thrift().

#define UNTHRIFT_LAYOUT_CASE (   layout)
Value:
case TResultSetLayout::layout: \
return QueryDescriptionType::layout;

Definition at line 59 of file ThriftSerializers.h.

Referenced by ThriftSerializers::layout_from_thrift().