Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
com.cloudera.impala.planner.TableSink Class Referenceabstract
Inheritance diagram for com.cloudera.impala.planner.TableSink:
Collaboration diagram for com.cloudera.impala.planner.TableSink:

Public Member Functions

 TableSink (Table targetTable)
 
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

final Table targetTable_
 
long perHostMemCost_ = -1
 
PlanFragment fragment_
 

Detailed Description

A DataSink that writes into a table.

Definition at line 23 of file TableSink.java.

Constructor & Destructor Documentation

com.cloudera.impala.planner.TableSink.TableSink ( Table  targetTable)
inline

Definition at line 27 of file TableSink.java.

References com.cloudera.impala.planner.TableSink.targetTable_.

Member Function Documentation

void com.cloudera.impala.planner.DataSink.computeCosts ( )
inlineinherited

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_.

static DataSink com.cloudera.impala.planner.DataSink.createDataSink ( Table  table,
List< Expr partitionKeyExprs,
boolean  overwrite 
)
inlinestaticinherited

Returns an output sink appropriate for writing to the given table.

Definition at line 59 of file DataSink.java.

abstract String com.cloudera.impala.planner.DataSink.getExplainString ( String  prefix,
String  detailPrefix,
TExplainLevel  explainLevel 
)
abstractinherited

Return an explain string for the DataSink. Each line of the explain will be prefixed by "prefix".

PlanFragment com.cloudera.impala.planner.DataSink.getFragment ( )
inlineinherited

Definition at line 53 of file DataSink.java.

References com.cloudera.impala.planner.DataSink.fragment_.

long com.cloudera.impala.planner.DataSink.getPerHostMemCost ( )
inlineinherited
void com.cloudera.impala.planner.DataSink.setFragment ( PlanFragment  fragment)
inlineinherited

Definition at line 52 of file DataSink.java.

References com.cloudera.impala.planner.DataSink.fragment_.

abstract TDataSink com.cloudera.impala.planner.DataSink.toThrift ( )
abstractprotectedinherited

Member Data Documentation

PlanFragment com.cloudera.impala.planner.DataSink.fragment_
protectedinherited

The documentation for this class was generated from the following file: