com.pingcap.tispark.statistics

StatisticsManager

object StatisticsManager

Manager class for maintaining table statistics information cache.

Statistics information is useful for index selection and broadcast join support in TiSpark currently, and these are arranged follows:

statisticsMap contains tableId->TableStatistics data, each table(id) will have a TableStatistics if you have loaded statistics information successfully.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StatisticsManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def estimateTableSize(table: TiTableInfo): Long

    Estimated table size in bytes using statistic info.

    Estimated table size in bytes using statistic info.

    table

    table to estimate

    returns

    estimated table size in bytes

  9. def estimatedRowCount(table: TiTableInfo): Long

    Estimated row count of one table

    Estimated row count of one table

    table

    table to evaluate

    returns

    estimated number of rows in this table

  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. def getTableStatistics(id: Long): TableStatistics

  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. def initStatisticsManager(tiSession: TiSession): Unit

  15. def initialize(tiSession: TiSession): Unit

    Attributes
    protected
  16. var initialized: Boolean

    Attributes
    protected
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def loadStatisticsInfo(table: TiTableInfo, columns: String*): Unit

    Load statistics information maintained by TiDB to TiSpark.

    Load statistics information maintained by TiDB to TiSpark.

    table

    The table whose statistics info is needed.

    columns

    Concerning columns for table, only these columns' statistics information will be loaded, if empty, all columns' statistics info will be loaded

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def reset(): Unit

  23. def setEstimator(estimator: TableSizeEstimator): Unit

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped