Amazon Neptune · Schema

SparqlStreamRecord

DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQL

Properties

Name Type Description
commitTimestamp integer Unix epoch timestamp in milliseconds of the transaction commit.
eventId object
data object
op string The operation type (ADD or REMOVE).
isLastOp boolean True only if this is the last operation in the transaction.
View JSON Schema on GitHub

JSON Schema

amazon-neptune-sparqlstreamrecord-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SparqlStreamRecord",
  "title": "SparqlStreamRecord",
  "type": "object",
  "properties": {
    "commitTimestamp": {
      "type": "integer",
      "description": "Unix epoch timestamp in milliseconds of the transaction commit."
    },
    "eventId": {
      "$ref": "#/components/schemas/StreamEventId"
    },
    "data": {
      "type": "object",
      "properties": {
        "stmt": {
          "type": "string",
          "description": "The N-Quads statement representing the RDF triple or quad change."
        }
      }
    },
    "op": {
      "type": "string",
      "enum": [
        "ADD",
        "REMOVE"
      ],
      "description": "The operation type (ADD or REMOVE)."
    },
    "isLastOp": {
      "type": "boolean",
      "description": "True only if this is the last operation in the transaction."
    }
  }
}