All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.args.BitCountOption Maven / Gradle / Ivy

The newest version!
package redis.clients.jedis.args;

import redis.clients.jedis.util.SafeEncoder;

/**
 * The options for {@code BITCOUNT} command.
 */
public enum BitCountOption implements Rawable {

  BYTE, BIT;

  private final byte[] raw;

  private BitCountOption() {
    raw = SafeEncoder.encode(name());
  }

  @Override
  public byte[] getRaw() {
    return raw;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy