
public class GlueRedisDao extends Object implements GlueGenericRedisDao
| Constructor and Description | 
|---|
GlueRedisDao()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterPropertiesSet()
Properties SetÈÄ ÃʱâÈ ÀÛ¾÷ 
 | 
void | 
delete(String key)
ÇØ´ç µ¥ÀÌÅ͸¦ »èÁ¦ÇÑ´Ù. 
 | 
org.springframework.data.redis.connection.DataType | 
getDataType(String key)
ÇØ´ç µ¥ÀÌÅÍÀÇ Å¸ÀÔÀ» ¹ÝȯÇÑ´Ù. 
 | 
org.springframework.data.redis.core.HashOperations<String,String,Object> | 
getOpsForHash()
HashŸÀÔ µ¥ÀÌÅÍÀÇ Operation Ŭ·¡½º¸¦ ¹ÝȯÇÑ´Ù. 
 | 
org.springframework.data.redis.core.ListOperations<String,Object> | 
getOpsForList()
ListŸÀÔ µ¥ÀÌÅÍÀÇ Operation Ŭ·¡½º¸¦ ¹ÝȯÇÑ´Ù. 
 | 
org.springframework.data.redis.core.SetOperations<String,Object> | 
getOpsForSet()
SetŸÀÔ µ¥ÀÌÅÍÀÇ Operation Ŭ·¡½º¸¦ ¹ÝȯÇÑ´Ù. 
 | 
org.springframework.data.redis.core.ValueOperations<String,Object> | 
getOpsForValue()
String ŸÀÔ µ¥ÀÌÅÍÀÇ Operation Ŭ·¡½º¸¦ ¹ÝȯÇÑ´Ù. 
 | 
org.springframework.data.redis.core.ZSetOperations<String,Object> | 
getOpsForZSet()
Sotred SetŸÀÔ µ¥ÀÌÅÍÀÇ Operation Ŭ·¡½º¸¦ ¹ÝȯÇÑ´Ù. 
 | 
void | 
opsHashAddMap(String key,
             Map<String,Object> value)
RedisÀÇ HashŸÀÔÀÇ µ¥ÀÌÅÍ¿¡ ÇØ´ç MapÀ» ÀúÀåÇÑ´Ù. 
 | 
void | 
opsHashAddObject(String key,
                String hashkey,
                Object value)
RedisÀÇ HashŸÀÔÀÇ µ¥ÀÌÅÍ¿¡ ÇØ´ç µ¥ÀÌÅ͸¦ ÀúÀåÇÑ´Ù. 
 | 
Map<String,Object> | 
opsHashGetMap(String key)
Redis¿¡¼ HashŸÀÔÀÇ µ¥ÀÌÅ͸¦ °¡Á®¿Â´Ù. 
 | 
Object | 
opsHashGetObject(String key,
                String hashkey)
RedisÀÇ HashŸÀÔÀÇ µ¥ÀÌÅÍ¿¡¼ ÇØ´ç Key¿¡ ÇØ´çÇÏ´Â µ¥ÀÌÅ͸¦ ¹ÝȯÇÑ´Ù. 
 | 
Set<String> | 
opsHashKeys(String key)
RedisÀÇ HashŸÀÔÀÇ µ¥ÀÌÅÍ¿¡¼ Key°ªÀ» ¹ÝȯÇÑ´Ù. 
 | 
long | 
opsListAddListAll(String key,
                 List<Object> value)
Redis¿¡ ListŸÀÔÀÇ µ¥ÀÌÅ͸¦ ÀúÀåÇÑ´Ù. 
 | 
long | 
opsListAddObject(String key,
                Object value)
Redis¿¡¼ ListŸÀÔÀÇ µ¥ÀÌÅÍ¿¡ ÇØ´ç °ªÀ» AddÇÑ´Ù. 
 | 
List<Object> | 
opsListGetList(String key)
Redis¿¡¼ ListŸÀÔÀÇ µ¥ÀÌÅ͸¦ °¡Á®¿Â´Ù. 
 | 
List<Object> | 
opsListGetList(String key,
              long startIndex,
              long endIndex)
Redis¿¡¼ ListŸÀÔÀÇ µ¥ÀÌÅ͸¦ ÁöÁ¤ÇÑ Row¸¸ °¡Á®¿Â´Ù. 
 | 
long | 
opsSetAddObject(String key,
               Object value)
Redis¿¡¼ SetŸÀÔÀÇ µ¥ÀÌÅÍ¿¡ ÇØ´ç °ªÀ» AddÇÑ´Ù. 
 | 
long | 
opsSetAddSet(String key,
            Set<Object> value)
Redis¿¡¼ SetŸÀÔÀÇ µ¥ÀÌÅÍ¿¡ ÇØ´ç °ªÀ» AddÇÑ´Ù. 
 | 
Set<Object> | 
opsSetGetSet(String key)
Redis¿¡¼ SetŸÀÔÀÇ µ¥ÀÌÅ͸¦ °¡Á®¿Â´Ù. 
 | 
Object | 
opsValueGetObject(String key)
Redis¿¡¼ StringŸÀÔÀÇ µ¥ÀÌÅ͸¦ °¡Á®¿Â´Ù. 
 | 
void | 
opsValueSetObject(String key,
                 Object value)
Redis¿¡ StringŸÀÔÀÇ µ¥ÀÌÅ͸¦ ÀúÀåÇÑ´Ù. 
 | 
boolean | 
opsZSetAddObject(String key,
                Object value,
                double score)
Redis¿¡¼ Sorted SetŸÀÔÀÇ µ¥ÀÌÅÍ¿¡ ÇØ´ç °ªÀ» AddÇÑ´Ù. 
 | 
double | 
opsZSetGetScore(String key,
               Object value)
Redis¿¡¼ Sorted SetŸÀÔÀÇ µ¥ÀÌÅÍÀÇ Score¸¦ ¹ÝȯÇÑ´Ù. 
 | 
Set<Object> | 
opsZSetGetSet(String key)
Redis¿¡¼ Sorted SetŸÀÔÀÇ µ¥ÀÌÅ͸¦ °¡Á®¿Â´Ù. 
 | 
Set<Object> | 
opsZSetGetSet(String key,
             long startIndex,
             long endIndex)
Redis¿¡¼ Sorted SetŸÀÔÀÇ µ¥ÀÌÅ͸¦ ÁöÁ¤µÈ IndexÀÇ µ¥ÀÌÅ͸¸ °¡Á®¿Â´Ù. 
 | 
Set<Object> | 
opsZSetGetSetByScore(String key,
                    double startScore,
                    double endScore)
Redis¿¡¼ Sorted SetŸÀÔÀÇ µ¥ÀÌÅ͸¦ ÁöÁ¤µÈ ScoreÀÇ µ¥ÀÌÅ͸¸ °¡Á®¿Â´Ù. 
 | 
long | 
opsZSetRank(String key,
           Object value)
Redis¿¡¼ Sorted SetŸÀÔÀÇ µ¥ÀÌÅÍÀÇ ¼øÀ§¸¦ ¹ÝȯÇÑ´Ù. 
 | 
long | 
opsZSetRemoveByScore(String key,
                    double startScore,
                    double endScore)
Redis¿¡¼ Sorted SetŸÀÔÀÇ µ¥ÀÌÅÍ¿¡¼ ÇØ´ç ¹üÀ§ÀÇ Score¸¦ °¡Áø µ¥ÀÌÅ͸¦ »èÁ¦ÇÑ´Ù. 
 | 
void | 
setConnectionFactory(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
setter method for DI. 
 | 
void | 
setSerializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)
setter method for DI. 
 | 
long | 
size(String key)
ÇØ´ç µ¥ÀÌÅ͸¦ Row ¼ö. 
 | 
public void setConnectionFactory(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
RedisConnectionFactory - public void setSerializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)
RedisSerializer - public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic org.springframework.data.redis.core.ValueOperations<String,Object> getOpsForValue()
getOpsForValue in interface GlueGenericRedisDaopublic org.springframework.data.redis.core.ListOperations<String,Object> getOpsForList()
getOpsForList in interface GlueGenericRedisDaopublic org.springframework.data.redis.core.SetOperations<String,Object> getOpsForSet()
getOpsForSet in interface GlueGenericRedisDaopublic org.springframework.data.redis.core.ZSetOperations<String,Object> getOpsForZSet()
getOpsForZSet in interface GlueGenericRedisDaopublic org.springframework.data.redis.core.HashOperations<String,String,Object> getOpsForHash()
getOpsForHash in interface GlueGenericRedisDaopublic org.springframework.data.redis.connection.DataType getDataType(String key)
getDataType in interface GlueGenericRedisDaoString - key Redis¿¡¼ È®ÀÎÇÒ µ¥ÀÌÅÍÀÇ Keypublic void delete(String key)
delete in interface GlueGenericRedisDaoString - key Redis¿¡¼ »èÁ¦ÇÒ µ¥ÀÌÅÍÀÇ Keypublic long size(String key)
size in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keypublic Object opsValueGetObject(String key)
opsValueGetObject in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keypublic void opsValueSetObject(String key, Object value)
opsValueSetObject in interface GlueGenericRedisDaoString - key Redis¿¡ ÀúÀåÇÒ µ¥ÀÌÅÍÀÇ KeyObject - value Redis¿¡ ÀúÀåÇÒ µ¥ÀÌŸpublic List<Object> opsListGetList(String key)
opsListGetList in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keypublic List<Object> opsListGetList(String key, long startIndex, long endIndex)
opsListGetList in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keylong - startIndex Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ ½ÃÀÛ Indexlong - endIndex Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ ¸¶Áö¸· Indexpublic long opsListAddObject(String key, Object value)
opsListAddObject in interface GlueGenericRedisDaoString - key Redis µ¥ÀÌÅÍÀÇ KeyObject - value Redis¿¡ Add µ¥ÀÌŸpublic long opsListAddListAll(String key, List<Object> value)
opsListAddListAll in interface GlueGenericRedisDaoString - key Redis µ¥ÀÌÅÍÀÇ KeyList< - Object > value Redis¿¡ ÀúÀåÇÒ µ¥ÀÌŸpublic Set<Object> opsSetGetSet(String key)
opsSetGetSet in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keypublic long opsSetAddObject(String key, Object value)
opsSetAddObject in interface GlueGenericRedisDaoString - key Redis µ¥ÀÌÅÍÀÇ KeyObject - value Redis¿¡ ÀúÀåÇÒ µ¥ÀÌŸpublic long opsSetAddSet(String key, Set<Object> value)
opsSetAddSet in interface GlueGenericRedisDaoString - key Redis µ¥ÀÌÅÍÀÇ KeyObject - value Redis¿¡ ÀúÀåÇÒ µ¥ÀÌŸpublic Set<Object> opsZSetGetSet(String key)
opsZSetGetSet in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keypublic Set<Object> opsZSetGetSet(String key, long startIndex, long endIndex)
opsZSetGetSet in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keylong - startIndex Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ ½ÃÀÛ Indexlong - endIndex Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ ¸¶Áö¸· Indexpublic Set<Object> opsZSetGetSetByScore(String key, double startScore, double endScore)
opsZSetGetSetByScore in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keylong - startIndex Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ ½ÃÀÛ Scorelong - endIndex Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ ¸¶Áö¸· Scorepublic boolean opsZSetAddObject(String key, Object value, double score)
opsZSetAddObject in interface GlueGenericRedisDaoString - key Redis µ¥ÀÌÅÍÀÇ KeyObject - value Redis¿¡ ÀúÀåÇÒ µ¥ÀÌŸdouble - score Redis¿¡ ÀúÀåÇÒ µ¥ÀÌŸÀÇ Scorepublic double opsZSetGetScore(String key, Object value)
opsZSetGetScore in interface GlueGenericRedisDaoString - key Redis µ¥ÀÌÅÍÀÇ KeyObject - value Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌŸpublic long opsZSetRank(String key, Object value)
opsZSetRank in interface GlueGenericRedisDaoString - key Redis µ¥ÀÌÅÍÀÇ KeyObject - value Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌŸpublic long opsZSetRemoveByScore(String key, double startScore, double endScore)
opsZSetRemoveByScore in interface GlueGenericRedisDaoString - key Redis µ¥ÀÌÅÍÀÇ Keydouble - startScore Redis¿¡¼ »èÁ¦ÇÒ µ¥ÀÌŸ ¹üÀ§ÀÇ ½ÃÀÛ Scoredouble - endScore Redis¿¡¼ »èÁ¦ÇÒ µ¥ÀÌŸ ¹üÀ§ÀÇ ¸¶Áö¸· Scorepublic Map<String,Object> opsHashGetMap(String key)
opsHashGetMap in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ Keypublic Object opsHashGetObject(String key, String hashkey)
opsHashGetObject in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ KeyString - hashkey Hashµ¥ÀÌÅÍÀÇ Keypublic void opsHashAddObject(String key, String hashkey, Object value)
opsHashAddObject in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ KeyString - hashkey Hashµ¥ÀÌÅÍÀÇ KeyObject - value Hashµ¥ÀÌÅÍ¿¡ ÀúÀåÇÒ °ªpublic void opsHashAddMap(String key, Map<String,Object> value)
opsHashAddMap in interface GlueGenericRedisDaoString - key Redis¿¡¼ ÀúÀåÇÒ µ¥ÀÌÅÍÀÇ KeyMap - value ÀúÀåÇÒ mapµ¥ÀÌÅÍpublic Set<String> opsHashKeys(String key)
opsHashKeys in interface GlueGenericRedisDaoString - key Redis¿¡¼ °¡Á®¿Ã µ¥ÀÌÅÍÀÇ KeyCopyright © 2013–2019 POSCO ICT. All rights reserved.