Package | Description |
---|---|
org.apache.solr.client.solrj.cloud.autoscaling |
Common classes for autoscaling parsing filtering nodes and sorting
|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
Replica.Type |
ReplicaInfo.getType() |
Modifier and Type | Method and Description |
---|---|
Row |
Row.addReplica(String coll,
String shard,
Replica.Type type) |
Pair<Row,ReplicaInfo> |
Row.removeReplica(String coll,
String shard,
Replica.Type type) |
Constructor and Description |
---|
ReplicaInfo(String name,
String core,
String coll,
String shard,
Replica.Type type,
String node,
Map<String,Object> vals) |
Modifier and Type | Field and Description |
---|---|
protected Replica.Type |
CollectionAdminRequest.AddReplica.type |
Modifier and Type | Method and Description |
---|---|
static CollectionAdminRequest.AddReplica |
CollectionAdminRequest.addReplicaToShard(String collection,
String shard,
Replica.Type replicaType)
Returns a SolrRequest to add a replica of the specified type to a shard in a collection.
|
CollectionAdminRequest.AddReplica |
CollectionAdminRequest.AddReplica.setType(Replica.Type type) |
Modifier and Type | Field and Description |
---|---|
Replica.Type |
ReplicaPosition.type |
Modifier and Type | Method and Description |
---|---|
static Replica.Type |
Replica.Type.get(String name) |
Replica.Type |
Replica.getType() |
static Replica.Type |
Replica.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Replica.Type[] |
Replica.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<ZkCoreNodeProps> |
ZkStateReader.getReplicaProps(String collection,
String shardId,
String thisCoreNodeName,
Replica.State mustMatchStateFilter,
Replica.State mustNotMatchStateFilter,
EnumSet<Replica.Type> acceptReplicaType) |
List<Replica> |
Slice.getReplicas(EnumSet<Replica.Type> s)
Gets the list of replicas that have a type present in s
|
List<Replica> |
DocCollection.getReplicas(EnumSet<Replica.Type> s) |
Constructor and Description |
---|
ReplicaPosition(String shard,
int replicaIdx,
Replica.Type type) |
ReplicaPosition(String shard,
int replicaIdx,
Replica.Type type,
String node) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.