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

Public Member Functions

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

TDataSink toThrift ()
 

Protected Attributes

final Table targetTable_
 
long perHostMemCost_ = -1
 
PlanFragment fragment_
 

Detailed Description

Class used to represent a Sink that will transport data from a plan fragment into an HBase table using HTable.

Definition at line 30 of file HBaseTableSink.java.

Constructor & Destructor Documentation

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

Definition at line 31 of file HBaseTableSink.java.

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.

String com.cloudera.impala.planner.HBaseTableSink.getExplainString ( String  prefix,
String  detailPrefix,
TExplainLevel  explainLevel 
)
inline
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_.

TDataSink com.cloudera.impala.planner.HBaseTableSink.toThrift ( )
inlineprotected

Member Data Documentation

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

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