Uses of Class
org.apache.flink.table.api.ApiExpression
Packages that use ApiExpression
-
Uses of ApiExpression in org.apache.flink.table.api
Fields in org.apache.flink.table.api declared as ApiExpressionModifier and TypeFieldDescriptionstatic final ApiExpressionExpressions.CURRENT_RANGEOffset constant to be used in thefollowingclause ofOverwindows.static final ApiExpressionExpressions.CURRENT_ROWOffset constant to be used in thefollowingclause ofOverwindows.static final ApiExpressionExpressions.UNBOUNDED_RANGEOffset constant to be used in theprecedingclause of unboundedOverwindows.static final ApiExpressionExpressions.UNBOUNDED_ROWOffset constant to be used in theprecedingclause of unboundedOverwindows.Methods in org.apache.flink.table.api that return ApiExpressionModifier and TypeMethodDescriptionstatic ApiExpressionCreates an unresolved reference to a table's column.static ApiExpressionBoolean AND in three-valued logic.static ApiExpressionCreates an array of literals.static ApiExpressionCalculates the arc tangent of a given coordinate.static ApiExpressionExpressions.call(Class<? extends org.apache.flink.table.functions.UserDefinedFunction> function, Object... arguments) A call to an unregistered, inline function.static ApiExpressionA call to a function that will be looked up in a catalog.static ApiExpressionExpressions.call(org.apache.flink.table.functions.UserDefinedFunction function, Object... arguments) A call to an unregistered, inline function.static ApiExpressionA call to a SQL expression.static ApiExpressionReturns the first argument that is not NULL.static ApiExpressionCreates an unresolved reference to a table's column.static ApiExpressionReturns the string that results from concatenating the arguments.static ApiExpressionReturns the string that results from concatenating the arguments and separator.static ApiExpressionConverts a datetime dateStr (with default ISO timestamp format 'yyyy-MM-dd HH:mm:ss') from time zone tzFrom to time zone tzTo.static ApiExpressionExpressions.currentDatabase()Return the current database, the return type of this expression isDataTypes.STRING().static ApiExpressionExpressions.currentDate()Returns the current SQL date in local time zone, the return type of this expression isDataTypes.DATE().static ApiExpressionExpressions.currentTime()Returns the current SQL time in local time zone, the return type of this expression isDataTypes.TIME().static ApiExpressionExpressions.currentTimestamp()Returns the current SQL timestamp in local time zone, the return type of this expression isDataTypes.TIMESTAMP_WITH_LOCAL_TIME_ZONE().static ApiExpressionExpressions.currentWatermark(Object rowtimeAttribute) Returns the current watermark for the given rowtime attribute, orNULLif no common watermark of all upstream operations is available at the current operation in the pipeline.static ApiExpressionExpressions.dateFormat(Object timestamp, Object format) Formats a timestamp as a string using a specified format.static ApiExpressionExpressions.e()Returns a value that is closer than any other value to e.static ApiExpressionExpressions.fromUnixtime(Object unixtime) Converts unix timestamp (seconds since '1970-01-01 00:00:00' UTC) to datetime string in the "yyyy-MM-dd HH:mm:ss" format.static ApiExpressionExpressions.fromUnixtime(Object unixtime, Object format) Converts unix timestamp (seconds since '1970-01-01 00:00:00' UTC) to datetime string in the given format.static ApiExpressionExpressions.ifThenElse(Object condition, Object ifTrue, Object ifFalse) Ternary conditional operator that decides which of two other expressions should be evaluated based on a evaluated boolean condition.static ApiExpressionBuilds a JSON array string from a list of values.static ApiExpressionExpressions.jsonArrayAgg(org.apache.flink.table.api.JsonOnNull onNull, Object itemExpr) Builds a JSON object string by aggregating items into an array.static ApiExpressionExpressions.jsonObject(org.apache.flink.table.api.JsonOnNull onNull, Object... keyValues) Builds a JSON object string from a list of key-value pairs.static ApiExpressionExpressions.jsonObjectAgg(org.apache.flink.table.api.JsonOnNull onNull, Object keyExpr, Object valueExpr) Builds a JSON object string by aggregating key-value expressions into a single JSON object.static ApiExpressionExpressions.jsonString(Object value) Serializes a value into JSON.static ApiExpressionA window function that provides access to a row that comes directly before the current row.static ApiExpressionA window function that provides access to a row at a specified physical offset which comes before the current row.static ApiExpressionA window function that provides access to a row at a specified physical offset which comes before the current row.static ApiExpressionA window function that provides access to a row that comes directly after the current row.static ApiExpressionA window function that provides access to a row at a specified physical offset which comes after the current row.static ApiExpressionA window function that provides access to a row at a specified physical offset which comes after the current row.static ApiExpressionCreates a SQL literal.static ApiExpressionCreates a SQL literal of a givenDataType.static ApiExpressionExpressions.localTime()Returns the current SQL time in local time zone, the return type of this expression isDataTypes.TIME(), this is a synonym forExpressions.currentTime().static ApiExpressionExpressions.localTimestamp()Returns the current SQL timestamp in local time zone, the return type of this expression isDataTypes.TIMESTAMP().static ApiExpressionCalculates the logarithm of the given value.static ApiExpressionCalculates the logarithm of the given value to the given base.static ApiExpressionCreates a map of expressions.static ApiExpressionExpressions.mapFromArrays(Object key, Object value) Creates a map from an array of keys and an array of values.static ApiExpressionReturns negative numeric.static ApiExpressionInverts a given boolean expression.static ApiExpressionExpressions.nullOf(org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo) Deprecated.This method will be removed in future versions as it uses the old type system.static ApiExpressionExpressions.nullOf(org.apache.flink.table.types.DataType dataType) Returns a null literal value of a given data type.static ApiExpressionBoolean OR in three-valued logic.static ApiExpressionExpressions.pi()Returns a value that is closer than any other value to pi.static ApiExpressionExpressions.rand()Returns a pseudorandom double value between 0.0 (inclusive) and 1.0 (exclusive).static ApiExpressionReturns a pseudorandom double value between 0.0 (inclusive) and 1.0 (exclusive) with a initial seed.static ApiExpressionExpressions.randInteger(Object bound) Returns a pseudorandom integer value between 0 (inclusive) and the specified value (exclusive).static ApiExpressionExpressions.randInteger(Object seed, Object bound) Returns a pseudorandom integer value between 0 (inclusive) and the specified value (exclusive) with a initial seed.static ApiExpressionExpressions.range(int start, int end) Indicates an index based range, which can be used in columns selection.static ApiExpressionIndicates a range from 'start' to 'end', which can be used in columns selection.static ApiExpressionCreates a row of expressions.static ApiExpressionExpressions.rowInterval(Long rows) Creates an interval of rows.static ApiExpressionExpressions.sourceWatermark()Source watermark declaration forSchema.static ApiExpressionExpressions.temporalOverlaps(Object leftTimePoint, Object leftTemporal, Object rightTimePoint, Object rightTemporal) Determines whether two anchored time intervals overlap.static ApiExpressionExpressions.timestampDiff(org.apache.flink.table.expressions.TimePointUnit timePointUnit, Object timePoint1, Object timePoint2) Returns the (signed) number ofTimePointUnitbetween timePoint1 and timePoint2.protected ApiExpressionApiExpression.toApiSpecificExpression(org.apache.flink.table.expressions.Expression expression) static ApiExpressionConverts the given date string with format 'yyyy-MM-dd' toDataTypes.DATE().static ApiExpressionConverts the date string with the specified format toDataTypes.DATE().static ApiExpressionExpressions.toTimestamp(Object timestampStr) Converts the given date time string with format 'yyyy-MM-dd HH:mm:ss' under the 'UTC+0' time zone toDataTypes.TIMESTAMP().static ApiExpressionExpressions.toTimestamp(Object timestampStr, Object format) Converts the given time string with the specified format under the 'UTC+0' time zone toDataTypes.TIMESTAMP().static ApiExpressionExpressions.toTimestampLtz(Object numericEpochTime) Converts a numeric type epoch time toDataTypes.TIMESTAMP_LTZ(int).static ApiExpressionExpressions.toTimestampLtz(Object numericEpochTime, Object precision) Converts a numeric type epoch time toDataTypes.TIMESTAMP_LTZ(int).static ApiExpressionExpressions.toTimestampLtz(Object timestampStr, Object format, Object timezone) Converts a string timestamp with the custom format and timezone toDataTypes.TIMESTAMP_LTZ(int).static ApiExpressionExpressions.toTimestampLtz(String timeStamp) Converts a timestamp toDataTypes.TIMESTAMP_LTZ(int).static ApiExpressionExpressions.toTimestampLtz(String timestampStr, String format) Converts the given time string with the specified format toDataTypes.TIMESTAMP_LTZ(int).static ApiExpressionExpressions.unixTimestamp()Gets the current unix timestamp in seconds.static ApiExpressionExpressions.unixTimestamp(Object timestampStr) Converts the given date time string with format 'yyyy-MM-dd HH:mm:ss' to unix timestamp (in seconds), using the time zone specified in the table config.static ApiExpressionExpressions.unixTimestamp(Object timestampStr, Object format) Converts the given date time string with the specified format to unix timestamp (in seconds), using the specified timezone in table config.static ApiExpressionExpressions.uuid()Returns an UUID (Universally Unique Identifier) string (e.g., "3d3c68f7-f608-473f-b60c-b0c44ad4cc4e") according to RFC 4122 type 4 (pseudo randomly generated) UUID.static ApiExpressionExpressions.withAllColumns()Creates an expression that selects all columns.static ApiExpressionExpressions.withColumns(Object head, Object... tail) Creates an expression that selects a range of columns.static ApiExpressionExpressions.withoutColumns(Object head, Object... tail) Creates an expression that selects all columns except for the given range of columns.