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 CypherTextEMPTY_STRING
-
Constructor Summary
Constructors Constructor Description CypherValues()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CypherBooleanbooleanValue(boolean value)static CypherBytebyteValue(byte value)static CypherCharcharValue(char value)static CypherDoubledoubleValue(double value)static CypherFloatfloatValue(float value)static CypherIntintValue(int value)static CypherLonglongValue(long value)static CypherNumbernumberValue(Number number)static CypherShortshortValue(short value)static CypherTextArraystringArray(String... value)static CypherTextstringValue(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)
-
-