public class CollectionMutator extends Object
Modifier and Type | Field and Description |
---|---|
protected ZkStateReader |
zkStateReader |
Constructor and Description |
---|
CollectionMutator(ZkStateReader zkStateReader) |
Modifier and Type | Method and Description |
---|---|
ZkWriteCommand |
createShard(ClusterState clusterState,
ZkNodeProps message) |
ZkWriteCommand |
deleteShard(ClusterState clusterState,
ZkNodeProps message) |
static DocCollection |
updateSlice(String collectionName,
DocCollection collection,
Slice slice) |
protected final ZkStateReader zkStateReader
public CollectionMutator(ZkStateReader zkStateReader)
public ZkWriteCommand createShard(ClusterState clusterState, ZkNodeProps message)
public ZkWriteCommand deleteShard(ClusterState clusterState, ZkNodeProps message)
public static DocCollection updateSlice(String collectionName, DocCollection collection, Slice slice)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.