@@ -5218,25 +5218,6 @@ public T zscan(@NonNull String key, @NonNull String cursor, @NonNull ZScanOption
5218
5218
* always an <code>Array</code> of the subset of the hash held in <code>key</code>. The array
5219
5219
* in the second element is always a flattened series of String pairs, where the key is at
5220
5220
* even indices and the value is at odd indices.
5221
- * @example
5222
- * <pre>{@code
5223
- * // Assume key contains a set with 200 member-score pairs
5224
- * String cursor = "0";
5225
- * Object[] result;
5226
- * do {
5227
- * result = client.hscan(key1, cursor).get();
5228
- * cursor = result[0].toString();
5229
- * Object[] stringResults = (Object[]) result[1];
5230
- *
5231
- * System.out.println("\nHSCAN iteration:");
5232
- * for (int i = 0; i < stringResults.length; i += 2) {
5233
- * System.out.printf("{%s=%s}", stringResults[i], stringResults[i + 1]);
5234
- * if (i + 2 < stringResults.length) {
5235
- * System.out.print(", ");
5236
- * }
5237
- * }
5238
- * } while (!cursor.equals("0"));
5239
- * }</pre>
5240
5221
*/
5241
5222
public T hscan (@ NonNull String key , @ NonNull String cursor ) {
5242
5223
protobufTransaction .addCommands (buildCommand (HScan , buildArgs (key , cursor )));
@@ -5256,25 +5237,6 @@ public T hscan(@NonNull String key, @NonNull String cursor) {
5256
5237
* always an <code>Array</code> of the subset of the hash held in <code>key</code>. The array
5257
5238
* in the second element is always a flattened series of String pairs, where the key is at
5258
5239
* even indices and the value is at odd indices.
5259
- * @example
5260
- * <pre>{@code
5261
- * // Assume key contains a set with 200 member-score pairs
5262
- * String cursor = "0";
5263
- * Object[] result;
5264
- * do {
5265
- * result = client.hscan(key1, cursor, HScanOptions.builder().matchPattern("*").count(20L).build()).get();
5266
- * cursor = result[0].toString();
5267
- * Object[] stringResults = (Object[]) result[1];
5268
- *
5269
- * System.out.println("\nHSCAN iteration:");
5270
- * for (int i = 0; i < stringResults.length; i += 2) {
5271
- * System.out.printf("{%s=%s}", stringResults[i], stringResults[i + 1]);
5272
- * if (i + 2 < stringResults.length) {
5273
- * System.out.print(", ");
5274
- * }
5275
- * }
5276
- * } while (!cursor.equals("0"));
5277
- * }</pre>
5278
5240
*/
5279
5241
public T hscan (@ NonNull String key , @ NonNull String cursor , @ NonNull HScanOptions hScanOptions ) {
5280
5242
final ArgsArray commandArgs =
0 commit comments