示例#1
0
PhysicalSort::PhysicalSort(State state)
    : PhysicalOperator(3, 2), state_(state), block_buffer_(NULL) {
  set_phy_oper_type(kPhysicalSort);
  cmp_state_ = &state_;
  lock_ = new Lock();
  InitExpandedStatus();
}
PhysicalNestLoopJoin::PhysicalNestLoopJoin(State state)
    : PhysicalOperator(2, 2),
      state_(state),
      block_buffer_(NULL),
      join_condi_process_(NULL) {
  set_phy_oper_type(kPhysicalNestLoopJoin);
  InitExpandedStatus();
}
示例#3
0
PhysicalDeleteFilter::PhysicalDeleteFilter()
    : PhysicalOperator(barrier_number(2), serialized_section_number(1)),
      hash_(NULL),
      hashtable_(NULL),
      hashtable_schema_(NULL),
      eftt_(NULL),
      memcpy_(NULL),
      memcat_(NULL) {
  set_phy_oper_type(kPhysicalDeleteFilter);
  InitExpandedStatus();
}
ExchangeSenderPipeline::ExchangeSenderPipeline()
    : sender_thread_id_(0),
      partitioned_block_stream_(NULL),
      partitioned_data_buffer_(NULL),
      block_for_asking_(NULL),
      block_for_sending_buffer_(NULL),
      block_for_serialization_(NULL),
      sending_buffer_(NULL),
      partition_function_(NULL),
      socket_fd_upper_list_(NULL) {
  set_phy_oper_type(kphysicalExchangeSender);
}
ExchangeSenderPipeline::ExchangeSenderPipeline(State state)
    : state_(state),
      sender_thread_id_(0),
      partitioned_block_stream_(NULL),
      partitioned_data_buffer_(NULL),
      block_for_asking_(NULL),
      block_for_sending_buffer_(NULL),
      block_for_serialization_(NULL),
      sending_buffer_(NULL),
      partition_function_(NULL),
      socket_fd_upper_list_(NULL) {
  set_phy_oper_type(kphysicalExchangeSender);
  assert(state.partition_schema_.partition_key_index < 100);
}
PhysicalProjectionScan::PhysicalProjectionScan()
    : partition_reader_iterator_(NULL), perf_info_(NULL) {
  set_phy_oper_type(kPhysicalScan);
  InitExpandedStatus();
}