@Generated(value="software.amazon.awssdk:codegen") public final class PropertygraphData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PropertygraphData.Builder,PropertygraphData>
A Gremlin or openCypher change record.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PropertygraphData.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PropertygraphData.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
from()
If this is an edge (type =
e), the ID of the corresponding from vertex or source node. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the Gremlin or openCypher element.
|
String |
key()
The property name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PropertygraphData.Builder> |
serializableBuilderClass() |
String |
to()
If this is an edge (type =
e), the ID of the corresponding to vertex or target node. |
PropertygraphData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of this Gremlin or openCypher element.
|
Document |
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:
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the Gremlin or openCypher element.
public final String 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.
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.
public final String key()
The property name. For element labels, this is label.
label.public final Document 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:
public final String from()
If this is an edge (type = e), the ID of the corresponding from vertex or source node.
e), the ID of the corresponding from vertex or
source node.public final String to()
If this is an edge (type = e), the ID of the corresponding to vertex or target node.
e), the ID of the corresponding to vertex or target
node.public PropertygraphData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PropertygraphData.Builder,PropertygraphData>public static PropertygraphData.Builder builder()
public static Class<? extends PropertygraphData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.