Interface IndexedDataObject

All Known Implementing Classes:
ObjectNodeIndexedDataObject

public interface IndexedDataObject
  • Method Summary

    Modifier and Type Method Description
    com.fasterxml.jackson.databind.node.ObjectNode getData()
    The json data, represented as ObjectNode that will be indexed in the index.
    java.lang.Long getExternalVersion()
    External version of the data
    java.lang.String getId()
    The id of this data object to be indexed.
    java.lang.String getIndex()
    The index where the data will be indexed.
    com.fasterxml.jackson.databind.node.ObjectNode getScript()
    Update script
    boolean hasExternalVersion()
    Check if object has external version
  • Method Details

    • getIndex

      java.lang.String getIndex()
      The index where the data will be indexed.
    • getId

      java.lang.String getId()
      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.
      Returns:
      the id of this indexed data object, which must be unique within at least the index it is used
    • getData

      com.fasterxml.jackson.databind.node.ObjectNode getData()
      The json data, represented as ObjectNode that will be indexed in the index.
    • hasExternalVersion

      boolean hasExternalVersion()
      Check if object has external version
    • getExternalVersion

      java.lang.Long getExternalVersion()
      External version of the data
    • getScript

      com.fasterxml.jackson.databind.node.ObjectNode getScript()
      Update script