public abstract class HbaseAccessor
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
HbaseTemplate
and HbaseInterceptor
, defining commons properties such as HTableInterfaceFactory
and Configuration
.
Not intended to be used directly.Constructor and Description |
---|
HbaseAccessor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
java.nio.charset.Charset |
getCharset() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
org.apache.hadoop.hbase.client.HTableInterfaceFactory |
getTableFactory() |
void |
setConfiguration(org.apache.hadoop.conf.Configuration configuration)
Sets the configuration.
|
void |
setEncoding(java.lang.String encoding)
Sets the encoding.
|
void |
setTableFactory(org.apache.hadoop.hbase.client.HTableInterfaceFactory tableFactory)
Sets the table factory.
|
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public void setTableFactory(org.apache.hadoop.hbase.client.HTableInterfaceFactory tableFactory)
tableFactory
- The tableFactory to set.public void setEncoding(java.lang.String encoding)
encoding
- The encoding to set.public void setConfiguration(org.apache.hadoop.conf.Configuration configuration)
configuration
- The configuration to set.public java.nio.charset.Charset getCharset()
public org.apache.hadoop.hbase.client.HTableInterfaceFactory getTableFactory()
public org.apache.hadoop.conf.Configuration getConfiguration()