Module org.elasticsearch.xcore
Class TimeSyncConfig
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.TimeSyncConfig
- All Implemented Interfaces:
NamedWriteable,Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject,SyncConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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(org.elasticsearch.xcontent.XContentParser parser, boolean lenient) org.elasticsearch.core.TimeValuegetDelay()getField()getRangeQuery(TransformCheckpoint newCheckpoint) getRangeQuery(TransformCheckpoint oldCheckpoint, TransformCheckpoint newCheckpoint) inthashCode()static TimeSyncConfigparse(org.elasticsearch.xcontent.XContentParser parser) toString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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
public static final org.elasticsearch.core.TimeValue DEFAULT_DELAY
-
-
Constructor Details
-
TimeSyncConfig
public TimeSyncConfig() -
TimeSyncConfig
-
TimeSyncConfig
- Throws:
IOException
-
-
Method Details
-
getField
- Specified by:
getFieldin interfaceSyncConfig
-
getDelay
public org.elasticsearch.core.TimeValue getDelay() -
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
parse
-
fromXContent
public static TimeSyncConfig fromXContent(org.elasticsearch.xcontent.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
-