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

Public Member Functions

 Column (String name, Type type, int position)
 
 Column (String name, Type type, String comment, int position)
 
String getComment ()
 
String getName ()
 
Type getType ()
 
int getPosition ()
 
void setPosition (int position)
 
ColumnStats getStats ()
 
boolean updateStats (ColumnStatisticsData statsData)
 
void updateStats (TColumnStats statsData)
 
String toString ()
 
TColumn toThrift ()
 

Static Public Member Functions

static Column fromThrift (TColumn columnDesc)
 

Protected Attributes

final String name_
 
final Type type_
 
final String comment_
 
int position_
 
final ColumnStats stats_
 

Static Private Attributes

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

Detailed Description

Internal representation of column-related metadata. Owned by Catalog instance.

Definition at line 30 of file Column.java.

Constructor & Destructor Documentation

com.cloudera.impala.catalog.Column.Column ( String  name,
Type  type,
int  position 
)
inline

Definition at line 40 of file Column.java.

References impala.name.

Referenced by com.cloudera.impala.catalog.Column.fromThrift().

com.cloudera.impala.catalog.Column.Column ( String  name,
Type  type,
String  comment,
int  position 
)
inline

Member Function Documentation

static Column com.cloudera.impala.catalog.Column.fromThrift ( TColumn  columnDesc)
inlinestatic
void com.cloudera.impala.catalog.Column.setPosition ( int  position)
inline

Definition at line 56 of file Column.java.

boolean com.cloudera.impala.catalog.Column.updateStats ( ColumnStatisticsData  statsData)
inline
void com.cloudera.impala.catalog.Column.updateStats ( TColumnStats  statsData)
inline

Definition at line 65 of file Column.java.

References com.cloudera.impala.catalog.Column.type_.

Member Data Documentation

final Logger com.cloudera.impala.catalog.Column.LOG = LoggerFactory.getLogger(Column.class)
staticprivate

Definition at line 31 of file Column.java.

final ColumnStats com.cloudera.impala.catalog.Column.stats_
protected

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