|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.hbase.HbaseAccessor
public abstract class HbaseAccessor
Base class for HbaseTemplate
and HbaseInterceptor
, defining commons properties such as HTableInterfaceFactory
and Configuration
.
Not intended to be used directly.
Constructor Summary | |
---|---|
HbaseAccessor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HbaseAccessor()
Method Detail |
---|
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()
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |