Class/Object

unicredit.spark.hbase.HBaseUtils

Admin

Related Docs: object Admin | package HBaseUtils

Permalink

class Admin extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Admin
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Admin(connection: Connection)

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink

    Closes the connection to HBase.

    Closes the connection to HBase. Must the Admin instance is no more needed

  7. def createTable[K](tableName: String, family: String, splitKeys: Seq[K])(implicit arg0: Writes[K]): Admin

    Permalink

    Creates a table (if it doesn't exist already) with a column family and made of one or more regions

    Creates a table (if it doesn't exist already) with a column family and made of one or more regions

    tableName

    name of table

    family

    name of column family

    splitKeys

    ordered list of keys that defines region splits

  8. def createTable(tableName: String, families: String*): Admin

    Permalink

    Creates a table (if it doesn't exist already) with one or more column families

    Creates a table (if it doesn't exist already) with one or more column families

    tableName

    name of table

    families

    list of one or more column families

  9. def createTable(tableName: String, families: Set[String]): Admin

    Permalink

    Creates a table (if it doesn't exist already) with one or more column families and made of one or more regions

    Creates a table (if it doesn't exist already) with one or more column families and made of one or more regions

    tableName

    name of table

    families

    set of column families

  10. def createTable[K](tableName: String, families: Set[String], splitKeys: Seq[K])(implicit wk: Writes[K], wq: Writes[String]): Admin

    Permalink

    Creates a table (if it doesn't exist already) with one or more column families and made of one or more regions

    Creates a table (if it doesn't exist already) with one or more column families and made of one or more regions

    tableName

    name of table

    families

    set of column families

    splitKeys

    ordered list of keys that defines region splits

  11. def deleteTable(tableName: String): Admin

    Permalink

    Deletes a table

    Deletes a table

    tableName

    name of table

  12. def disableTable(tableName: String): Admin

    Permalink

    Disables a table

    Disables a table

    tableName

    name of table

  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def snapshot(tableName: String, snapshotName: String): Admin

    Permalink

    Takes a snapshot of the table

    Takes a snapshot of the table

    tableName

    name of table

    snapshotName

    name of snapshot

  23. def snapshot(tableName: String): Admin

    Permalink

    Takes a snapshot of the table, the snapshot's name has format "tableName_yyyyMMddHHmmss"

    Takes a snapshot of the table, the snapshot's name has format "tableName_yyyyMMddHHmmss"

    tableName

    name of table

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

    Permalink
    Definition Classes
    AnyRef
  25. def tableExists(tableName: String, families: Set[String])(implicit wq: Writes[String]): Boolean

    Permalink

    Checks if table exists, and requires that it contains the desired column families

    Checks if table exists, and requires that it contains the desired column families

    tableName

    name of table

    families

    set of column families

    returns

    true if table exists, false otherwise

  26. def tableExists(tableName: String, family: String)(implicit wq: Writes[String]): Boolean

    Permalink

    Checks if table exists, and requires that it contains the desired column family

    Checks if table exists, and requires that it contains the desired column family

    tableName

    name of the table

    family

    name of the column family

    returns

    true if table exists, false otherwise

  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def truncateTable(tableName: String, preserveSplits: Boolean): Admin

    Permalink

    Truncates a table

    Truncates a table

    tableName

    name of table

    preserveSplits

    true if region splits should be preserved

  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped