public class RediSearchUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
escape(String text) |
static String |
escape(String text,
boolean querying) |
static String |
escapeQuery(String query) |
static byte[] |
toByteArray(float[] input)
x86 systems are little-endian and Java defaults to big-endian.
|
static byte[] |
ToByteArray(float[] input)
Deprecated.
Use
toByteArray(float[]). |
static Map<String,String> |
toStringMap(Map<String,Object> input)
Jedis'
hset methods do not support Objects as values. |
static Map<String,String> |
toStringMap(Map<String,Object> input,
boolean stringEscape)
Jedis'
hset methods do not support Objects as values. |
static String |
unescape(String text) |
public static Map<String,String> toStringMap(Map<String,Object> input)
hset methods do not support Objects as values. This method eases process
of converting a Map with Objects as values so that the returning Map can be set to a
hset method.input - map with object valuepublic static Map<String,String> toStringMap(Map<String,Object> input, boolean stringEscape)
hset methods do not support Objects as values. This method eases process
of converting a Map with Objects as values so that the returning Map can be set to a
hset method.input - map with object valuestringEscape - whether to escape the String objectspublic static byte[] toByteArray(float[] input)
input - float array@Deprecated public static byte[] ToByteArray(float[] input)
toByteArray(float[]).Copyright © 2024. All rights reserved.