public class CloudDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NUM_SHARDS |
Constructor and Description |
---|
CloudDescriptor(String coreName,
Properties props,
CoreDescriptor cd) |
Modifier and Type | Method and Description |
---|---|
String |
getCollectionName() |
String |
getCoreNodeName() |
String |
getLastPublished() |
Integer |
getNumShards() |
SolrParams |
getParams()
Optional parameters that can change how a core is created.
|
String |
getRoles() |
String |
getShardId() |
boolean |
isLeader() |
void |
setCollectionName(String collectionName) |
void |
setCoreNodeName(String nodeName) |
void |
setLeader(boolean isLeader) |
void |
setNumShards(int numShards) |
void |
setParams(SolrParams params) |
void |
setRoles(String roles) |
void |
setShardId(String shardId) |
public static final String NUM_SHARDS
public CloudDescriptor(String coreName, Properties props, CoreDescriptor cd)
public String getLastPublished()
public boolean isLeader()
public void setLeader(boolean isLeader)
public void setShardId(String shardId)
public String getShardId()
public String getCollectionName()
public void setCollectionName(String collectionName)
public String getRoles()
public void setRoles(String roles)
public SolrParams getParams()
public void setParams(SolrParams params)
public Integer getNumShards()
public void setNumShards(int numShards)
public String getCoreNodeName()
public void setCoreNodeName(String nodeName)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.