org.apache.solr.cloud
Class CloudDescriptor

java.lang.Object
  extended by org.apache.solr.cloud.CloudDescriptor

public class CloudDescriptor
extends Object


Field Summary
static String NUM_SHARDS
           
 
Constructor Summary
CloudDescriptor(String coreName, Properties props, CoreDescriptor cd)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_SHARDS

public static final String NUM_SHARDS
See Also:
Constant Field Values
Constructor Detail

CloudDescriptor

public CloudDescriptor(String coreName,
                       Properties props,
                       CoreDescriptor cd)
Method Detail

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)


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.