Class ObjectNodeIndexedDataObject

    • Field Detail

      • index

        protected String index
      • objectNode

        protected com.fasterxml.jackson.databind.node.ObjectNode objectNode
      • externalVersion

        protected Long externalVersion
      • scriptNode

        protected com.fasterxml.jackson.databind.node.ObjectNode scriptNode
    • Constructor Detail

      • ObjectNodeIndexedDataObject

        public ObjectNodeIndexedDataObject​(String index,
                                           String id,
                                           com.fasterxml.jackson.databind.node.ObjectNode objectNode,
                                           Long externalVersion)
      • ObjectNodeIndexedDataObject

        public ObjectNodeIndexedDataObject​(String index,
                                           String id,
                                           com.fasterxml.jackson.databind.node.ObjectNode objectNode,
                                           Long externalVersion,
                                           com.fasterxml.jackson.databind.node.ObjectNode scriptNode)
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: IndexedDataObject
        The id of this data object to be indexed. This id is used for indexing and retrieval by id, so make sure it is unique at least within the index it is used.
        Specified by:
        getId in interface IndexedDataObject
        Returns:
        the id of this indexed data object, which must be unique within at least the index it is used
      • getData

        public com.fasterxml.jackson.databind.node.ObjectNode getData()
        Description copied from interface: IndexedDataObject
        The json data, represented as ObjectNode that will be indexed in the index.
        Specified by:
        getData in interface IndexedDataObject