|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.poscoict.glueframework.dao.hbase.GlueHbaseDao
public class GlueHbaseDao
Hbase¿Í ¿¬µ¿Çϱâ À§ÇÑ Dao Class
Constructor Summary | |
---|---|
GlueHbaseDao()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
String |
delete(String tableName,
String row_id)
ÇØ´ç µ¥ÀÌÅ͸¦ »èÁ¦ÇÑ´Ù. |
List<Map<String,Object>> |
find(String tableName)
Default Ä÷³ Æйи®¿¡ ÇØ´çÇÏ´Â Àüü µ¥ÀÌÅ͸¦ Á¶È¸ÇÑ´Ù. |
List<Map<String,Object>> |
find(String tableName,
String family)
Àüü µ¥ÀÌÅ͸¦ Á¶È¸ÇÑ´Ù. |
List<Map<String,Object>> |
find(String tableName,
String family,
org.apache.hadoop.hbase.client.Scan scan)
ÇØ´ç µ¥ÀÌÅ͸¦ Á¶È¸ÇÑ´Ù. |
Map<String,Object> |
save(String tableName,
Map<String,Object> params)
ÇØ´ç µ¥ÀÌÅ͸¦ Default Ä÷³ Æйи®¿¡ ÀúÀåÇÑ´Ù. |
Map<String,Object> |
save(String tableName,
String family,
Map<String,Object> params)
ÇØ´ç µ¥ÀÌÅ͸¦ ÀúÀåÇÑ´Ù. |
void |
setDefaultCf(String defaultCf)
|
void |
setHbaseTemplate(org.springframework.data.hadoop.hbase.HbaseTemplate hbaseTemplate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlueHbaseDao()
Method Detail |
---|
public void setHbaseTemplate(org.springframework.data.hadoop.hbase.HbaseTemplate hbaseTemplate)
public void setDefaultCf(String defaultCf)
public List<Map<String,Object>> find(String tableName)
String
- tableName Hbase¿¡¼ Á¶È¸ ÇÒ µ¥ÀÌÅÍÀÇ Å×ÀÌºí ¸ípublic List<Map<String,Object>> find(String tableName, String family)
String
- tableName Hbase¿¡¼ Á¶È¸ ÇÒ µ¥ÀÌÅÍÀÇ Å×ÀÌºí ¸íString
- family Hbase¿¡¼ Á¶È¸ ÇÒ µ¥ÀÌÅÍÀÇ Ä÷³ Æйи®public List<Map<String,Object>> find(String tableName, String family, org.apache.hadoop.hbase.client.Scan scan)
String
- tableName Hbase¿¡¼ Á¶È¸ ÇÒ µ¥ÀÌÅÍÀÇ Å×ÀÌºí ¸íString
- family Hbase¿¡¼ Á¶È¸ ÇÒ µ¥ÀÌÅÍÀÇ Ä÷³ Æйи®Scan
- scan Hbase¿¡¼ Á¶È¸ ÇÒ µ¥ÀÌÅÍÀÇ Á¶È¸ Á¶°ÇÀÌ Á¤ÀÇµÈ Scan °´Ã¼public Map<String,Object> save(String tableName, Map<String,Object> params)
String
- tableName Hbase¿¡ ÀúÀåÇÒ µ¥ÀÌÅÍÀÇ Å×ÀÌºí ¸íMap
- params Hbase¿¡ ÀúÀåÇÒ µ¥ÀÌÅÍpublic Map<String,Object> save(String tableName, String family, Map<String,Object> params)
String
- tableName Hbase¿¡ ÀúÀåÇÒ µ¥ÀÌÅÍÀÇ Å×ÀÌºí ¸íString
- family Hbase¿¡ ÀúÀåÇÒ µ¥ÀÌÅÍÀÇ Ä÷³ Æйи®Map
- params Hbase¿¡ ÀúÀåÇÒ µ¥ÀÌÅÍpublic String delete(String tableName, String row_id)
String
- row_id Hbase¿¡¼ »èÁ¦ÇÒ µ¥ÀÌÅÍÀÇ Keypublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |