已采纳回答 / weibo_俄勒冈的微波炉_0
应该是String,Redis中没有整形和float类型。Redis都会将其作为String来处理,Redis官方给出的回答“Redis doesnot have a dedicated integer type. The string stored at the key is interpreted as a base-10 64 bit signed integer to execute the operation. ”
2017-09-11
可以下载window环境下redis包不用安装,解压就好,下载地址和使用方法 http://www.cnblogs.com/lpyan/p/5608333.html;
创建maven工程,pom.xml里面写入以下,自动引入jedis依赖包:
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
创建maven工程,pom.xml里面写入以下,自动引入jedis依赖包:
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
2017-09-07
这里有
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
2017-09-02