Module org.elasticsearch.xcore
Class TransformTaskParams
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.TransformTaskParams
- All Implemented Interfaces:
Diffable<TransformTaskParams>,SimpleDiffable<TransformTaskParams>,NamedWriteable,VersionedNamedWriteable,Writeable,PersistentTaskParams,ToXContent,ToXContentObject
public class TransformTaskParams
extends Object
implements SimpleDiffable<TransformTaskParams>, PersistentTaskParams
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.SimpleDiffable
SimpleDiffable.CompleteDiff<T extends Diffable<T>>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
FieldsModifier and TypeFieldDescriptionstatic final ParseFieldstatic final ParseFieldstatic final Stringstatic final ConstructingObjectParser<TransformTaskParams, Void> static final ParseFieldFields inherited from interface org.elasticsearch.cluster.SimpleDiffable
EMPTYFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionTransformTaskParams(String transformId, TransformConfigVersion version, Instant from, TimeValue frequency, boolean remote) TransformTaskParams(String transformId, TransformConfigVersion version, TimeValue frequency, boolean remote) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfrom()static TransformTaskParamsfromXContent(XContentParser parser) getId()inthashCode()booleantoXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.SimpleDiffable
diffMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragmentMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
supportsVersion
-
Field Details
-
NAME
- See Also:
-
FROM
-
FREQUENCY
-
REQUIRES_REMOTE
-
PARSER
-
-
Constructor Details
-
TransformTaskParams
public TransformTaskParams(String transformId, TransformConfigVersion version, TimeValue frequency, boolean remote) -
TransformTaskParams
public TransformTaskParams(String transformId, TransformConfigVersion version, Instant from, TimeValue frequency, boolean remote) -
TransformTaskParams
- Throws:
IOException
-
-
Method Details
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
getId
-
getVersion
-
from
-
getFrequency
-
requiresRemote
public boolean requiresRemote() -
fromXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-