
io.rebloom.client.Command Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jrebloom Show documentation
Show all versions of jrebloom Show documentation
Official client for ReBloom
package io.rebloom.client;
import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;
public enum Command implements ProtocolCommand {
RESERVE("BF.RESERVE"),
ADD("BF.ADD"),
MADD("BF.MADD"),
EXISTS("BF.EXISTS"),
MEXISTS("BF.MEXISTS");
private final byte[] raw;
Command(String alt) {
raw = SafeEncoder.encode(alt);
}
public byte[] getRaw() {
return raw;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy