Package org.apache.spark.sql
Class functions.partitioning$
Object
org.apache.spark.sql.functions.partitioning$
- Enclosing class:
- functions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final functions.partitioning$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(Scala-specific) A transform for any type that partitions by a hash of the input column.(Scala-specific) A transform for any type that partitions by a hash of the input column.(Scala-specific) A transform for timestamps and dates to partition data into days.(Scala-specific) A transform for timestamps to partition data into hours.(Scala-specific) A transform for timestamps and dates to partition data into months.(Scala-specific) A transform for timestamps and dates to partition data into years.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
partitioning$
public partitioning$()
-
-
Method Details
-
years
(Scala-specific) A transform for timestamps and dates to partition data into years.- Parameters:
e
- (undocumented)- Returns:
- (undocumented)
- Since:
- 4.0.0
-
months
(Scala-specific) A transform for timestamps and dates to partition data into months.- Parameters:
e
- (undocumented)- Returns:
- (undocumented)
- Since:
- 4.0.0
-
days
(Scala-specific) A transform for timestamps and dates to partition data into days.- Parameters:
e
- (undocumented)- Returns:
- (undocumented)
- Since:
- 4.0.0
-
hours
(Scala-specific) A transform for timestamps to partition data into hours.- Parameters:
e
- (undocumented)- Returns:
- (undocumented)
- Since:
- 4.0.0
-
bucket
(Scala-specific) A transform for any type that partitions by a hash of the input column.- Parameters:
numBuckets
- (undocumented)e
- (undocumented)- Returns:
- (undocumented)
- Since:
- 4.0.0
-
bucket
(Scala-specific) A transform for any type that partitions by a hash of the input column.- Parameters:
numBuckets
- (undocumented)e
- (undocumented)- Returns:
- (undocumented)
- Since:
- 4.0.0
-