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

Public Member Functions

 DataStreamSink (ExchangeNode exchNode, DataPartition partition)
 
String getExplainString (String prefix, String detailPrefix, TExplainLevel detailLevel)
 
DataPartition getOutputPartition ()
 
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

long perHostMemCost_ = -1
 
PlanFragment fragment_
 

Private Attributes

final ExchangeNode exchNode_
 
final DataPartition outputPartition_
 

Detailed Description

Data sink that forwards data to an exchange node.

Definition at line 26 of file DataStreamSink.java.

Constructor & Destructor Documentation

com.cloudera.impala.planner.DataStreamSink.DataStreamSink ( ExchangeNode  exchNode,
DataPartition  partition 
)
inline

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.DataStreamSink.getExplainString ( String  prefix,
String  detailPrefix,
TExplainLevel  detailLevel 
)
inline
PlanFragment com.cloudera.impala.planner.DataSink.getFragment ( )
inlineinherited

Definition at line 53 of file DataSink.java.

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

DataPartition com.cloudera.impala.planner.DataStreamSink.getOutputPartition ( )
inline
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_.

Member Data Documentation

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

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