org.apache.solr.cloud
Class CloudDescriptor
java.lang.Object
org.apache.solr.cloud.CloudDescriptor
public class CloudDescriptor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHARD_STATE
public static final String SHARD_STATE
- See Also:
- Constant Field Values
NUM_SHARDS
public static final String NUM_SHARDS
- See Also:
- Constant Field Values
SHARD_RANGE
public static final String SHARD_RANGE
- See Also:
- Constant Field Values
CloudDescriptor
public CloudDescriptor(String coreName,
Properties props)
getLastPublished
public String getLastPublished()
isLeader
public boolean isLeader()
setLeader
public void setLeader(boolean isLeader)
setShardId
public void setShardId(String shardId)
getShardId
public String getShardId()
getCollectionName
public String getCollectionName()
setCollectionName
public void setCollectionName(String collectionName)
getRoles
public String getRoles()
setRoles
public void setRoles(String roles)
getParams
public SolrParams getParams()
- Optional parameters that can change how a core is created.
setParams
public void setParams(SolrParams params)
getNumShards
public Integer getNumShards()
setNumShards
public void setNumShards(int numShards)
getCoreNodeName
public String getCoreNodeName()
setCoreNodeName
public void setCoreNodeName(String nodeName)
getShardRange
public String getShardRange()
setShardRange
public void setShardRange(String shardRange)
getShardState
public String getShardState()
setShardState
public void setShardState(String shardState)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.