Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
abstract String | getExplainString (String prefix, String detailPrefix, TExplainLevel explainLevel) |
void | setFragment (PlanFragment fragment) |
PlanFragment | getFragment () |
long | getPerHostMemCost () |
void | computeCosts () |
Static Public Member Functions | |
static DataSink | createDataSink (Table table, List< Expr > partitionKeyExprs, boolean overwrite) |
Protected Member Functions | |
abstract TDataSink | toThrift () |
Protected Attributes | |
long | perHostMemCost_ = -1 |
PlanFragment | fragment_ |
A DataSink describes the destination of a plan fragment's output rows. The destination could be another plan fragment on a remote machine, or a table into which the rows are to be inserted (i.e., the destination of the last fragment of an INSERT statement).
Definition at line 34 of file DataSink.java.
|
inline |
Estimates the cost of executing this DataSink. Currently only sets perHostMemCost.
Definition at line 79 of file DataSink.java.
References com.cloudera.impala.planner.DataSink.perHostMemCost_.
|
inlinestatic |
Returns an output sink appropriate for writing to the given table.
Definition at line 59 of file DataSink.java.
|
abstract |
Return an explain string for the DataSink. Each line of the explain will be prefixed by "prefix".
|
inline |
Definition at line 53 of file DataSink.java.
References com.cloudera.impala.planner.DataSink.fragment_.
|
inline |
Definition at line 54 of file DataSink.java.
References com.cloudera.impala.planner.DataSink.perHostMemCost_.
Referenced by com.cloudera.impala.planner.PipelinedPlanNodeSet.computeResourceEstimates().
|
inline |
Definition at line 52 of file DataSink.java.
References com.cloudera.impala.planner.DataSink.fragment_.
|
abstractprotected |
|
protected |
Definition at line 41 of file DataSink.java.
Referenced by com.cloudera.impala.planner.DataSink.getFragment(), and com.cloudera.impala.planner.DataSink.setFragment().
|
protected |
Definition at line 38 of file DataSink.java.
Referenced by com.cloudera.impala.planner.HdfsTableSink.computeCosts(), com.cloudera.impala.planner.DataSink.computeCosts(), com.cloudera.impala.planner.HBaseTableSink.getExplainString(), com.cloudera.impala.planner.HdfsTableSink.getExplainString(), and com.cloudera.impala.planner.DataSink.getPerHostMemCost().