public abstract class HbaseAccessor
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
HbaseTemplate
および HbaseInterceptor
の基本クラス。HTableInterfaceFactory
や Configuration
などの共通プロパティを定義します。直接使用するためのものではありません。コンストラクターと説明 |
---|
HbaseAccessor() |
修飾子と型 | メソッドと説明 |
---|---|
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) 構成を設定します。 |
void | setEncoding(java.lang.String encoding) エンコーディングを設定します。 |
void | setTableFactory(org.apache.hadoop.hbase.client.HTableInterfaceFactory tableFactory) テーブルファクトリを設定します。 |
public void afterPropertiesSet()
org.springframework.beans.factory.InitializingBean
の afterPropertiesSet
public void setTableFactory(org.apache.hadoop.hbase.client.HTableInterfaceFactory tableFactory)
tableFactory
- 設定する tableFactory。public void setEncoding(java.lang.String encoding)
encoding
- 設定するエンコーディング。public void setConfiguration(org.apache.hadoop.conf.Configuration configuration)
configuration
- 設定する構成。public java.nio.charset.Charset getCharset()
public org.apache.hadoop.hbase.client.HTableInterfaceFactory getTableFactory()
public org.apache.hadoop.conf.Configuration getConfiguration()