case class HBaseInstance(configuration: SerializableConfiguration) extends Serializable with Product
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HBaseInstance
- Product
- Equals
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new HBaseInstance(configuration: SerializableConfiguration)
Value Members
-
lazy val
admin: Admin
- Annotations
- @transient()
- def close: Unit
- val configuration: SerializableConfiguration
-
lazy val
connection: Connection
- Annotations
- @transient()
- def getAdmin: Admin
- def getConnection: Connection
- def hadoopConfiguration: Configuration
- def withAdmin[T](block: (Admin) ⇒ T): T
- def withAdminDo[T](block: (Admin) ⇒ T): T
-
def
withConnection[T](block: (Connection) ⇒ T): T
Without connection close, for a custom connection close
-
def
withConnectionDo[T](block: (Connection) ⇒ T): T
With connection close
- def withTableConnectionDo[T](tableName: TableName)(block: (Table) ⇒ T): T