File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/org/sharrissf/sample Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ public void runTests() throws IOException {
80
80
81
81
Query query = cache .createQuery ();
82
82
query .includeKeys ();
83
+ query .includeValues ();
83
84
query .add (new And (name .like ("Ari*" ), gender .eq (Gender .MALE )));
84
85
85
86
long t = System .currentTimeMillis ();
@@ -89,7 +90,8 @@ public void runTests() throws IOException {
89
90
System .out .println ("Took: " + (System .currentTimeMillis () - t ) + " Size: " + results .size ());
90
91
System .out .println ("----Results-----" );
91
92
for (Result result : results .all ()) {
92
- System .out .println ("Got: Key[" + result .getKey () + "] Value class [" +result .getValue ().getClass ()+"] Value [" + result .getValue () + "]" );
93
+ System .out .println ("Got: Key[" + result .getKey () + "] Value class [" + result .getValue ().getClass () + "] Value ["
94
+ + result .getValue () + "]" );
93
95
}
94
96
95
97
read ();
You can’t perform that action at this time.
0 commit comments