Class: Aws::Neptunedata::Types::PropertygraphData

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-neptunedata/types.rb

Overview

A Gremlin or openCypher change record.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fromString

If this is an edge (type = ‘e`), the ID of the corresponding `from` vertex or source node.

Returns:

  • (String)


2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
# File 'lib/aws-sdk-neptunedata/types.rb', line 2523

class PropertygraphData < Struct.new(
  :id,
  :type,
  :key,
  :value,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the Gremlin or openCypher element.

Returns:

  • (String)


2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
# File 'lib/aws-sdk-neptunedata/types.rb', line 2523

class PropertygraphData < Struct.new(
  :id,
  :type,
  :key,
  :value,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#keyString

The property name. For element labels, this is ‘label`.

Returns:

  • (String)


2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
# File 'lib/aws-sdk-neptunedata/types.rb', line 2523

class PropertygraphData < Struct.new(
  :id,
  :type,
  :key,
  :value,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#toString

If this is an edge (type = ‘e`), the ID of the corresponding `to` vertex or target node.

Returns:

  • (String)


2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
# File 'lib/aws-sdk-neptunedata/types.rb', line 2523

class PropertygraphData < Struct.new(
  :id,
  :type,
  :key,
  :value,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

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:

  • (String)


2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
# File 'lib/aws-sdk-neptunedata/types.rb', line 2523

class PropertygraphData < Struct.new(
  :id,
  :type,
  :key,
  :value,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#valueHash, ...

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:

  • (Hash, Array, String, Numeric, Boolean)


2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
# File 'lib/aws-sdk-neptunedata/types.rb', line 2523

class PropertygraphData < Struct.new(
  :id,
  :type,
  :key,
  :value,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end