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

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

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

import redis.clients.jedis.util.SafeEncoder;

/**
 * Bit operations for {@code BITOP} command.
 */
public enum BitOP implements Rawable {

  AND, OR, XOR, NOT;

  private final byte[] raw;

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy