Class PropertygraphData
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<PropertygraphData.Builder,- PropertygraphData> 
A Gremlin or openCypher change record.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier 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.ToCopyableBuildercopy
- 
Method Details- 
idThe ID of the Gremlin or openCypher element. - Returns:
- The ID of the Gremlin or openCypher element.
 
- 
typeThe 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.
 
- 
         
 
- 
 
- 
keyThe property name. For element labels, this is label.- Returns:
- The property name. For element labels, this is label.
 
- 
valueThis 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:
 
- 
fromIf 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.
 
- 
toIf 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.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<PropertygraphData.Builder,- PropertygraphData> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription 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 interface- SdkPojo
- 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
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-