Class RawableFactory

java.lang.Object
redis.clients.jedis.args.RawableFactory

public final class RawableFactory extends Object
Factory class to get Rawable objects.
  • Constructor Details

    • RawableFactory

      private RawableFactory()
  • Method Details

    • from

      public static Rawable from(int i)
      Get a Rawable from an int.
      Parameters:
      i - integer value
      Returns:
      raw
    • from

      public static Rawable from(double d)
      Get a Rawable from a double.
      Parameters:
      d - numeric value
      Returns:
      raw
    • from

      public static Rawable from(byte[] binary)
      Get a Rawable from a byte array.
      Parameters:
      binary - value
      Returns:
      raw
    • from

      public static Rawable from(String string)
      Get a Rawable from a String.
      Parameters:
      string - value
      Returns:
      raw