NebulaGraph Java Client
release-3.8
|
Classes | |
class | NullType |
Public Member Functions | |
ValueWrapper (Value value, String decodeType) | |
ValueWrapper (Value value, String decodeType, int timezoneOffset) | |
Value | getValue () |
get the original data structure, the Value is the return from nebula-graph More... | |
boolean | isEmpty () |
judge the Value is Empty type, the Empty type is the nebula's type More... | |
boolean | isNull () |
judge the Value is Null type,the Null type is the nebula's type More... | |
boolean | isBoolean () |
judge the Value is Boolean type More... | |
boolean | isLong () |
judge the Value is Long type More... | |
boolean | isDouble () |
judge the Value is Double type More... | |
boolean | isString () |
judge the Value is String type More... | |
boolean | isList () |
judge the Value is List type, the List type is the nebula's type More... | |
boolean | isSet () |
judge the Value is Set type, the Set type is the nebula's type More... | |
boolean | isMap () |
judge the Value is Map type, the Map type is the nebula's type More... | |
boolean | isTime () |
judge the Value is Time type, the Time type is the nebula's type More... | |
boolean | isDate () |
judge the Value is Date type, the Date type is the nebula's type More... | |
boolean | isDateTime () |
judge the Value is DateTime type, the DateTime type is the nebula's type More... | |
boolean | isVertex () |
judge the Value is Vertex type, the Vertex type is the nebula's type More... | |
boolean | isEdge () |
judge the Value is Edge type, the Edge type is the nebula's type More... | |
boolean | isPath () |
judge the Value is Path type, the Path type is the nebula's type More... | |
boolean | isGeography () |
judge the Value is Geography type, the Geography type is the nebula's type More... | |
boolean | isDuration () |
judge the Value is Duration type, the Duration type is the nebula's type More... | |
NullType | asNull () throws InvalidValueException |
Convert the original data type Value to NullType. More... | |
boolean | asBoolean () throws InvalidValueException |
Convert the original data type Value to boolean. More... | |
long | asLong () throws InvalidValueException |
Convert the original data type Value to long. More... | |
String | asString () throws InvalidValueException, UnsupportedEncodingException |
Convert the original data type Value to String. More... | |
double | asDouble () throws InvalidValueException |
Convert the original data type Value to double. More... | |
ArrayList< ValueWrapper > | asList () throws InvalidValueException |
Convert the original data type Value to ArrayList. More... | |
HashSet< ValueWrapper > | asSet () throws InvalidValueException |
Convert the original data type Value to HashSet. More... | |
HashMap< String, ValueWrapper > | asMap () throws InvalidValueException, UnsupportedEncodingException |
Convert the original data type Value to HashMap. More... | |
TimeWrapper | asTime () throws InvalidValueException |
Convert the original data type Value to TimeWrapper. More... | |
DateWrapper | asDate () throws InvalidValueException |
Convert the original data type Value to DateWrapper. More... | |
DateTimeWrapper | asDateTime () throws InvalidValueException |
Convert the original data type Value to DateTimeWrapper. More... | |
Node | asNode () throws InvalidValueException, UnsupportedEncodingException |
Convert the original data type Value to Node. More... | |
Relationship | asRelationship () throws InvalidValueException |
Convert the original data type Value to Relationship. More... | |
PathWrapper | asPath () throws InvalidValueException, UnsupportedEncodingException |
Convert the original data type Value to Path. More... | |
GeographyWrapper | asGeography () throws InvalidValueException |
Convert the original data type Value to geography. More... | |
DurationWrapper | asDuration () throws InvalidValueException |
Convert the original data type Value to duration. More... | |
boolean | equals (Object o) |
int | hashCode () |
String | toString () |
Convert Value to String format. More... | |
Definition at line 17 of file ValueWrapper.java.
ValueWrapper | ( | Value | value, |
String | decodeType | ||
) |
value | the Value get from service |
decodeType | the decodeType get from the service to decode the byte array, but now the service no return the decodeType, so use the utf-8 |
Definition at line 112 of file ValueWrapper.java.
ValueWrapper | ( | Value | value, |
String | decodeType, | ||
int | timezoneOffset | ||
) |
value | the Value get from service |
decodeType | the decodeType get from the service to decode the byte array, but now the service no return the decodeType, so use the utf-8 |
timezoneOffset | the timezone offset get from the service to calculate local time |
Definition at line 124 of file ValueWrapper.java.
boolean asBoolean | ( | ) | throws InvalidValueException |
Convert the original data type Value to boolean.
InvalidValueException | if the value type is not boolean |
Definition at line 313 of file ValueWrapper.java.
DateWrapper asDate | ( | ) | throws InvalidValueException |
Convert the original data type Value to DateWrapper.
InvalidValueException | if the value type is not date |
Definition at line 444 of file ValueWrapper.java.
DateTimeWrapper asDateTime | ( | ) | throws InvalidValueException |
Convert the original data type Value to DateTimeWrapper.
InvalidValueException | if the value type is not datetime |
Definition at line 458 of file ValueWrapper.java.
double asDouble | ( | ) | throws InvalidValueException |
Convert the original data type Value to double.
InvalidValueException | if the value type is not double |
Definition at line 357 of file ValueWrapper.java.
DurationWrapper asDuration | ( | ) | throws InvalidValueException |
Convert the original data type Value to duration.
InvalidValueException | if the value type is not duration |
Definition at line 540 of file ValueWrapper.java.
GeographyWrapper asGeography | ( | ) | throws InvalidValueException |
Convert the original data type Value to geography.
InvalidValueException | if the value type is not geography |
Definition at line 524 of file ValueWrapper.java.
ArrayList<ValueWrapper> asList | ( | ) | throws InvalidValueException |
Convert the original data type Value to ArrayList.
InvalidValueException | if the value type is not list |
Definition at line 371 of file ValueWrapper.java.
long asLong | ( | ) | throws InvalidValueException |
Convert the original data type Value to long.
InvalidValueException | if the value type is not long |
Definition at line 327 of file ValueWrapper.java.
HashMap<String, ValueWrapper> asMap | ( | ) | throws InvalidValueException, UnsupportedEncodingException |
Convert the original data type Value to HashMap.
InvalidValueException | if the value type is not map |
Definition at line 407 of file ValueWrapper.java.
Node asNode | ( | ) | throws InvalidValueException, UnsupportedEncodingException |
Convert the original data type Value to Node.
InvalidValueException | if the value type is not vertex |
UnsupportedEncodingException | if decode binary failed |
Definition at line 475 of file ValueWrapper.java.
NullType asNull | ( | ) | throws InvalidValueException |
Convert the original data type Value to NullType.
InvalidValueException | if the value type is not null |
Definition at line 298 of file ValueWrapper.java.
PathWrapper asPath | ( | ) | throws InvalidValueException, UnsupportedEncodingException |
Convert the original data type Value to Path.
InvalidValueException | if the value type is not path |
UnsupportedEncodingException | if decode bianry failed |
Definition at line 508 of file ValueWrapper.java.
Relationship asRelationship | ( | ) | throws InvalidValueException |
Convert the original data type Value to Relationship.
InvalidValueException | if the value type is not edge |
Definition at line 491 of file ValueWrapper.java.
HashSet<ValueWrapper> asSet | ( | ) | throws InvalidValueException |
Convert the original data type Value to HashSet.
InvalidValueException | if the value type is not set |
Definition at line 389 of file ValueWrapper.java.
String asString | ( | ) | throws InvalidValueException, UnsupportedEncodingException |
Convert the original data type Value to String.
InvalidValueException | if the value type is not string |
UnsupportedEncodingException | if decode bianry failed |
Definition at line 343 of file ValueWrapper.java.
TimeWrapper asTime | ( | ) | throws InvalidValueException |
Convert the original data type Value to TimeWrapper.
InvalidValueException | if the value type is not time |
Definition at line 428 of file ValueWrapper.java.
Value getValue | ( | ) |
get the original data structure, the Value is the return from nebula-graph
Definition at line 135 of file ValueWrapper.java.
boolean isBoolean | ( | ) |
judge the Value is Boolean type
Definition at line 162 of file ValueWrapper.java.
boolean isDate | ( | ) |
judge the Value is Date type, the Date type is the nebula's type
Definition at line 234 of file ValueWrapper.java.
boolean isDateTime | ( | ) |
judge the Value is DateTime type, the DateTime type is the nebula's type
Definition at line 243 of file ValueWrapper.java.
boolean isDouble | ( | ) |
judge the Value is Double type
Definition at line 180 of file ValueWrapper.java.
boolean isDuration | ( | ) |
judge the Value is Duration type, the Duration type is the nebula's type
Definition at line 288 of file ValueWrapper.java.
boolean isEdge | ( | ) |
judge the Value is Edge type, the Edge type is the nebula's type
Definition at line 261 of file ValueWrapper.java.
boolean isEmpty | ( | ) |
judge the Value is Empty type, the Empty type is the nebula's type
Definition at line 144 of file ValueWrapper.java.
boolean isGeography | ( | ) |
judge the Value is Geography type, the Geography type is the nebula's type
Definition at line 279 of file ValueWrapper.java.
boolean isList | ( | ) |
judge the Value is List type, the List type is the nebula's type
Definition at line 198 of file ValueWrapper.java.
boolean isLong | ( | ) |
judge the Value is Long type
Definition at line 171 of file ValueWrapper.java.
boolean isMap | ( | ) |
judge the Value is Map type, the Map type is the nebula's type
Definition at line 216 of file ValueWrapper.java.
boolean isNull | ( | ) |
judge the Value is Null type,the Null type is the nebula's type
Definition at line 153 of file ValueWrapper.java.
boolean isPath | ( | ) |
judge the Value is Path type, the Path type is the nebula's type
Definition at line 270 of file ValueWrapper.java.
boolean isSet | ( | ) |
judge the Value is Set type, the Set type is the nebula's type
Definition at line 207 of file ValueWrapper.java.
boolean isString | ( | ) |
judge the Value is String type
Definition at line 189 of file ValueWrapper.java.
boolean isTime | ( | ) |
judge the Value is Time type, the Time type is the nebula's type
Definition at line 225 of file ValueWrapper.java.
boolean isVertex | ( | ) |
judge the Value is Vertex type, the Vertex type is the nebula's type
Definition at line 252 of file ValueWrapper.java.
String toString | ( | ) |
Convert Value to String format.
Definition at line 574 of file ValueWrapper.java.