String function ( LiteralExpr arg0 , String arg1 ) { Preconditions . checkNotNull ( arg0 ) ; if ( arg0 instanceof NullLiteral || arg0 . getStringValue ( ) . isEmpty ( ) ) { return arg1 ; } return arg0 . getStringValue ( ) ; }
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 . concode_field_sep String colName_ concode_elem_sep LiteralExpr literalValue_ concode_elem_sep Expr value_ concode_field_sep Expr getValue concode_elem_sep boolean isStatic concode_elem_sep String getColName concode_elem_sep boolean isDynamic concode_elem_sep void analyze concode_elem_sep LiteralExpr getLiteralValue concode_elem_sep String toPredicateSql concode_elem_sep String toString