Skip to content

Commit

Permalink
Rename ScanOptions to BaseScanOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jduo committed Jun 29, 2024
1 parent 6fc4ec7 commit 56892e7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* and ZSCAN).
*/
@SuperBuilder
public abstract class ScanOptions {
public abstract class BaseScanOptions {
/** <code>MATCH</code> option string to include in the <code>SCAN</code> commands. */
public static final String MATCH_OPTION_STRING = "MATCH";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
* @see <a href="https://valkey.io/commands/hscan/">valkey.io</a>
*/
@SuperBuilder
public class HScanOptions extends ScanOptions {}
public class HScanOptions extends BaseScanOptions {}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
* @see <a href="https://valkey.io/commands/sscan/">valkey.io</a>
*/
@SuperBuilder
public class SScanOptions extends ScanOptions {}
public class SScanOptions extends BaseScanOptions {}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
* @see <a href="https://valkey.io/commands/zscan/">valkey.io</a>
*/
@SuperBuilder
public class ZScanOptions extends ScanOptions {}
public class ZScanOptions extends BaseScanOptions {}
4 changes: 2 additions & 2 deletions java/client/src/test/java/glide/api/RedisClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
import static glide.api.models.commands.geospatial.GeoAddOptions.CHANGED_REDIS_API;
import static glide.api.models.commands.geospatial.GeoSearchOrigin.FROMLONLAT_VALKEY_API;
import static glide.api.models.commands.geospatial.GeoSearchOrigin.FROMMEMBER_VALKEY_API;
import static glide.api.models.commands.scan.ScanOptions.COUNT_OPTION_STRING;
import static glide.api.models.commands.scan.ScanOptions.MATCH_OPTION_STRING;
import static glide.api.models.commands.scan.BaseScanOptions.COUNT_OPTION_STRING;
import static glide.api.models.commands.scan.BaseScanOptions.MATCH_OPTION_STRING;
import static glide.api.models.commands.stream.StreamAddOptions.NO_MAKE_STREAM_REDIS_API;
import static glide.api.models.commands.stream.StreamGroupOptions.ENTRIES_READ_REDIS_API;
import static glide.api.models.commands.stream.StreamGroupOptions.MAKE_STREAM_REDIS_API;
Expand Down

0 comments on commit 56892e7

Please sign in to comment.