Packages

case class BucketSpec(numBuckets: Int, bucketColumnNames: Seq[String], sortColumnNames: Seq[String]) extends SQLConfHelper with MetadataMapSupport with Product with Serializable

A container for bucketing information. Bucketing is a technology for decomposing data sets into more manageable parts, and the number of buckets is fixed so it does not fluctuate with data.

numBuckets

number of buckets.

bucketColumnNames

the names of the columns that used to generate the bucket id.

sortColumnNames

the names of the columns that used to sort data in each bucket.

Linear Supertypes
Serializable, Product, Equals, MetadataMapSupport, SQLConfHelper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BucketSpec
  2. Serializable
  3. Product
  4. Equals
  5. MetadataMapSupport
  6. SQLConfHelper
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BucketSpec(numBuckets: Int, bucketColumnNames: Seq[String], sortColumnNames: Seq[String])

    numBuckets

    number of buckets.

    bucketColumnNames

    the names of the columns that used to generate the bucket id.

    sortColumnNames

    the names of the columns that used to sort data in each bucket.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bucketColumnNames: Seq[String]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def conf: SQLConf

    The active config object within the current scope.

    The active config object within the current scope. See SQLConf.get for more information.

    Definition Classes
    SQLConfHelper
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def jsonToString(jsonMap: LinkedHashMap[String, JValue]): LinkedHashMap[String, String]
    Attributes
    protected
    Definition Classes
    MetadataMapSupport
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. val numBuckets: Int
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. val sortColumnNames: Seq[String]
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toJsonLinkedHashMap: LinkedHashMap[String, JValue]
    Definition Classes
    BucketSpecMetadataMapSupport
  20. def toLinkedHashMap: LinkedHashMap[String, String]
    Definition Classes
    MetadataMapSupport
  21. def toString(): String
    Definition Classes
    BucketSpec → AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. def withSQLConf[T](pairs: (String, String)*)(f: => T): T

    Sets all SQL configurations specified in pairs, calls f, and then restores all SQL configurations.

    Sets all SQL configurations specified in pairs, calls f, and then restores all SQL configurations.

    Attributes
    protected
    Definition Classes
    SQLConfHelper

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from MetadataMapSupport

Inherited from SQLConfHelper

Inherited from AnyRef

Inherited from Any

Ungrouped