Groovy Documentation

griffon.plugins.hbase
[Groovy] Class HBaseConnector

java.lang.Object
  griffon.plugins.hbase.HBaseConnector
All Implemented Interfaces:
HBaseProvider

@Singleton
final class HBaseConnector
extends Object

Authors:
Andres Almiray


Field Summary
private static org.slf4j.Logger LOG

private def bootstrap

 
Constructor Summary
HBaseConnector()

 
Method Summary
org.apache.hadoop.conf.Configuration connect(GriffonApplication app, ConfigObject config, String configName = 'default')

ConfigObject createConfig(GriffonApplication app)

void disconnect(GriffonApplication app, ConfigObject config, String configName = 'default')

private ConfigObject narrowConfig(ConfigObject config, String configName)

private org.apache.hadoop.conf.Configuration startHBase(ConfigObject config)

Object withHBase(String configName = 'default', Closure closure)

Object withHBase(String configName = 'default', CallableWithArgs callable)

Object withHTable(String configName = 'default', String storeName, Closure closure)

Object withHTable(String configName = 'default', String storeName, CallableWithArgs callable)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

LOG

private static final org.slf4j.Logger LOG


bootstrap

private def bootstrap


 
Constructor Detail

HBaseConnector

HBaseConnector()


 
Method Detail

connect

org.apache.hadoop.conf.Configuration connect(GriffonApplication app, ConfigObject config, String configName = 'default')


createConfig

ConfigObject createConfig(GriffonApplication app)


disconnect

void disconnect(GriffonApplication app, ConfigObject config, String configName = 'default')


narrowConfig

private ConfigObject narrowConfig(ConfigObject config, String configName)


startHBase

private org.apache.hadoop.conf.Configuration startHBase(ConfigObject config)


withHBase

Object withHBase(String configName = 'default', Closure closure)


withHBase

Object withHBase(String configName = 'default', CallableWithArgs callable)


withHTable

Object withHTable(String configName = 'default', String storeName, Closure closure)


withHTable

Object withHTable(String configName = 'default', String storeName, CallableWithArgs callable)


 

Groovy Documentation