Class PropertygraphData
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PropertygraphData.Builder,PropertygraphData>
A Gremlin or openCypher change record.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertygraphData.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Stringfrom()If this is an edge (type =e), the ID of the correspondingfromvertex or source node.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The ID of the Gremlin or openCypher element.final Stringkey()The property name.static Class<? extends PropertygraphData.Builder> final Stringto()If this is an edge (type =e), the ID of the correspondingtovertex or target node.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringtype()The type of this Gremlin or openCypher element.final Documentvalue()This is a JSON object that contains a value field for the value itself, and a datatype field for the JSON data type of that value:Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The ID of the Gremlin or openCypher element.
- Returns:
- The ID of the Gremlin or openCypher element.
-
type
The type of this Gremlin or openCypher element. Must be one of:
-
v1- Vertex label for Gremlin, or node label for openCypher. -
vp- Vertex properties for Gremlin, or node properties for openCypher. -
e- Edge and edge label for Gremlin, or relationship and relationship type for openCypher. -
ep- Edge properties for Gremlin, or relationship properties for openCypher.
- Returns:
- The type of this Gremlin or openCypher element. Must be one of:
-
v1- Vertex label for Gremlin, or node label for openCypher. -
vp- Vertex properties for Gremlin, or node properties for openCypher. -
e- Edge and edge label for Gremlin, or relationship and relationship type for openCypher. -
ep- Edge properties for Gremlin, or relationship properties for openCypher.
-
-
-
key
The property name. For element labels, this is
label.- Returns:
- The property name. For element labels, this is
label.
-
value
This is a JSON object that contains a value field for the value itself, and a datatype field for the JSON data type of that value:
- Returns:
- This is a JSON object that contains a value field for the value itself, and a datatype field for the JSON data type of that value:
-
from
If this is an edge (type =
e), the ID of the correspondingfromvertex or source node.- Returns:
- If this is an edge (type =
e), the ID of the correspondingfromvertex or source node.
-
to
If this is an edge (type =
e), the ID of the correspondingtovertex or target node.- Returns:
- If this is an edge (type =
e), the ID of the correspondingtovertex or target node.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PropertygraphData.Builder,PropertygraphData> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-