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

Public Member Functions

 Vertex (VertexId id, String label)
 
VertexId getVertexId ()
 
String getLabel ()
 
String getType ()
 
String toString ()
 
Map toJson ()
 
boolean equals (Object obj)
 
int compareTo (Vertex cmp)
 
int hashCode ()
 

Static Public Member Functions

static Vertex fromJsonObj (JSONObject obj)
 

Private Attributes

final VertexId id_
 
final String type_ = "COLUMN"
 
final String label_
 

Detailed Description

Represents a vertex in the column lineage graph. A Vertex may correspond to a base table column, a column in the destination table (for the case of INSERT or CTAS queries) or a result expr (labeled column of a query result set).

Definition at line 51 of file ColumnLineageGraph.java.

Constructor & Destructor Documentation

com.cloudera.impala.analysis.Vertex.Vertex ( VertexId  id,
String  label 
)
inline

Member Function Documentation

int com.cloudera.impala.analysis.Vertex.compareTo ( Vertex  cmp)
inline

Definition at line 103 of file ColumnLineageGraph.java.

boolean com.cloudera.impala.analysis.Vertex.equals ( Object  obj)
inline
static Vertex com.cloudera.impala.analysis.Vertex.fromJsonObj ( JSONObject  obj)
inlinestatic

Constructs a Vertex object from a JSON object. The new object is returned.

Definition at line 88 of file ColumnLineageGraph.java.

References com.cloudera.impala.analysis.Vertex.Vertex().

String com.cloudera.impala.analysis.Vertex.getLabel ( )
inline
String com.cloudera.impala.analysis.Vertex.getType ( )
inline

Definition at line 68 of file ColumnLineageGraph.java.

References com.cloudera.impala.analysis.Vertex.type_.

VertexId com.cloudera.impala.analysis.Vertex.getVertexId ( )
inline

Definition at line 66 of file ColumnLineageGraph.java.

References com.cloudera.impala.analysis.Vertex.id_.

int com.cloudera.impala.analysis.Vertex.hashCode ( )
inline

Definition at line 106 of file ColumnLineageGraph.java.

Map com.cloudera.impala.analysis.Vertex.toJson ( )
inline

Encodes this Vertex object into a JSON object represented by a Map.

Definition at line 76 of file ColumnLineageGraph.java.

References com.cloudera.impala.analysis.Vertex.label_, and com.cloudera.impala.analysis.Vertex.type_.

String com.cloudera.impala.analysis.Vertex.toString ( )
inline

Member Data Documentation

final String com.cloudera.impala.analysis.Vertex.type_ = "COLUMN"
private

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