|
| DataStreamTest () |
|
virtual void | SetUp () |
|
const TDataStreamSink & | GetSink (TPartitionType::type partition_type) |
|
virtual void | TearDown () |
|
void | Reset () |
|
void | GetNextInstanceId (TUniqueId *instance_id) |
|
void | CreateRowDesc () |
|
void | CreateTupleComparator () |
|
RowBatch * | CreateRowBatch () |
|
void | GetNextBatch (RowBatch *batch, int *next_val) |
|
void | StartReceiver (TPartitionType::type stream_type, int num_senders, int receiver_num, int buffer_size, bool is_merging, TUniqueId *out_id=NULL) |
|
void | JoinReceivers () |
|
void | ReadStream (ReceiverInfo *info) |
|
void | ReadStreamMerging (ReceiverInfo *info, RuntimeProfile *profile) |
|
void | CheckReceivers (TPartitionType::type stream_type, int num_senders) |
|
void | CheckSenders () |
|
void | StartBackend () |
|
void | StopBackend () |
|
void | StartSender (TPartitionType::type partition_type=TPartitionType::UNPARTITIONED, int channel_buffer_size=1024) |
|
void | JoinSenders () |
|
void | Sender (int sender_num, int channel_buffer_size, TPartitionType::type partition_type) |
|
void | TestStream (TPartitionType::type stream_type, int num_senders, int num_receivers, int buffer_size, bool is_merging) |
|
Definition at line 90 of file data-stream-test.cc.
impala::DataStreamTest::DataStreamTest |
( |
| ) |
|
|
inlineprotected |
void impala::DataStreamTest::CheckReceivers |
( |
TPartitionType::type |
stream_type, |
|
|
int |
num_senders |
|
) |
| |
|
inlineprotected |
void impala::DataStreamTest::CheckSenders |
( |
| ) |
|
|
inlineprotected |
RowBatch* impala::DataStreamTest::CreateRowBatch |
( |
| ) |
|
|
inlineprotected |
void impala::DataStreamTest::CreateRowDesc |
( |
| ) |
|
|
inlineprotected |
void impala::DataStreamTest::CreateTupleComparator |
( |
| ) |
|
|
inlineprotected |
void impala::DataStreamTest::GetNextBatch |
( |
RowBatch * |
batch, |
|
|
int * |
next_val |
|
) |
| |
|
inlineprotected |
void impala::DataStreamTest::GetNextInstanceId |
( |
TUniqueId * |
instance_id | ) |
|
|
inlineprotected |
const TDataStreamSink& impala::DataStreamTest::GetSink |
( |
TPartitionType::type |
partition_type | ) |
|
|
inlineprotected |
void impala::DataStreamTest::JoinReceivers |
( |
| ) |
|
|
inlineprotected |
void impala::DataStreamTest::JoinSenders |
( |
| ) |
|
|
inlineprotected |
void impala::DataStreamTest::ReadStream |
( |
ReceiverInfo * |
info | ) |
|
|
inlineprotected |
Definition at line 362 of file data-stream-test.cc.
References impala::DataStreamTest::ReceiverInfo::data_values, impala::RowBatch::GetRow(), impala::Tuple::GetSlot(), impala::TupleRow::GetTuple(), impala::Status::IsCancelled(), impala::RowBatch::num_rows(), impala::RowBatch::Reset(), impala::row_desc_, impala::SleepForMs(), impala::DataStreamTest::ReceiverInfo::status, impala::DataStreamTest::ReceiverInfo::stream_recvr, and VLOG_QUERY.
Referenced by StartReceiver().
void impala::DataStreamTest::Reset |
( |
| ) |
|
|
inlineprotected |
void impala::DataStreamTest::Sender |
( |
int |
sender_num, |
|
|
int |
channel_buffer_size, |
|
|
TPartitionType::type |
partition_type |
|
) |
| |
|
inlineprotected |
Definition at line 468 of file data-stream-test.cc.
References impala::DataStreamSender::Close(), impala::desc_tbl_, impala::exec_env_, impala::DataStreamSender::GetNumDataBytesSent(), impala::RuntimeState::InitMemTrackers(), impala::DataStreamTest::SenderInfo::num_bytes_sent, impala::obj_pool_, impala::Status::ok(), impala::DataStreamSender::Open(), impala::DataStreamSender::Prepare(), impala::row_desc_, impala::DataStreamSender::Send(), impala::RuntimeState::set_desc_tbl(), impala::DataStreamTest::SenderInfo::status, and VLOG_QUERY.
Referenced by StartSender().
virtual void impala::DataStreamTest::SetUp |
( |
| ) |
|
|
inlineprotectedvirtual |
void impala::DataStreamTest::StartBackend |
( |
| ) |
|
|
inlineprotected |
void impala::DataStreamTest::StartReceiver |
( |
TPartitionType::type |
stream_type, |
|
|
int |
num_senders, |
|
|
int |
receiver_num, |
|
|
int |
buffer_size, |
|
|
bool |
is_merging, |
|
|
TUniqueId * |
out_id = NULL |
|
) |
| |
|
inlineprotected |
void impala::DataStreamTest::StartSender |
( |
TPartitionType::type |
partition_type = TPartitionType::UNPARTITIONED , |
|
|
int |
channel_buffer_size = 1024 |
|
) |
| |
|
inlineprotected |
void impala::DataStreamTest::StopBackend |
( |
| ) |
|
|
inlineprotected |
virtual void impala::DataStreamTest::TearDown |
( |
| ) |
|
|
inlineprotectedvirtual |
void impala::DataStreamTest::TestStream |
( |
TPartitionType::type |
stream_type, |
|
|
int |
num_senders, |
|
|
int |
num_receivers, |
|
|
int |
buffer_size, |
|
|
bool |
is_merging |
|
) |
| |
|
inlineprotected |
scoped_ptr<RowBatch> impala::DataStreamTest::batch_ |
|
protected |
const int impala::DataStreamTest::BATCH_CAPACITY = 100 |
|
staticprotected |
TDataStreamSink impala::DataStreamTest::broadcast_sink_ |
|
protected |
vector<TPlanFragmentDestination> impala::DataStreamTest::dest_ |
|
protected |
const PlanNodeId impala::DataStreamTest::DEST_NODE_ID = 1 |
|
staticprotected |
MemTracker impala::DataStreamTest::dummy_mem_tracker_ |
|
protected |
ExecEnv impala::DataStreamTest::exec_env_ |
|
protected |
TDataStreamSink impala::DataStreamTest::hash_sink_ |
|
protected |
const int impala::DataStreamTest::MAX_RECEIVERS = 16 |
|
staticprotected |
const int impala::DataStreamTest::MAX_SENDERS = 16 |
|
staticprotected |
TUniqueId impala::DataStreamTest::next_instance_id_ |
|
protected |
int impala::DataStreamTest::next_val_ |
|
protected |
const int impala::DataStreamTest::PER_ROW_DATA = 8 |
|
staticprotected |
TDataStreamSink impala::DataStreamTest::random_sink_ |
|
protected |
vector<SenderInfo> impala::DataStreamTest::sender_info_ |
|
protected |
string impala::DataStreamTest::stmt_ |
|
protected |
const int impala::DataStreamTest::TOTAL_DATA_SIZE = 8 * 1024 |
|
staticprotected |
int64_t* impala::DataStreamTest::tuple_mem_ |
|
protected |
The documentation for this class was generated from the following file: