OmniSciDB
a5dc49c757
|
#include <cxxabi.h>
#include <cassert>
#include <chrono>
#include <iostream>
#include <list>
#include <map>
#include <set>
#include <sstream>
#include <thread>
#include <tuple>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "DataMgr/MemoryLevel.h"
#include "sqldefs.h"
#include <mutex>
Go to the source code of this file.
Namespaces | |
anonymous_namespace{toString.h} | |
Macros | |
#define | HAVE_TOSTRING |
#define | __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) |
#define | PRINT(...) |
Functions | |
template<typename T > | |
std::string | typeName (const T *v) |
template<typename T , typename... Args> | |
std::string | typeName (T(*v)(Args...args)) |
template<typename T > | |
struct get_has_toString< T, decltype(std::declval< T > ().get() -> | anonymous_namespace{toString.h}::toString () |
template<typename T > | |
std::string | toString (const T &v) |
template<typename T1 , typename T2 > | |
std::string | toString (const std::pair< T1, T2 > &v) |
template<typename T > | |
std::string | toString (const std::vector< T > &v) |
template<typename T1 , typename T2 > | |
std::string | toString (const std::unordered_map< T1, T2 > &v) |
template<typename T1 , typename T2 > | |
std::string | toString (const std::map< T1, T2 > &v) |
template<typename T > | |
std::string | toString (const std::list< T > &v) |
template<typename T > | |
std::string | toString (const std::unordered_set< T > &v) |
template<typename T > | |
std::string | toString (const std::set< T > &v) |
template<typename... Ts, size_t... Is> | |
std::string | toStringImpl (const std::tuple< Ts...> &t, const std::index_sequence< 0, Is...>) |
template<typename... T> | |
std::string | toStringImpl (const std::tuple<> &t, const std::index_sequence<>) |
template<typename... Ts> | |
std::string | toString (const std::tuple< Ts...> &t) |
Variables | |
static std::mutex | toString_PRINT_mutex |
template<class T > | |
constexpr bool | anonymous_namespace{toString.h}::has_toString_v = has_toString<T>::value |
template<class T > | |
struct get_has_toString< T, decltype(std::declval< T > ().get() -> void())> constexpr bool | anonymous_namespace{toString.h}::get_has_toString_v = get_has_toString<T>::value |
template<class T > | |
constexpr bool | anonymous_namespace{toString.h}::has_printTo_v = has_printTo<T>::value |
template<class T > | |
constexpr bool | anonymous_namespace{toString.h}::has_operator_lshift_v = has_operator_lshift<T>::value |
#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) |
Definition at line 93 of file toString.h.
#define HAVE_TOSTRING |
Definition at line 39 of file toString.h.
#define PRINT | ( | ... | ) |
Definition at line 94 of file toString.h.
std::string toString | ( | const T & | v | ) |
Definition at line 194 of file toString.h.
References ANTI, Data_Namespace::CPU_LEVEL, Data_Namespace::DISK_LEVEL, Data_Namespace::GPU_LEVEL, INNER, INVALID, LEFT, SEMI, heavydb.dtypes::T, to_string(), toString(), typeName(), WINDOW_FUNCTION, and WINDOW_FUNCTION_FRAMING.
std::string toString | ( | const std::pair< T1, T2 > & | v | ) |
Definition at line 358 of file toString.h.
References toString().
std::string toString | ( | const std::vector< T > & | v | ) |
Definition at line 363 of file toString.h.
References run_benchmark_import::result, and toString().
std::string toString | ( | const std::unordered_map< T1, T2 > & | v | ) |
Definition at line 376 of file toString.h.
References run_benchmark_import::result, and toString().
std::string toString | ( | const std::map< T1, T2 > & | v | ) |
Definition at line 391 of file toString.h.
References run_benchmark_import::result, and toString().
std::string toString | ( | const std::list< T > & | v | ) |
Definition at line 406 of file toString.h.
References run_benchmark_import::result, and toString().
std::string toString | ( | const std::unordered_set< T > & | v | ) |
Definition at line 421 of file toString.h.
References run_benchmark_import::result, and toString().
std::string toString | ( | const std::set< T > & | v | ) |
Definition at line 436 of file toString.h.
References run_benchmark_import::result, and toString().
std::string toString | ( | const std::tuple< Ts...> & | t | ) |
Definition at line 462 of file toString.h.
References toStringImpl().
std::string toStringImpl | ( | const std::tuple< Ts...> & | t, |
const std::index_sequence< 0, Is...> | |||
) |
Definition at line 451 of file toString.h.
References toString().
Referenced by toString().
std::string toStringImpl | ( | const std::tuple<> & | t, |
const std::index_sequence<> | |||
) |
Definition at line 457 of file toString.h.
std::string typeName | ( | const T * | v | ) |
Definition at line 106 of file toString.h.
References setup::name, and heavydb.dtypes::T.
Referenced by ai.heavy.jdbc.HeavyAIConnection::createArrayOf(), flatbuffer::NestedArray< char >::extend(), com.mapd.calcite.parser.HeavyDBTypeSystem::getMaxPrecision(), flatbuffer::NestedArray< char >::getRawBuffer(), flatbuffer::Column< Geo::MultiLineString, GeoMultiLineString >::getTypeInfo(), flatbuffer::NestedArray< char >::getTypeInfo(), flatbuffer::NestedArray< char >::getValue(), com.mapd.parser.extension.ddl.heavydb.HeavyDBTypeNameSpec::HeavyDBTypeNameSpec(), flatbuffer::NestedArray< char >::isNull(), flatbuffer::NestedArray< char >::size(), Geo::LineString::toCoords(), Geo::MultiPoint::toCoords(), Geo::MultiLineString::toCoords(), Geo::Polygon::toCoords(), Geo::MultiPolygon::toCoords(), CompilationResult::toString(), InputDescriptor::toString(), ExecutionResult::toString(), ColumnDescriptor::toString(), InputColDescriptor::toString(), QueryCompilationDescriptor::toString(), Chunk_NS::Chunk::toString(), RexAbstractInput::toString(), toString(), ResultSet::toString(), TableFunctionExecutionUnit::toString(), TextEncodingDict::toString(), RexOperator::toString(), TableFunctionManager::toString(), RexCase::toString(), RexFunctionOperator::toString(), SortField::toString(), Array< T >::toString(), RexWindowFunctionOperator::toString(), RexRef::toString(), RexAgg::toString(), Timestamp::toString(), RexSubQuery::toString(), RexInput::toString(), RelScan::toString(), Column< T >::toString(), flatbuffer::Column< Geo::MultiLineString, GeoMultiLineString >::toString(), RelProject::toString(), RelAggregate::toString(), flatbuffer::NestedArray< char >::toString(), RelJoin::toString(), Geo::Point2D::toString(), RelTranslatedJoin::toString(), RelFilter::toString(), RelLeftDeepInnerJoin::toString(), RelCompound::toString(), RelSort::toString(), Column< GeoPoint >::toString(), RelModify::toString(), Column< TextEncodingDict >::toString(), ColumnList< T >::toString(), ColumnList< Array< T > >::toString(), RelTableFunction::toString(), ColumnList< TextEncodingDict >::toString(), RelLogicalValues::toString(), and RelLogicalUnion::toString().
std::string typeName | ( | T(*)(Args...args) | v | ) |
|
inlinestatic |
Definition at line 91 of file toString.h.