org.springframework.data.hadoop.hbase
Class HbaseAccessor

java.lang.Object
  extended by org.springframework.data.hadoop.hbase.HbaseAccessor
All Implemented Interfaces:
InitializingBean
Direct Known Subclasses:
HbaseInterceptor, HbaseTemplate

public abstract class HbaseAccessor
extends Object
implements InitializingBean

Author:
Costin Leau

Constructor Summary
HbaseAccessor()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HbaseAccessor

public HbaseAccessor()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface InitializingBean

setTableFactory

public void setTableFactory(HTableInterfaceFactory tableFactory)
Sets the table factory.

Parameters:
tableFactory - The tableFactory to set.

setEncoding

public void setEncoding(String encoding)
Sets the encoding.

Parameters:
encoding - The encoding to set.

setConfiguration

public void setConfiguration(Configuration configuration)
Sets the configuration.

Parameters:
configuration - The configuration to set.

getCharset

public Charset getCharset()

getTableFactory

public HTableInterfaceFactory getTableFactory()

getConfiguration

public Configuration getConfiguration()