Package com.graphdbapi.values.storable
Class CypherValues
- java.lang.Object
-
- com.graphdbapi.values.storable.CypherValues
-
public final class CypherValues extends Object
工具类。将基础数据类型转成Driver传输对象。
-
-
Field Summary
Fields Modifier and Type Field Description static CypherText
EMPTY_STRING
-
Constructor Summary
Constructors Constructor Description CypherValues()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CypherBoolean
booleanValue(boolean value)
static CypherByte
byteValue(byte value)
static CypherChar
charValue(char value)
static CypherDouble
doubleValue(double value)
static CypherFloat
floatValue(float value)
static CypherInt
intValue(int value)
static CypherLong
longValue(long value)
static CypherNumber
numberValue(Number number)
static CypherShort
shortValue(short value)
static CypherTextArray
stringArray(String... value)
static CypherText
stringValue(String value)
-
-
-
Field Detail
-
EMPTY_STRING
public static final CypherText EMPTY_STRING
-
-
Method Detail
-
intValue
public static CypherInt intValue(int value)
-
longValue
public static CypherLong longValue(long value)
-
byteValue
public static CypherByte byteValue(byte value)
-
shortValue
public static CypherShort shortValue(short value)
-
booleanValue
public static CypherBoolean booleanValue(boolean value)
-
charValue
public static CypherChar charValue(char value)
-
doubleValue
public static CypherDouble doubleValue(double value)
-
floatValue
public static CypherFloat floatValue(float value)
-
numberValue
public static CypherNumber numberValue(Number number)
-
stringValue
public static CypherText stringValue(String value)
-
stringArray
public static CypherTextArray stringArray(String... value)
-
-