public abstract class HbaseAccessor extends Object implements 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() |
Charset |
getCharset() |
Configuration |
getConfiguration() |
HTableInterfaceFactory |
getTableFactory() |
void |
setConfiguration(Configuration configuration)
Sets the configuration.
|
void |
setEncoding(String encoding)
Sets the encoding.
|
void |
setTableFactory(HTableInterfaceFactory tableFactory)
Sets the table factory.
|
public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanpublic void setTableFactory(HTableInterfaceFactory tableFactory)
tableFactory - The tableFactory to set.public void setEncoding(String encoding)
encoding - The encoding to set.public void setConfiguration(Configuration configuration)
configuration - The configuration to set.public Charset getCharset()
public HTableInterfaceFactory getTableFactory()
public Configuration getConfiguration()