List of usage examples for org.springframework.data.redis.core BoundHashOperations values
@Nullable List<HV> values();
From source file:com.chessix.vas.service.RedisStorage.java
@Override public List<Integer> accountValues(final String clasId) { final BoundHashOperations<String, Object, Object> ops = redisTemplate.boundHashOps(clasId); final List<Object> values = ops.values(); return Lists.transform(values, new Function<Object, Integer>() { @Override//from www .jav a 2 s. co m public Integer apply(final Object input) { return Integer.parseInt((String) input); } }); }