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

Public Member Functions

 DataPartition (TPartitionType type, List< Expr > exprs)
 
 DataPartition (TPartitionType type)
 
boolean isPartitioned ()
 
boolean isHashPartitioned ()
 
TPartitionType getType ()
 
List< ExprgetPartitionExprs ()
 
void substitute (ExprSubstitutionMap smap, Analyzer analyzer)
 
TDataPartition toThrift ()
 
boolean equals (Object obj)
 
String debugString ()
 
String getExplainString ()
 

Static Public Attributes

static final DataPartition UNPARTITIONED
 
static final DataPartition RANDOM
 

Private Member Functions

String getPartitionShortName (TPartitionType partition)
 

Private Attributes

final TPartitionType type_
 
List< ExprpartitionExprs_
 

Static Private Attributes

static final Logger LOG = LoggerFactory.getLogger(DataPartition.class)
 

Detailed Description

Specification of the partition of a single stream of data. Examples of those streams of data are: the scan of a table; the output of a plan fragment; etc. (ie, this is not restricted to direct exchanges between two fragments, which in the backend is facilitated by the classes DataStreamSender/DataStreamMgr/DataStreamRecvr).

Definition at line 39 of file DataPartition.java.

Constructor & Destructor Documentation

com.cloudera.impala.planner.DataPartition.DataPartition ( TPartitionType  type,
List< Expr exprs 
)
inline
com.cloudera.impala.planner.DataPartition.DataPartition ( TPartitionType  type)
inline

Member Function Documentation

String com.cloudera.impala.planner.DataPartition.debugString ( )
inline
boolean com.cloudera.impala.planner.DataPartition.equals ( Object  obj)
inline
List<Expr> com.cloudera.impala.planner.DataPartition.getPartitionExprs ( )
inline
String com.cloudera.impala.planner.DataPartition.getPartitionShortName ( TPartitionType  partition)
inlineprivate
TPartitionType com.cloudera.impala.planner.DataPartition.getType ( )
inline
boolean com.cloudera.impala.planner.DataPartition.isHashPartitioned ( )
inline
boolean com.cloudera.impala.planner.DataPartition.isPartitioned ( )
inline
void com.cloudera.impala.planner.DataPartition.substitute ( ExprSubstitutionMap  smap,
Analyzer  analyzer 
)
inline
TDataPartition com.cloudera.impala.planner.DataPartition.toThrift ( )
inline

Member Data Documentation

final Logger com.cloudera.impala.planner.DataPartition.LOG = LoggerFactory.getLogger(DataPartition.class)
staticprivate

Definition at line 40 of file DataPartition.java.


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