类 PutWatchResponse
java.lang.Object
org.easysearch.client.watcher.PutWatchResponse
public class PutWatchResponse
extends java.lang.Object
-
构造器概要
构造器 构造器 说明 PutWatchResponse()PutWatchResponse(java.lang.String id, long version, long seqNo, long primaryTerm, boolean created) -
方法概要
修饰符和类型 方法 说明 booleanequals(java.lang.Object o)static PutWatchResponsefromXContent(org.easysearch.common.xcontent.XContentParser parser)java.lang.StringgetId()longgetPrimaryTerm()longgetSeqNo()longgetVersion()inthashCode()booleanisCreated()从类继承的方法 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
PutWatchResponse
public PutWatchResponse() -
PutWatchResponse
public PutWatchResponse(java.lang.String id, long version, long seqNo, long primaryTerm, boolean created)
-
-
方法详细资料
-
getId
public java.lang.String getId() -
getVersion
public long getVersion() -
getSeqNo
public long getSeqNo() -
getPrimaryTerm
public long getPrimaryTerm() -
isCreated
public boolean isCreated() -
equals
public boolean equals(java.lang.Object o)- 覆盖:
equals在类中java.lang.Object
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中java.lang.Object
-
fromXContent
public static PutWatchResponse fromXContent(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException- 抛出:
java.io.IOException
-