Package org.elasticsearch.upgrades
Class SystemIndexMigrationTaskParams
java.lang.Object
org.elasticsearch.upgrades.SystemIndexMigrationTaskParams
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,PersistentTaskParams,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
The params used to initialize
SystemIndexMigrator when it's initially kicked off.
Currently doesn't do anything. In the future, a name of a feature could be used to indicate that only a specific feature should be
migrated.-
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
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ObjectParser<SystemIndexMigrationTaskParams,Void> static final StringFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromXContent(org.elasticsearch.xcontent.XContentParser parser) The minimal version of the recipient this object can be sent toReturns the name of the writeable objectinthashCode()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
SYSTEM_INDEX_UPGRADE_TASK_NAME
- See Also:
-
PARSER
public static final org.elasticsearch.xcontent.ObjectParser<SystemIndexMigrationTaskParams,Void> PARSER
-
-
Constructor Details
-
SystemIndexMigrationTaskParams
public SystemIndexMigrationTaskParams() -
SystemIndexMigrationTaskParams
-
-
Method Details
-
fromXContent
public static SystemIndexMigrationTaskParams fromXContent(org.elasticsearch.xcontent.XContentParser parser) -
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- 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
-
getWriteableName
Description copied from interface:VersionedNamedWriteableReturns the name of the writeable object- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
Description copied from interface:VersionedNamedWriteableThe minimal version of the recipient this object can be sent to- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
equals
-
hashCode
public int hashCode()
-