Class AllocateEmptyPrimaryAllocationCommand.Builder
java.lang.Object
org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder<T>
org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
org.elasticsearch.cluster.routing.allocation.command.AllocateEmptyPrimaryAllocationCommand.Builder
- Enclosing class:
- AllocateEmptyPrimaryAllocationCommand
public static class AllocateEmptyPrimaryAllocationCommand.Builder
extends BasePrimaryAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
-
Field Summary
Fields inherited from class org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder
acceptDataLoss
Fields inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
index, node, shard
-
Constructor Summary
-
Method Summary
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder
setAcceptDataLoss
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
setIndex, setNode, setShard, validate
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parse
public AllocateEmptyPrimaryAllocationCommand.Builder parse(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Specified by:
parse
in classAbstractAllocateAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
- Throws:
IOException
-
build
- Specified by:
build
in classAbstractAllocateAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
-