Packages

c

org.apache.spark.sql.delta

YearMonthDayHourPartitionExpr

case class YearMonthDayHourPartitionExpr(yearPart: String, monthPart: String, dayPart: String, hourPart: String) extends OptimizablePartitionExpression with Product with Serializable

Optimize the case that four partition columns uses YEAR, MONTH, DAY and HOUR using the same column, such as YEAR(eventTime), MONTH(eventTime), DAY(eventTime), HOUR(eventTime).

yearPart

the year partition column name

monthPart

the month partition column name

dayPart

the day partition column name

hourPart

the hour partition column name

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

Instance Constructors

  1. new YearMonthDayHourPartitionExpr(yearPart: String, monthPart: String, dayPart: String, hourPart: String)

    yearPart

    the year partition column name

    monthPart

    the month partition column name

    dayPart

    the day partition column name

    hourPart

    the hour partition column name

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val dayPart: String
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equalTo(lit: Literal): Option[Expression]

    Assume we have a partition column part, and a data column col.

    Assume we have a partition column part, and a data column col. Return a partition filter based on part for a data filter col = lit.

    Definition Classes
    YearMonthDayHourPartitionExprOptimizablePartitionExpression
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def greaterThan(lit: Literal): Option[Expression]

    Assume we have a partition column part, and a data column col.

    Assume we have a partition column part, and a data column col. Return a partition filter based on part for a data filter col > lit.

    Definition Classes
    YearMonthDayHourPartitionExprOptimizablePartitionExpression
  12. def greaterThanOrEqual(lit: Literal): Option[Expression]

    Assume we have a partition column part, and a data column col.

    Assume we have a partition column part, and a data column col. Return a partition filter based on part for a data filter col >= lit.

    Definition Classes
    YearMonthDayHourPartitionExprOptimizablePartitionExpression
  13. val hourPart: String
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isNull(): Option[Expression]

    Assume we have a partition column part, and a data column col.

    Assume we have a partition column part, and a data column col. Return a partition filter based on part for a data filter col IS NULL.

    Definition Classes
    YearMonthDayHourPartitionExprOptimizablePartitionExpression
  16. def lessThan(lit: Literal): Option[Expression]

    Assume we have a partition column part, and a data column col.

    Assume we have a partition column part, and a data column col. Return a partition filter based on part for a data filter col < lit.

    Definition Classes
    YearMonthDayHourPartitionExprOptimizablePartitionExpression
  17. def lessThanOrEqual(lit: Literal): Option[Expression]

    Assume we have a partition column part, and a data column col.

    Assume we have a partition column part, and a data column col. Return a partition filter based on part for a data filter col <= lit.

    Definition Classes
    YearMonthDayHourPartitionExprOptimizablePartitionExpression
  18. val monthPart: String
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. val yearPart: String

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped