Example usage for org.springframework.data.redis.core HashOperations entries

List of usage examples for org.springframework.data.redis.core HashOperations entries

Introduction

In this page you can find the example usage for org.springframework.data.redis.core HashOperations entries.

Prototype

Map<HK, HV> entries(H key);

Source Link

Document

Get entire hash stored at key .

Usage

From source file:com.company.project.service.dao.RedisDao.java

public Map entriesHash(String objectKey) {
    HashOperations opsForHash = redisTemplate.opsForHash();
    return opsForHash.entries(objectKey);
}