OmniSciDB  c07336695a
TestColumnDescriptor Class Referenceabstract
+ Inheritance diagram for TestColumnDescriptor:

Public Member Functions

virtual std::string get_column_definition ()=0
 
virtual std::string get_column_value (int row)=0
 
virtual std::string get_update_column_value (int row)
 
virtual bool check_column_value (const int row, const TDatum *datum)=0
 
virtual ~TestColumnDescriptor ()=default
 
virtual bool skip_test (std::string name)
 
virtual std::string get_column_definition ()=0
 
virtual std::string get_column_value (int row)=0
 
virtual std::string get_update_column_value (int row)
 
virtual bool check_column_value (const int row, const SQLTypeInfo &type, const ScalarTargetValue *scalarValue)=0
 
virtual bool check_column_value (const int row, const SQLTypeInfo &type, const TargetValue *value)
 
virtual ~TestColumnDescriptor ()=default
 
virtual bool skip_test (std::string name)
 

Detailed Description

Definition at line 126 of file CtasIntegrationTest.cpp.

Constructor & Destructor Documentation

◆ ~TestColumnDescriptor() [1/2]

virtual TestColumnDescriptor::~TestColumnDescriptor ( )
virtualdefault

Referenced by check_column_value(), and get_update_column_value().

+ Here is the caller graph for this function:

◆ ~TestColumnDescriptor() [2/2]

virtual TestColumnDescriptor::~TestColumnDescriptor ( )
virtualdefault

Member Function Documentation

◆ check_column_value() [1/3]

◆ check_column_value() [2/3]

virtual bool TestColumnDescriptor::check_column_value ( const int  row,
const SQLTypeInfo type,
const TargetValue value 
)
inlinevirtual

Reimplemented in ArrayColumnDescriptor.

Definition at line 49 of file CtasUpdateTest.cpp.

References check_column_value(), and ~TestColumnDescriptor().

51  {
52  const auto scalar_mapd_variant = boost::get<ScalarTargetValue>(value);
53  if (nullptr == scalar_mapd_variant) {
54  return false;
55  }
56 
57  return check_column_value(row, type, scalar_mapd_variant);
58  }
virtual bool check_column_value(const int row, const TDatum *datum)=0
+ Here is the call graph for this function:

◆ check_column_value() [3/3]

virtual bool TestColumnDescriptor::check_column_value ( const int  row,
const TDatum *  datum 
)
pure virtual

Implemented in GeoPolygonColumnDescriptor, GeoMultiPolygonColumnDescriptor, GeoLinestringColumnDescriptor, GeoPointColumnDescriptor, ArrayColumnDescriptor, DateTimeColumnDescriptor, StringColumnDescriptor, BooleanColumnDescriptor, and NumberColumnDescriptor< T >.

Referenced by check_column_value(), and get_update_column_value().

+ Here is the caller graph for this function:

◆ get_column_definition() [1/2]

◆ get_column_definition() [2/2]

◆ get_column_value() [1/2]

◆ get_column_value() [2/2]

◆ get_update_column_value() [1/2]

virtual std::string TestColumnDescriptor::get_update_column_value ( int  row)
inlinevirtual

Reimplemented in ArrayColumnDescriptor, and ArrayColumnDescriptor.

Definition at line 44 of file CtasUpdateTest.cpp.

References check_column_value(), get_column_value(), and run-benchmark-import::type.

44 { return get_column_value(row); }
virtual std::string get_column_value(int row)=0
+ Here is the call graph for this function:

◆ get_update_column_value() [2/2]

virtual std::string TestColumnDescriptor::get_update_column_value ( int  row)
inlinevirtual

Reimplemented in ArrayColumnDescriptor, and ArrayColumnDescriptor.

Definition at line 130 of file CtasIntegrationTest.cpp.

References check_column_value(), get_column_value(), and ~TestColumnDescriptor().

130 { return get_column_value(row); }
virtual std::string get_column_value(int row)=0
+ Here is the call graph for this function:

◆ skip_test() [1/2]

◆ skip_test() [2/2]


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