You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed the language of oppression and violence
and replaced it with more neutral language.
Note that problematic words in the code have
to remain in the docs until the code changes.
Original pull request: #49.
Copy file name to clipboardExpand all lines: src/main/asciidoc/key-value-repositories.adoc
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,8 @@ public KeyValueAdapter keyValueAdapter() {
64
64
[[key-value.keyspaces]]
65
65
== Keyspaces
66
66
67
-
Keyspaces define the part of the data structure in which the entity should be kept.This concept is similar to collections in MongoDB and Elasticsearch, cores in Solr, and tables in JPA.
68
-
By default, the keyspace of an entity is extracted from its type, but you can also store entities of different types within one keyspace.In that case, any find operation type-checks the results.The following example shows a keyspace for a repository of `Person` objects:
67
+
Keyspaces define the part of the data structure in which the entity should be kept.This concept is similar to collections in MongoDB and Elasticsearch, cores in Solr, and tables in JPA.
68
+
By default, the keyspace of an entity is extracted from its type, but you can also store entities of different types within one keyspace.In that case, any find operation type-checks the results.The following example shows a keyspace for a repository of `Person` objects:
69
69
70
70
====
71
71
[source, java]
@@ -125,15 +125,17 @@ class Customer {
125
125
[[key-value.template-query]]
126
126
== Querying
127
127
128
-
Query execution is managed by a `QueryEngine`. As mentioned earlier, you can instruct the `KeyValueAdapter` to use an implementation-specific `QueryEngine` that allows access to native functionality.
129
-
When used without further customization, queries are be executed by using `SpELQueryEngine`.
128
+
Running queries is managed by a `QueryEngine`.
129
+
As mentioned earlier, you can instruct the `KeyValueAdapter` to use an implementation-specific `QueryEngine` that allows access to native functionality.
130
+
When used without further customization, queries can be run by using `SpELQueryEngine`.
130
131
131
-
NOTE: For performance reasons, we highly recommend to have at least Spring Framework 4.1.2 or better to make use of link:{spring-framework-docs}core.html#expressions-spel-compilation[compiled SpEL Expressions]. ("`SpEL`" is short for "`Spring Expression Language`".) You can use the `-Dspring.expression.compiler.mode=IMMEDIATE` switch to enable it.
132
+
NOTE: For performance reasons, we highly recommend to have at least Spring Framework 4.1.2 or better to make use of link:{spring-framework-docs}core.html#expressions-spel-compilation[compiled SpEL Expressions].
133
+
("`SpEL`" is short for "`Spring Expression Language`".) You can use the `-Dspring.expression.compiler.mode=IMMEDIATE` switch to enable it.
132
134
133
135
The following example shows a query that uses the SpEL:
134
136
135
137
====
136
-
[source,java]
138
+
[source,java]
137
139
----
138
140
KeyValueQuery<String> query = new KeyValueQuery<String>("lastname == 'targaryen'");
@@ -145,8 +147,8 @@ IMPORTANT: You must have getters and setters present to query properties when yo
145
147
[[key-value.template-sort]]
146
148
== Sorting
147
149
148
-
Depending on the store implementation provided by the adapter, entities might already be stored in some sorted way but do not necessarily have to be.Again, the underlying `QueryEngine` is capable of performing sort operations.
149
-
When used without further customization, sorting is done by using a `SpelPropertyComparator` extracted from the `Sort` clause.The following example shows a query with a `Sort` clause:
150
+
Depending on the store implementation provided by the adapter, entities might already be stored in some sorted way but do not necessarily have to be.Again, the underlying `QueryEngine` is capable of performing sort operations.
151
+
When used without further customization, sorting is done by using a `SpelPropertyComparator` extracted from the `Sort` clause.The following example shows a query with a `Sort` clause:
0 commit comments