Interface Transform
- All Superinterfaces:
Expression
- All Known Subinterfaces:
RewritableTransform
Represents a transform function in the public logical expression API.
For example, the transform date(ts) is used to derive a date value from a timestamp column. The transform name is "date" and its argument is a reference to the "ts" column.
- Since:
- 3.0.0
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
-
Method Summary
Modifier and TypeMethodDescriptionReturns the arguments passed to the transform function.default Expression[]
children()
Returns an array of the children of this node.name()
Returns the transform function name.Methods inherited from interface org.apache.spark.sql.connector.expressions.Expression
describe, references
-
Method Details
-
name
String name()Returns the transform function name. -
arguments
Expression[] arguments()Returns the arguments passed to the transform function. -
children
Description copied from interface:Expression
Returns an array of the children of this node. Children should not change.- Specified by:
children
in interfaceExpression
-