org.apache.spark.sql.execution.datasources

PartitioningUtils

object PartitioningUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PartitioningUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def getPathFragment(spec: TablePartitionSpec, partitionSchema: StructType): String

    This is the inverse of parsePathFragment().

  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def normalizePartitionSpec[T](partitionSpec: Map[String, T], partColNames: Seq[String], tblName: String, resolver: (String, String) ⇒ Boolean): Map[String, T]

    Normalize the column names in partition specification, w.

    Normalize the column names in partition specification, w.r.t. the real partition column names and case sensitivity. e.g., if the partition spec has a column named monTh, and there is a partition column named month, and it's case insensitive, we will normalize monTh to month.

  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def parsePathFragment(pathFragment: String): TablePartitionSpec

    Given a partition path fragment, e.

    Given a partition path fragment, e.g. fieldOne=1/fieldTwo=2, returns a parsed spec for that fragment as a TablePartitionSpec, e.g. Map(("fieldOne", "1"), ("fieldTwo", "2")).

  20. def parsePathFragmentAsSeq(pathFragment: String): Seq[(String, String)]

    Given a partition path fragment, e.

    Given a partition path fragment, e.g. fieldOne=1/fieldTwo=2, returns a parsed spec for that fragment as a Seq[(String, String)], e.g. Seq(("fieldOne", "1"), ("fieldTwo", "2")).

  21. def partitionColumnsSchema(schema: StructType, partitionColumns: Seq[String], caseSensitive: Boolean): StructType

  22. def resolvePartitions(pathsWithPartitionValues: Seq[(Path, PartitionValues)], timeZone: TimeZone): Seq[PartitionValues]

    Resolves possible type conflicts between partitions by up-casting "lower" types.

    Resolves possible type conflicts between partitions by up-casting "lower" types. The up- casting order is:

    NullType ->
    IntegerType -> LongType ->
    DoubleType -> StringType
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. def validatePartitionColumn(schema: StructType, partitionColumns: Seq[String], caseSensitive: Boolean): Unit

  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped