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.TypeNested 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
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalFields(XContentBuilder builder, ToXContent.Params params) to be overridden by subclassesgetType()protected voidto be overridden by subclassesMethods inherited from class org.elasticsearch.cluster.routing.RecoverySource
equals, expectEmptyRetentionLeases, hashCode, readFrom, shouldBootstrapNewHistoryUUID, toXContent, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
ReshardSplitRecoverySource
-
-
Method Details
-
getType
- Specified by:
getTypein classRecoverySource
-
getSourceShardId
-
writeAdditionalFields
Description copied from class:RecoverySourceto be overridden by subclasses- Overrides:
writeAdditionalFieldsin classRecoverySource- Throws:
IOException
-
addAdditionalFields
public void addAdditionalFields(XContentBuilder builder, ToXContent.Params params) throws IOException Description copied from class:RecoverySourceto be overridden by subclasses- Overrides:
addAdditionalFieldsin classRecoverySource- Throws:
IOException
-