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
           
static String SHARD_RANGE
           
static String SHARD_STATE
           
 
Constructor Summary
CloudDescriptor(String coreName, Properties props)
           
 
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 setLeader(boolean isLeader)
           
 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
 

Field Detail

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
Constructor Detail

CloudDescriptor

public CloudDescriptor(String coreName,
                       Properties props)
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)

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.