Class ClusterByTransform
Object
org.apache.spark.sql.connector.expressions.ClusterByTransform
- All Implemented Interfaces:
- Serializable,- Expression,- RewritableTransform,- Transform,- scala.Equals,- scala.Product
public final class ClusterByTransform
extends Object
implements 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 SummaryFields inherited from interface org.apache.spark.sql.connector.expressions.ExpressionEMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
- 
Constructor SummaryConstructorsConstructorDescriptionClusterByTransform(scala.collection.immutable.Seq<NamedReference> columnNames) 
- 
Method SummaryModifier 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) Creates a copy of this transform with the new analyzed references.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface org.apache.spark.sql.connector.expressions.ExpressiondescribeMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
ClusterByTransform
 
- 
- 
Method Details- 
unapplypublic static scala.Option<scala.collection.immutable.Seq<NamedReference>> unapply(Transform transform) 
- 
columnNames
- 
nameDescription copied from interface:TransformReturns the transform function name.
- 
referencesDescription copied from interface:ExpressionList of fields or columns that are referenced by this expression.- Specified by:
- referencesin interface- Expression
 
- 
argumentsDescription copied from interface:TransformReturns the arguments passed to the transform function.
- 
toString
- 
withReferencesDescription copied from interface:RewritableTransformCreates a copy of this transform with the new analyzed references.- Specified by:
- withReferencesin interface- RewritableTransform
 
 
-