Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
PartitionKeyValue (String colName, Expr value) | |
void | analyze (Analyzer analyzer) throws AnalysisException |
String | getColName () |
Expr | getValue () |
LiteralExpr | getLiteralValue () |
boolean | isDynamic () |
boolean | isStatic () |
String | toString () |
String | toPredicateSql () |
Static Public Member Functions | |
static String | getPartitionKeyValueString (LiteralExpr literalValue, String nullPartitionKeyValue) |
Private Attributes | |
final String | colName_ |
final Expr | value_ |
LiteralExpr | literalValue_ |
Representation of a single column:value element in the PARTITION (...) clause of an insert or alter table statement.
Definition at line 24 of file PartitionKeyValue.java.
|
inline |
Definition at line 32 of file PartitionKeyValue.java.
|
inline |
Definition at line 37 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.Expr.isConstant(), com.cloudera.impala.analysis.PartitionKeyValue.isStatic(), com.cloudera.impala.analysis.PartitionKeyValue.literalValue_, com.cloudera.impala.analysis.PartitionKeyValue.toString(), and com.cloudera.impala.analysis.PartitionKeyValue.value_.
|
inline |
Definition at line 48 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.PartitionKeyValue.colName_.
|
inline |
Definition at line 50 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.PartitionKeyValue.literalValue_.
|
inlinestatic |
Utility method that returns the string value for the given partition key. For NULL values (a NullLiteral type) or empty literal values this will return the given null partition key value.
Definition at line 77 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.LiteralExpr.getStringValue().
|
inline |
Definition at line 49 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.PartitionKeyValue.value_.
|
inline |
Definition at line 51 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.PartitionKeyValue.value_.
Referenced by com.cloudera.impala.analysis.PartitionKeyValue.isStatic().
|
inline |
Definition at line 52 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.PartitionKeyValue.isDynamic().
Referenced by com.cloudera.impala.analysis.PartitionKeyValue.analyze(), com.cloudera.impala.analysis.PartitionKeyValue.toPredicateSql(), and com.cloudera.impala.analysis.PartitionKeyValue.toString().
|
inline |
Returns a binary predicate as a SQL string which matches the column and value of this PartitionKeyValue. If the value is null, correctly substitutes 'IS' as the operator.
Definition at line 63 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.PartitionKeyValue.colName_, com.cloudera.impala.analysis.LiteralExpr.getStringValue(), com.cloudera.impala.analysis.PartitionKeyValue.isStatic(), and com.cloudera.impala.analysis.PartitionKeyValue.literalValue_.
|
inline |
Definition at line 55 of file PartitionKeyValue.java.
References com.cloudera.impala.analysis.PartitionKeyValue.colName_, and com.cloudera.impala.analysis.PartitionKeyValue.isStatic().
Referenced by com.cloudera.impala.analysis.PartitionKeyValue.analyze().
|
private |
Definition at line 26 of file PartitionKeyValue.java.
Referenced by com.cloudera.impala.analysis.PartitionKeyValue.getColName(), com.cloudera.impala.analysis.PartitionKeyValue.toPredicateSql(), and com.cloudera.impala.analysis.PartitionKeyValue.toString().
|
private |
Definition at line 30 of file PartitionKeyValue.java.
Referenced by com.cloudera.impala.analysis.PartitionKeyValue.analyze(), com.cloudera.impala.analysis.PartitionKeyValue.getLiteralValue(), and com.cloudera.impala.analysis.PartitionKeyValue.toPredicateSql().
|
private |
Definition at line 28 of file PartitionKeyValue.java.
Referenced by com.cloudera.impala.analysis.PartitionKeyValue.analyze(), com.cloudera.impala.analysis.PartitionKeyValue.getValue(), and com.cloudera.impala.analysis.PartitionKeyValue.isDynamic().