16 #ifndef IMPALA_EXEC_SCAN_NODE_H_
17 #define IMPALA_EXEC_SCAN_NODE_H_
22 #include "gen-cpp/ImpalaInternalService_types.h"
89 void SetScanRanges(
const std::vector<TScanRangeParams>& scan_range_params) {
RuntimeProfile::ThreadCounters * scanner_thread_counters() const
static const std::string NUM_SCANNER_THREADS_STARTED
RuntimeProfile::Counter * per_read_thread_throughput_counter_
Per thread read throughput [bytes/sec].
virtual Status Prepare(RuntimeState *state)
A set of counters that measure thread info, such as total time, user time, sys time.
RuntimeProfile::Counter * average_scanner_thread_concurrency() const
RuntimeProfile::Counter * scan_ranges_complete_counter_
static const std::string TOTAL_THROUGHPUT_COUNTER
static const std::string AVERAGE_SCANNER_THREAD_CONCURRENCY
RuntimeProfile::Counter * scan_ranges_complete_counter() const
RuntimeProfile::Counter * num_scanner_threads_started_counter_
RuntimeProfile::Counter * read_timer_
static const std::string NUM_DISKS_ACCESSED_COUNTER
RuntimeProfile::Counter * rows_read_counter() const
static const std::string MATERIALIZE_TUPLE_TIMER
static const std::string TOTAL_HBASE_READ_TIMER
RuntimeProfile::Counter * bytes_read_counter_
static const std::string PER_READ_THREAD_THROUGHPUT_COUNTER
RuntimeProfile::Counter * materialize_tuple_timer_
ScanNode(ObjectPool *pool, const TPlanNode &tnode, const DescriptorTbl &descs)
static const std::string SCAN_RANGES_COMPLETE_COUNTER
RuntimeProfile::Counter * average_hdfs_read_thread_concurrency_
std::vector< RuntimeProfile::Counter * > hdfs_read_thread_concurrency_bucket_
static const std::string SCANNER_THREAD_COUNTERS_PREFIX
RuntimeProfile::Counter * num_disks_accessed_counter_
static const std::string AVERAGE_HDFS_READ_THREAD_CONCURRENCY
RuntimeProfile::Counter * rows_read_counter_
rows/tuples read from the scanner (including those discarded by EvalConjucts())
static const std::string ROWS_READ_COUNTER
RuntimeProfile::Counter active_scanner_thread_counter_
The number of active scanner threads that are not blocked by IO.
RuntimeProfile::Counter * per_read_thread_throughput_counter() const
RuntimeProfile::Counter * bytes_read_counter() const
void SetScanRanges(const std::vector< TScanRangeParams > &scan_range_params)
Abstract base class of all scan nodes; introduces SetScanRange().
RuntimeProfile::Counter * total_throughput_counter_
Wall based aggregate read throughput [bytes/sec].
RuntimeProfile::ThreadCounters * scanner_thread_counters_
Aggregated scanner thread counters.
RuntimeProfile::Counter * total_throughput_counter() const
static const std::string TOTAL_HDFS_READ_TIMER
RuntimeProfile::Counter & active_scanner_thread_counter()
virtual bool IsScanNode() const
RuntimeProfile::Counter * average_scanner_thread_concurrency_
RuntimeProfile::TimeSeriesCounter * bytes_read_timeseries_counter_
Time series of the bytes_read_counter_.
const std::vector< TScanRangeParams > * scan_range_params_
The scan ranges this scan node is responsible for. Not owned.
static const std::string SCANNER_THREAD_TOTAL_WALLCLOCK_TIME
RuntimeProfile::Counter active_hdfs_read_thread_counter_
The number of active hdfs reading threads reading for this node.
RuntimeProfile::Counter * read_timer() const
static const std::string BYTES_READ_COUNTER
names of ScanNode common counters
RuntimeProfile::Counter * materialize_tuple_timer() const