org.apache.solr.cloud
Class CloudDescriptor

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

public class CloudDescriptor
extends Object


Constructor Summary
CloudDescriptor()
           
 
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()
           
 String getShardRange()
           
 String getShardState()
           
 boolean isLeader()
           
 void setCollectionName(String collectionName)
           
 void setCoreNodeName(String nodeName)
           
 void setNumShards(int numShards)
           
 void setParams(SolrParams params)
           
 void setRoles(String roles)
           
 void setShardId(String shardId)
           
 void setShardRange(String shardRange)
           
 void setShardState(String shardState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudDescriptor

public CloudDescriptor()
Method Detail

getLastPublished

public String getLastPublished()

isLeader

public 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.