已采納回答 / 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