diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 7b602c1bc..c9561e061 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,12 +1,13 @@ -#Tue Nov 01 18:44:46 EET 2011 +# +#Tue Dec 06 12:17:13 EET 2011 +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.debug.lineNumber=generate eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error diff --git a/README.md b/README.md index 90f2416a0..4e23164ed 100644 --- a/README.md +++ b/README.md @@ -4,42 +4,54 @@ Spring Data Redis The primary goal of the [Spring Data](http://www.springsource.org/spring-data) project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services. This modules provides integration with the [Redis] (http://code.google.com/p/redis/) store. -Examples --------- +# Docs + +You can find out more details from the [user documentation](http://static.springsource.org/spring-data/redis/docs/current/reference/) or by browsing the [javadocs](http://static.springsource.org/spring-data/redis/docs/current/api/). + +# Examples + For examples on using the Spring Data Key Value, see the dedicated project, also available on [GitHub](https://github.com/SpringSource/spring-data-keyvalue-examples) -Getting Help ------------- +# Artifacts -Read the main project [website](http://www.springsource.org/spring-data) and the [User Guide](http://static.springsource.org/spring-data/datastore-keyvalue/snapshot-site/reference/html/). Look at the source code and the [JavaDocs](http://static.springsource.org/spring-data/data-keyvalue/snapshot-site/apidocs/). For more detailed questions, use the [forum](http://forum.springsource.org/forumdisplay.php?f=80). If you are new to Spring as well as to Spring Data, look for information about [Spring projects](http://www.springsource.org/projects). +* Maven: -Quick Start ------------ +~~~~~ xml -## Redis - -For those in a hurry: - -* Download the jar through Maven: + + org.springframework.data + spring-data-redis + ${version} + - - org.springframework.data - spring-data-redis - 1.0.0.BUILD-SNAPSHOT - + + spring-maven-snapshot + true + Springframework Maven SNAPSHOT Repository + http://maven.springframework.org/snapshot + +~~~~~ +* Gradle: - - spring-maven-snapshot - true - Springframework Maven SNAPSHOT Repository - http://maven.springframework.org/snapshot - +~~~~~ groovy +repositories { + mavenRepo name: "spring-snapshot", urls: "http://maven.springframework.org/snapshot" +} +dependencies { + compile "org.springframework.data:spring-data-redis:${version}" +} +~~~~~ + +The latest `version` is _1.0.0.RC1_ + +# Usage (for the impatient) * Configure the Redis connector to use (here [jedis](https://github.com/xetorthio/jedis)): +~~~~~ xml +~~~~~ * Use `RedisTemplate` to interact with the Redis store: +~~~~~ java String random = template.randomKey(); template.set(random, new Person("John", "Smith")); +~~~~~ * Use Redis 'views' to execute specific operations based on the underlying Redis type: +~~~~~ java ListOperations listOps = template.listOps(); listOps.rightPush(random, new Person("Jane", "Smith")); List peopleOnSecondFloor = listOps.range("users:floor:2", 0, -1); +~~~~~ + +# Building + +Spring Hadoop uses Gradle as its build system. To build the system simply run: + + gradlew + +from the project root folder. This will compile the sources, run the tests and create the artifacts. + +# Contributing -Contributing to Spring Data ---------------------------- Here are some ways for you to get involved in the community: