Class

org.apache.spark.sql.topk

TopKRelation

Related Doc: package topk

Permalink

case class TopKRelation(sqlContext: SnappyContext, topKName: String, topKOptions: Map[String, String], baseTable: Option[String], baseTableSchema: StructType, keyColumn: String, isStreamSummary: Boolean)(schema: StructType = ...) extends BaseRelation with PrunedFilteredScan with SchemaInsertableRelation with DestroyRelation with Logging with Serializable with Product

Linear Supertypes
Product, Equals, Serializable, Serializable, Logging, DestroyRelation, SchemaInsertableRelation, InsertableRelation, PrunedFilteredScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TopKRelation
  2. Product
  3. Equals
  4. Serializable
  5. Serializable
  6. Logging
  7. DestroyRelation
  8. SchemaInsertableRelation
  9. InsertableRelation
  10. PrunedFilteredScan
  11. BaseRelation
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TopKRelation(sqlContext: SnappyContext, topKName: String, topKOptions: Map[String, String], baseTable: Option[String], baseTableSchema: StructType, keyColumn: String, isStreamSummary: Boolean)(schema: StructType = ...)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def append(rows: RDD[Row], time: Long): Unit

    Permalink
    Definition Classes
    TopKRelation → SchemaInsertableRelation
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val baseTable: Option[String]

    Permalink
  7. val baseTableSchema: StructType

    Permalink
  8. def buildScan(requiredColumns: Array[String], filters: Array[Filter]): RDD[Row]

    Permalink
    Definition Classes
    TopKRelation → PrunedFilteredScan
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def create(ifExists: Boolean): Unit

    Permalink
  11. def destroy(ifExists: Boolean): Unit

    Permalink

    Destroy and cleanup this relation.

    Destroy and cleanup this relation. It may include, but not limited to, dropping the external table that this relation represents.

    Definition Classes
    TopKRelation → DestroyRelation
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def initializeLogIfNecessary(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  16. def insert(data: DataFrame, overwrite: Boolean): Unit

    Permalink
    Definition Classes
    TopKRelation → InsertableRelation
  17. def insertableRelation(sourceSchema: Seq[Attribute]): Option[InsertableRelation]

    Permalink
    Definition Classes
    TopKRelation → SchemaInsertableRelation
  18. final def isDebugEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  19. final def isInfoEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val isStreamSummary: Boolean

    Permalink
  22. final def isTraceEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  23. val keyColumn: String

    Permalink
  24. final var levelFlags: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  27. def logDebug(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  28. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  29. def logError(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  30. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  31. def logInfo(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  32. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  34. def logTrace(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  35. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  36. def logWarning(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  37. final var log_: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. val needConversion: Boolean

    Permalink
    Definition Classes
    TopKRelation → BaseRelation
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. def resetLogger(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  43. val schema: StructType

    Permalink
    Definition Classes
    TopKRelation → BaseRelation
  44. def sizeInBytes: Long

    Permalink
    Definition Classes
    BaseRelation
  45. val sqlContext: SnappyContext

    Permalink
    Definition Classes
    TopKRelation → BaseRelation
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. val topKName: String

    Permalink
  48. val topKOptions: Map[String, String]

    Permalink
  49. def truncate(): Unit

    Permalink

    Truncate the table represented by this relation.

    Truncate the table represented by this relation.

    Definition Classes
    TopKRelation → DestroyRelation
  50. def unhandledFilters(filters: Array[Filter]): Array[Filter]

    Permalink
    Definition Classes
    BaseRelation
  51. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from DestroyRelation

Inherited from SchemaInsertableRelation

Inherited from InsertableRelation

Inherited from PrunedFilteredScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped