Skip to content

Commit

Permalink
Separate package for RedisBloom commands (#3112)
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 authored Sep 20, 2022
1 parent aa9397a commit b668413
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
import redis.clients.jedis.bloom.BFInsertParams;
import redis.clients.jedis.bloom.BFReserveParams;

public interface BloomFilterCommands {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
import redis.clients.jedis.Response;
import redis.clients.jedis.bloom.BFInsertParams;
import redis.clients.jedis.bloom.BFReserveParams;

public interface BloomFilterPipelineCommands {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
import redis.clients.jedis.bloom.CFInsertParams;
import redis.clients.jedis.bloom.CFReserveParams;

/**
* Interface for RedisBloom Cuckoo Filter Commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
import redis.clients.jedis.Response;
import redis.clients.jedis.bloom.CFInsertParams;
import redis.clients.jedis.bloom.CFReserveParams;

public interface CuckooFilterPipelineCommands {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

public interface RedisBloomCommands extends BloomFilterCommands, CuckooFilterCommands,
CountMinSketchCommands, TopKFilterCommands, TDigestSketchCommands {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

public interface RedisBloomPipelineCommands extends BloomFilterPipelineCommands,
CuckooFilterPipelineCommands, CountMinSketchPipelineCommands, TopKFilterPipelineCommands,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
import redis.clients.jedis.bloom.TDigestMergeParams;

public interface TDigestSketchCommands {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
import redis.clients.jedis.Response;
import redis.clients.jedis.bloom.TDigestMergeParams;

public interface TDigestSketchPipelineCommands {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package redis.clients.jedis.bloom;
package redis.clients.jedis.bloom.commands;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* This package contains the interfaces that contain methods representing RedisBloom commands.
*/
package redis.clients.jedis.bloom.commands;
2 changes: 1 addition & 1 deletion src/main/java/redis/clients/jedis/bloom/package-info.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* This package contains the classes and interfaces related to RedisBloom module.
* This package contains the classes related to RedisBloom module.
*/
package redis.clients.jedis.bloom;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package redis.clients.jedis.commands;

import redis.clients.jedis.bloom.RedisBloomCommands;
import redis.clients.jedis.bloom.commands.RedisBloomCommands;
import redis.clients.jedis.graph.RedisGraphCommands;
import redis.clients.jedis.json.RedisJsonCommands;
import redis.clients.jedis.search.RediSearchCommands;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package redis.clients.jedis.commands;

import redis.clients.jedis.bloom.RedisBloomPipelineCommands;
import redis.clients.jedis.bloom.commands.RedisBloomPipelineCommands;
import redis.clients.jedis.graph.RedisGraphPipelineCommands;
import redis.clients.jedis.json.RedisJsonPipelineCommands;
import redis.clients.jedis.search.RediSearchPipelineCommands;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import java.util.Random;
import org.junit.BeforeClass;
import org.junit.Test;
import redis.clients.jedis.bloom.TDigestMergeParams;

import redis.clients.jedis.bloom.TDigestMergeParams;
import redis.clients.jedis.modules.RedisModuleCommandsTestBase;
import redis.clients.jedis.util.KeyValue;

Expand Down

0 comments on commit b668413

Please sign in to comment.