public final class ApiExpression extends BaseExpressions<Object,ApiExpression> implements Expression
BaseExpressions
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ExpressionVisitor<R> visitor) |
String |
asSummaryString()
Returns a string that summarizes this expression for printing to a console.
|
List<Expression> |
getChildren() |
protected ApiExpression |
toApiSpecificExpression(Expression expression) |
Expression |
toExpr() |
abs, acos, and, as, asc, asin, at, atan, avg, between, bin, cardinality, cast, cast, ceil, ceil, charLength, collect, cos, cosh, cot, count, day, days, degrees, desc, distinct, dividedBy, element, end, exp, extract, flatten, floor, floor, fromBase64, get, get, hex, hour, hours, in, in, initCap, isEqual, isFalse, isGreater, isGreaterOrEqual, isLess, isLessOrEqual, isNotEqual, isNotFalse, isNotNull, isNotTrue, isNull, isTrue, like, ln, log, log, log10, log2, lowerCase, lpad, ltrim, max, md5, milli, millis, min, minus, minute, minutes, mod, month, months, notBetween, or, over, overlay, overlay, plus, position, power, proctime, quarter, quarters, radians, regexpExtract, regexpExtract, regexpReplace, repeat, replace, round, rowtime, rpad, rtrim, second, seconds, sha1, sha2, sha224, sha256, sha384, sha512, sign, similar, sin, sinh, sqrt, start, stddevPop, stddevSamp, substring, substring, sum, sum0, tan, tanh, then, times, toBase64, toDate, toTime, toTimestamp, trim, trim, trimLeading, trimLeading, trimTrailing, trimTrailing, truncate, truncate, upperCase, varPop, varSamp, week, weeks, year, years
public String asSummaryString()
Expression
asSummaryString
in interface Expression
public Expression toExpr()
toExpr
in class BaseExpressions<Object,ApiExpression>
protected ApiExpression toApiSpecificExpression(Expression expression)
toApiSpecificExpression
in class BaseExpressions<Object,ApiExpression>
public List<Expression> getChildren()
getChildren
in interface Expression
public <R> R accept(ExpressionVisitor<R> visitor)
accept
in interface Expression
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.