case class PartitionRange(start: String, end: String)(implicit tableUtils: TableUtils) extends DataRange with Ordered[PartitionRange] with Product with Serializable
- Alphabetic
- By Inheritance
- PartitionRange
- Serializable
- Product
- Equals
- Ordered
- Comparable
- DataRange
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PartitionRange(start: String, end: String)(implicit tableUtils: TableUtils)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def <(that: PartitionRange): Boolean
- Definition Classes
- Ordered
- def <=(that: PartitionRange): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: PartitionRange): Boolean
- Definition Classes
- Ordered
- def >=(that: PartitionRange): Boolean
- Definition Classes
- Ordered
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def betweenClauses: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compare(that: PartitionRange): Int
- Definition Classes
- PartitionRange → Ordered
- def compareTo(that: PartitionRange): Int
- Definition Classes
- Ordered → Comparable
- val end: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def intersect(other: PartitionRange): PartitionRange
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSingleDay: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def partitions: Seq[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- 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. - def shift(days: Int): PartitionRange
- val start: String
- def steps(days: Int): Seq[PartitionRange]
- def substituteMacros(template: String): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- PartitionRange → AnyRef → Any
- def toTimePoints: Array[Long]
- Definition Classes
- PartitionRange → DataRange
- def valid: Boolean
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def wellDefined: Boolean
- def whereClauses(partitionColumn: String = tableUtils.partitionColumn): Seq[String]