Module org.elasticsearch.server
Class RecoverySource.ReshardSplitRecoverySource
java.lang.Object
org.elasticsearch.cluster.routing.RecoverySource
org.elasticsearch.cluster.routing.RecoverySource.ReshardSplitRecoverySource
- All Implemented Interfaces:
Writeable
,ToXContent
,ToXContentObject
- Enclosing class:
RecoverySource
Recovery of a shard that is created as a result of a resharding split.
Not to be confused with _split API.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.cluster.routing.RecoverySource
RecoverySource.EmptyStoreRecoverySource, RecoverySource.ExistingStoreRecoverySource, RecoverySource.LocalShardsRecoverySource, RecoverySource.PeerRecoverySource, RecoverySource.ReshardSplitRecoverySource, RecoverySource.SnapshotRecoverySource, RecoverySource.Type
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalFields
(XContentBuilder builder, ToXContent.Params params) to be overridden by subclassesgetType()
protected void
to be overridden by subclassesMethods inherited from class org.elasticsearch.cluster.routing.RecoverySource
equals, expectEmptyRetentionLeases, hashCode, readFrom, shouldBootstrapNewHistoryUUID, toXContent, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
ReshardSplitRecoverySource
-
-
Method Details
-
getType
- Specified by:
getType
in classRecoverySource
-
getSourceShardId
-
writeAdditionalFields
Description copied from class:RecoverySource
to be overridden by subclasses- Overrides:
writeAdditionalFields
in classRecoverySource
- Throws:
IOException
-
addAdditionalFields
public void addAdditionalFields(XContentBuilder builder, ToXContent.Params params) throws IOException Description copied from class:RecoverySource
to be overridden by subclasses- Overrides:
addAdditionalFields
in classRecoverySource
- Throws:
IOException
-