Class ClusterByTransform
Object
org.apache.spark.sql.connector.expressions.ClusterByTransform
- All Implemented Interfaces:
Serializable,Expression,org.apache.spark.sql.connector.expressions.RewritableTransform,Transform,scala.Equals,scala.Product
public final class ClusterByTransform
extends Object
implements org.apache.spark.sql.connector.expressions.RewritableTransform, scala.Product, Serializable
This class represents a transform for
ClusterBySpec. This is used to bundle
ClusterBySpec in CreateTable's partitioning transforms to pass it down to analyzer.- See Also:
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE -
Constructor Summary
ConstructorsConstructorDescriptionClusterByTransform(scala.collection.immutable.Seq<NamedReference> columnNames) -
Method Summary
Modifier and TypeMethodDescriptionReturns the arguments passed to the transform function.scala.collection.immutable.Seq<NamedReference>name()Returns the transform function name.List of fields or columns that are referenced by this expression.toString()static scala.Option<scala.collection.immutable.Seq<NamedReference>>withReferences(scala.collection.immutable.Seq<NamedReference> newReferences) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface org.apache.spark.sql.connector.expressions.Expression
describeMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ClusterByTransform
-
-
Method Details
-
unapply
public static scala.Option<scala.collection.immutable.Seq<NamedReference>> unapply(Transform transform) -
columnNames
-
name
Description copied from interface:TransformReturns the transform function name. -
references
Description copied from interface:ExpressionList of fields or columns that are referenced by this expression.- Specified by:
referencesin interfaceExpression
-
arguments
Description copied from interface:TransformReturns the arguments passed to the transform function. -
toString
-
withReferences
- Specified by:
withReferencesin interfaceorg.apache.spark.sql.connector.expressions.RewritableTransform
-