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

io.rebloom.client.Keywords Maven / Gradle / Ivy

package io.rebloom.client;

import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;

import java.util.Locale;

public enum Keywords implements ProtocolCommand {
    CAPACITY,
    ERROR,
    NOCREATE,
    ITEMS;

    private final byte[] raw;

    Keywords() {
        raw = SafeEncoder.encode(this.name().toLowerCase(Locale.ENGLISH));
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy