Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
ColumnDef (String colName, TypeDef typeDef, String comment) | |
void | setType (Type type) |
Type | getType () |
TypeDef | getTypeDef () |
String | getColName () |
String | getComment () |
void | analyze () throws AnalysisException |
String | toString () |
TColumn | toThrift () |
Private Attributes | |
final String | colName_ |
final String | comment_ |
final TypeDef | typeDef_ |
Type | type_ |
Represents a column definition in a CREATE/ALTER TABLE/VIEW statement. Column definitions in CREATE/ALTER TABLE statements require a column type, whereas column definitions in CREATE/ALTER VIEW statements infer the column type from the corresponding view definition. All column definitions have an optional comment. Since a column definition refers a column stored in the Metastore, the column name must be valid according to the Metastore's rules (see ).
Definition at line 32 of file ColumnDef.java.
|
inline |
Definition at line 41 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.colName_, com.cloudera.impala.analysis.ColumnDef.comment_, and com.cloudera.impala.analysis.ColumnDef.typeDef_.
|
inline |
Definition at line 53 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.colName_, com.cloudera.impala.analysis.ColumnDef.type_, and com.cloudera.impala.analysis.ColumnDef.typeDef_.
|
inline |
Definition at line 50 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.colName_.
Referenced by com.cloudera.impala.analysis.AnalyzerTest.addTestTable(), com.cloudera.impala.analysis.AlterTableChangeColStmt.analyze(), com.cloudera.impala.analysis.CreateTableStmt.analyzeAvroSchema(), and com.cloudera.impala.analysis.ColumnDef.toThrift().
|
inline |
Definition at line 51 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.comment_.
Referenced by com.cloudera.impala.analysis.ColumnDef.toThrift().
|
inline |
Definition at line 48 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.type_.
Referenced by com.cloudera.impala.analysis.CreateTableStmt.analyzeAvroSchema().
|
inline |
Definition at line 49 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.typeDef_.
|
inline |
Definition at line 47 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.type_.
|
inline |
Definition at line 67 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.colName_, com.cloudera.impala.analysis.ColumnDef.comment_, and com.cloudera.impala.analysis.ColumnDef.type_.
|
inline |
Definition at line 78 of file ColumnDef.java.
References com.cloudera.impala.analysis.ColumnDef.getColName(), com.cloudera.impala.analysis.ColumnDef.getComment(), com.cloudera.impala.catalog.Type.toThrift(), and com.cloudera.impala.analysis.ColumnDef.type_.
|
private |
Definition at line 33 of file ColumnDef.java.
Referenced by com.cloudera.impala.analysis.ColumnDef.analyze(), com.cloudera.impala.analysis.ColumnDef.ColumnDef(), com.cloudera.impala.analysis.ColumnDef.getColName(), and com.cloudera.impala.analysis.ColumnDef.toString().
|
private |
Definition at line 34 of file ColumnDef.java.
Referenced by com.cloudera.impala.analysis.ColumnDef.ColumnDef(), com.cloudera.impala.analysis.ColumnDef.getComment(), and com.cloudera.impala.analysis.ColumnDef.toString().
|
private |
Definition at line 39 of file ColumnDef.java.
Referenced by com.cloudera.impala.analysis.ColumnDef.analyze(), com.cloudera.impala.analysis.ColumnDef.getType(), com.cloudera.impala.analysis.ColumnDef.setType(), com.cloudera.impala.analysis.ColumnDef.toString(), and com.cloudera.impala.analysis.ColumnDef.toThrift().
|
private |
Definition at line 38 of file ColumnDef.java.
Referenced by com.cloudera.impala.analysis.ColumnDef.analyze(), com.cloudera.impala.analysis.ColumnDef.ColumnDef(), and com.cloudera.impala.analysis.ColumnDef.getTypeDef().