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,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.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
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
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final Stringstatic final org.elasticsearch.xcontent.ConstructingObjectParser<TransformTaskParams, Void> static final org.elasticsearch.xcontent.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, org.elasticsearch.core.TimeValue frequency, boolean remote) TransformTaskParams(String transformId, TransformConfigVersion version, org.elasticsearch.core.TimeValue frequency, boolean remote) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfrom()static TransformTaskParamsfromXContent(org.elasticsearch.xcontent.XContentParser parser) org.elasticsearch.core.TimeValuegetId()inthashCode()booleanorg.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, 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
public static final org.elasticsearch.xcontent.ParseField FROM -
FREQUENCY
public static final org.elasticsearch.xcontent.ParseField FREQUENCY -
REQUIRES_REMOTE
public static final org.elasticsearch.xcontent.ParseField REQUIRES_REMOTE -
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<TransformTaskParams,Void> PARSER
-
-
Constructor Details
-
TransformTaskParams
public TransformTaskParams(String transformId, TransformConfigVersion version, org.elasticsearch.core.TimeValue frequency, boolean remote) -
TransformTaskParams
public TransformTaskParams(String transformId, TransformConfigVersion version, Instant from, org.elasticsearch.core.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 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
-
getId
-
getVersion
-
from
-
getFrequency
public org.elasticsearch.core.TimeValue getFrequency() -
requiresRemote
public boolean requiresRemote() -
fromXContent
public static TransformTaskParams fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-