Module org.elasticsearch.xcore
Class TimeSyncConfig
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.TimeSyncConfig
- All Implemented Interfaces:
NamedWriteable,Writeable,ToXContent,ToXContentObject,SyncConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TimeSyncConfigfromXContent(XContentParser parser, boolean lenient) getDelay()getField()getRangeQuery(TransformCheckpoint newCheckpoint) getRangeQuery(TransformCheckpoint oldCheckpoint, TransformCheckpoint newCheckpoint) inthashCode()static TimeSyncConfigparse(XContentParser parser) toString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
DEFAULT_DELAY
-
-
Constructor Details
-
TimeSyncConfig
public TimeSyncConfig() -
TimeSyncConfig
-
TimeSyncConfig
- Throws:
IOException
-
-
Method Details
-
getField
- Specified by:
getFieldin interfaceSyncConfig
-
getDelay
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
parse
-
fromXContent
public static TimeSyncConfig fromXContent(XContentParser parser, boolean lenient) throws IOException - Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
getRangeQuery
- Specified by:
getRangeQueryin interfaceSyncConfig
-
getRangeQuery
public QueryBuilder getRangeQuery(TransformCheckpoint oldCheckpoint, TransformCheckpoint newCheckpoint) - Specified by:
getRangeQueryin interfaceSyncConfig
-