c

ai.chronon.spark

PartitionRange

case class PartitionRange(start: String, end: String)(implicit tableUtils: TableUtils) extends DataRange with Ordered[PartitionRange] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Ordered[PartitionRange], Comparable[PartitionRange], DataRange, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartitionRange
  2. Serializable
  3. Product
  4. Equals
  5. Ordered
  6. Comparable
  7. DataRange
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PartitionRange(start: String, end: String)(implicit tableUtils: TableUtils)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def <(that: PartitionRange): Boolean
    Definition Classes
    Ordered
  4. def <=(that: PartitionRange): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: PartitionRange): Boolean
    Definition Classes
    Ordered
  7. def >=(that: PartitionRange): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def betweenClauses: String
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def compare(that: PartitionRange): Int
    Definition Classes
    PartitionRange → Ordered
  12. def compareTo(that: PartitionRange): Int
    Definition Classes
    Ordered → Comparable
  13. val end: String
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def intersect(other: PartitionRange): PartitionRange
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isSingleDay: Boolean
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def partitions: Seq[String]
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. def scanQueryDf(query: Query, table: String, appendRawQueryString: String = "", fillIfAbsent: Map[String, String] = Map.empty, partitionColOpt: Option[String] = None, renamePartitionCol: Boolean = false): DataFrame

    Executes a scan query on the specified table and returns the resulting DataFrame.

    Executes a scan query on the specified table and returns the resulting DataFrame.

    query

    the object containing select clauses and where conditions

    table

    the name of the table from which to scan data

    appendRawQueryString

    an optional raw string to append to the generated query

    fillIfAbsent

    a map of column names to default values for filling in absent columns

    partitionColOpt

    an optional override for the partition column; if not provided, the default partition column from tableUtils is used

    renamePartitionCol

    if true, the partition column in the resulting DataFrame will be renamed to the standard column name; otherwise, the original column name is retained

    returns

    Dataframe containing the result of executing the constructed scan query

  26. def scanQueryStringAndDf(query: Query, table: String, appendRawQueryString: String = "", fillIfAbsent: Map[String, String] = Map.empty, partitionColOpt: Option[String] = None, renamePartitionCol: Boolean = false): (String, DataFrame)

    Identical to scanQueryDf except for exposing the query string for testing or logging.

  27. def shift(days: Int): PartitionRange
  28. val start: String
  29. def steps(days: Int): Seq[PartitionRange]
  30. def substituteMacros(template: String): String
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    PartitionRange → AnyRef → Any
  33. def toTimePoints: Array[Long]
    Definition Classes
    PartitionRangeDataRange
  34. def valid: Boolean
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. def wellDefined: Boolean
  39. def whereClauses(partitionColumn: String = tableUtils.partitionColumn): Seq[String]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[PartitionRange]

Inherited from Comparable[PartitionRange]

Inherited from DataRange

Inherited from AnyRef

Inherited from Any

Ungrouped