Go to the documentation of this file.    1 #ifndef EXECUTION_CARTESIANPRODUCTSTATE_H 
    2 #define EXECUTION_CARTESIANPRODUCTSTATE_H 
   26     std::vector<NullableDatumRef> 
get_record() 
override;
 
   28     void close() 
override;
 
   43                           std::unique_ptr<PlanExecState>&& left,
 
   44                           std::unique_ptr<PlanExecState>&& right);
 
 
A DatumRef object is a read-only reference to an C++ object of a supported runtime type.
Definition: datum.h:823
 
~CartesianProductState() override
Definition: CartesianProductState.cpp:15
 
Datum save_position() const override
Returns a saved position where this plan execution state is at.
Definition: CartesianProductState.cpp:52
 
const CartesianProduct * m_plan
Definition: CartesianProductState.h:46
 
CartesianProductState(const CartesianProduct *plan, std::unique_ptr< PlanExecState > &&left, std::unique_ptr< PlanExecState > &&right)
Definition: CartesianProductState.cpp:6
 
void init() override
Initialize this plan execution state, set m_initialized to true and initialize all corresponding stat...
Definition: CartesianProductState.cpp:20
 
std::vector< NullableDatumRef > get_record() override
Return the deserialized output record to which this execution state currently points.
Definition: CartesianProductState.cpp:36
 
void node_properties_to_string(std::string &buf, int indent) const override
Definition: CartesianProductState.cpp:31
 
PlanExecState is an abstract interface for execution state of various query plan.
Definition: PlanExecState.h:19
 
const PlanNode * get_plan() const
Returns the corresponding plan.
Definition: CartesianProductState.h:37
 
CartesianProduct is the physical plan for Cartesian products.
Definition: CartesianProduct.h:15
 
A Datum stores and possibly manage the memory resource of a read-only value of a plain fixed-length C...
Definition: datum.h:250
 
CartesianProductState is the execution state for cartesian product.
Definition: CartesianProductState.h:16
 
void close() override
Clear internal states, mark we have finish retrieving output records from this execution state,...
Definition: CartesianProductState.cpp:42
 
PlanNode is an abstract interface representing physical query plan that does not bound with any parti...
Definition: PlanNode.h:26
 
bool next_tuple() override
Moves the iterator of this execution state to the next output record.
Definition: CartesianProductState.cpp:25
 
void rewind() override
Rewind the execution state as if it has just been initialized.
Definition: CartesianProductState.cpp:47