Class ExecuteWatchResponse


  • public class ExecuteWatchResponse
    extends Object
    • Field Detail

      • ID_FIELD

        public static final ParseField ID_FIELD
      • WATCH_FIELD

        public static final ParseField WATCH_FIELD
    • Constructor Detail

      • ExecuteWatchResponse

        public ExecuteWatchResponse()
      • ExecuteWatchResponse

        public ExecuteWatchResponse​(String recordId,
                                    BytesReference contentSource)
    • Method Detail

      • getRecordId

        public String getRecordId()
        Returns:
        The id of the watch record holding the watch execution result.
      • getRecord

        public BytesReference getRecord()
        Returns:
        The watch record source
      • getRecordAsMap

        public Map<String,​Object> getRecordAsMap()
        Returns the watch record as a map Use org.elasticsearch.common.xcontent.ObjectPath to navigate through the data