object ClusterBySpec extends Serializable
- Alphabetic
- By Inheritance
- ClusterBySpec
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractClusterBySpec(transforms: Seq[Transform]): Option[ClusterBySpec]
- def extractClusterByTransform(schema: StructType, clusterBySpec: ClusterBySpec, resolver: Resolver): ClusterByTransform
- def fromColumnNames(names: Seq[String]): ClusterBySpec
- def fromProperty(columns: String): ClusterBySpec
Converts the clustering column property to a ClusterBySpec.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toProperty(schema: StructType, clusterBySpec: ClusterBySpec, resolver: Resolver): (String, String)
Converts a ClusterBySpec to a clustering column property map entry, with validation of the column names against the schema.
Converts a ClusterBySpec to a clustering column property map entry, with validation of the column names against the schema.
- schema
the schema of the table.
- clusterBySpec
the ClusterBySpec to be converted to a property.
- resolver
the resolver used to match the column names.
- returns
a map entry for the clustering column property.
- def toPropertyWithoutValidation(clusterBySpec: ClusterBySpec): (String, String)
Converts a ClusterBySpec to a clustering column property map entry, without validating the column names against the schema.
Converts a ClusterBySpec to a clustering column property map entry, without validating the column names against the schema.
- clusterBySpec
existing ClusterBySpec to be converted to properties.
- returns
a map entry for the clustering column property.
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)