Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
HdfsTableSink (Table targetTable, List< Expr > partitionKeyExprs, boolean overwrite) | |
void | computeCosts () |
String | getExplainString (String prefix, String detailPrefix, TExplainLevel explainLevel) |
void | setFragment (PlanFragment fragment) |
PlanFragment | getFragment () |
long | getPerHostMemCost () |
Static Public Member Functions | |
static DataSink | createDataSink (Table table, List< Expr > partitionKeyExprs, boolean overwrite) |
Protected Member Functions | |
TDataSink | toThrift () |
Protected Attributes | |
final long | DEFAULT_NUM_PARTITIONS = 10 |
final List< Expr > | partitionKeyExprs_ |
final boolean | overwrite_ |
final Table | targetTable_ |
long | perHostMemCost_ = -1 |
PlanFragment | fragment_ |
Private Member Functions | |
long | getPerPartitionMemReq (HdfsFileFormat format) |
Base class for Hdfs data sinks such as HdfsTextTableSink.
Definition at line 36 of file HdfsTableSink.java.
|
inline |
Definition at line 45 of file HdfsTableSink.java.
References com.cloudera.impala.planner.HdfsTableSink.overwrite_, and com.cloudera.impala.planner.HdfsTableSink.partitionKeyExprs_.
|
inline |
Definition at line 54 of file HdfsTableSink.java.
References com.cloudera.impala.planner.HdfsTableSink.DEFAULT_NUM_PARTITIONS, com.cloudera.impala.planner.HdfsTableSink.getPerPartitionMemReq(), com.cloudera.impala.planner.HdfsTableSink.partitionKeyExprs_, com.cloudera.impala.planner.DataSink.perHostMemCost_, and com.cloudera.impala.planner.TableSink.targetTable_.
|
inlinestaticinherited |
Returns an output sink appropriate for writing to the given table.
Definition at line 59 of file DataSink.java.
|
inline |
Definition at line 99 of file HdfsTableSink.java.
References com.cloudera.impala.planner.HdfsTableSink.overwrite_, com.cloudera.impala.planner.HdfsTableSink.partitionKeyExprs_, and com.cloudera.impala.planner.DataSink.perHostMemCost_.
|
inlineinherited |
Definition at line 53 of file DataSink.java.
References com.cloudera.impala.planner.DataSink.fragment_.
|
inlineinherited |
Definition at line 54 of file DataSink.java.
References com.cloudera.impala.planner.DataSink.perHostMemCost_.
Referenced by com.cloudera.impala.planner.PipelinedPlanNodeSet.computeResourceEstimates().
|
inlineprivate |
Returns the per-partition memory requirement for inserting into the given file format.
Definition at line 85 of file HdfsTableSink.java.
Referenced by com.cloudera.impala.planner.HdfsTableSink.computeCosts().
|
inlineinherited |
Definition at line 52 of file DataSink.java.
References com.cloudera.impala.planner.DataSink.fragment_.
|
inlineprotected |
Definition at line 136 of file HdfsTableSink.java.
References com.cloudera.impala.catalog.Table.getId(), com.cloudera.impala.planner.HdfsTableSink.overwrite_, com.cloudera.impala.planner.HdfsTableSink.partitionKeyExprs_, com.cloudera.impala.planner.TableSink.targetTable_, and com.cloudera.impala.analysis.Expr.treesToThrift().
|
protected |
Definition at line 38 of file HdfsTableSink.java.
Referenced by com.cloudera.impala.planner.HdfsTableSink.computeCosts().
|
protectedinherited |
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 43 of file HdfsTableSink.java.
Referenced by com.cloudera.impala.planner.HdfsTableSink.getExplainString(), com.cloudera.impala.planner.HdfsTableSink.HdfsTableSink(), and com.cloudera.impala.planner.HdfsTableSink.toThrift().
|
protected |
Definition at line 41 of file HdfsTableSink.java.
Referenced by com.cloudera.impala.planner.HdfsTableSink.computeCosts(), com.cloudera.impala.planner.HdfsTableSink.getExplainString(), com.cloudera.impala.planner.HdfsTableSink.HdfsTableSink(), and com.cloudera.impala.planner.HdfsTableSink.toThrift().
|
protectedinherited |
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().
|
protectedinherited |