类 ExecuteWatchResponse
java.lang.Object
org.easysearch.client.watcher.ExecuteWatchResponse
public class ExecuteWatchResponse
extends java.lang.Object
-
字段概要
字段 修饰符和类型 字段 说明 static org.easysearch.common.ParseFieldID_FIELDstatic org.easysearch.common.ParseFieldWATCH_FIELD -
构造器概要
构造器 构造器 说明 ExecuteWatchResponse()ExecuteWatchResponse(java.lang.String recordId, org.easysearch.common.bytes.BytesReference contentSource) -
方法概要
修饰符和类型 方法 说明 static ExecuteWatchResponsefromXContent(org.easysearch.common.xcontent.XContentParser parser)org.easysearch.common.bytes.BytesReferencegetRecord()java.util.Map<java.lang.String,java.lang.Object>getRecordAsMap()Returns the watch record as a map UseObjectPathto navigate through the datajava.lang.StringgetRecordId()从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
字段详细资料
-
ID_FIELD
public static final org.easysearch.common.ParseField ID_FIELD -
WATCH_FIELD
public static final org.easysearch.common.ParseField WATCH_FIELD
-
-
构造器详细资料
-
ExecuteWatchResponse
public ExecuteWatchResponse() -
ExecuteWatchResponse
public ExecuteWatchResponse(java.lang.String recordId, org.easysearch.common.bytes.BytesReference contentSource)
-
-
方法详细资料
-
getRecordId
public java.lang.String getRecordId()- 返回:
- The id of the watch record holding the watch execution result.
-
getRecord
public org.easysearch.common.bytes.BytesReference getRecord()- 返回:
- The watch record source
-
getRecordAsMap
public java.util.Map<java.lang.String,java.lang.Object> getRecordAsMap()Returns the watch record as a map UseObjectPathto navigate through the data -
fromXContent
public static ExecuteWatchResponse fromXContent(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException- 抛出:
java.io.IOException
-