public static class CollectionAdminRequest.Create extends CollectionAdminRequest.CollectionSpecificAsyncAdminRequest<CollectionAdminRequest.Create>
CollectionAdminRequest.AddReplica, CollectionAdminRequest.AddReplicaProp, CollectionAdminRequest.AddRole, CollectionAdminRequest.AsyncCollectionAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.BalanceShardUnique, CollectionAdminRequest.ClusterProp, CollectionAdminRequest.ClusterStatus, CollectionAdminRequest.CollectionAdminRoleRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionShardAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionShardAsyncAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionSpecificAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionSpecificAsyncAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.DeleteStatus, CollectionAdminRequest.ForceLeader, CollectionAdminRequest.List, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, CollectionAdminRequest.OverseerStatus, CollectionAdminRequest.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.SplitShard
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected Boolean |
autoAddReplicas |
protected String |
configName |
protected String |
createNodeSet |
protected Integer |
maxShardsPerNode |
protected Integer |
numShards |
protected Integer |
replicationFactor |
protected String |
routerField |
protected String |
routerName |
protected String |
shards |
protected Integer |
stateFormat |
asyncId
collection
action
Constructor and Description |
---|
CollectionAdminRequest.Create() |
getAsyncId, setAsyncId
getCollectionName, setCollectionName
addProperties, createResponse, getContentStreams, setAction
getBasicAuthPassword, getBasicAuthUser, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
protected String configName
protected String createNodeSet
protected String routerName
protected String shards
protected String routerField
protected Integer numShards
protected Integer maxShardsPerNode
protected Integer replicationFactor
protected Boolean autoAddReplicas
protected Integer stateFormat
public CollectionAdminRequest.Create setConfigName(String config)
public CollectionAdminRequest.Create setCreateNodeSet(String nodeSet)
public CollectionAdminRequest.Create setRouterName(String routerName)
public CollectionAdminRequest.Create setShards(String shards)
public CollectionAdminRequest.Create setRouterField(String routerField)
public CollectionAdminRequest.Create setNumShards(Integer numShards)
public CollectionAdminRequest.Create setMaxShardsPerNode(Integer numShards)
public CollectionAdminRequest.Create setAutoAddReplicas(boolean autoAddReplicas)
public CollectionAdminRequest.Create setReplicationFactor(Integer repl)
public CollectionAdminRequest.Create setStateFormat(Integer stateFormat)
public CollectionAdminRequest.Create setRule(String... s)
public CollectionAdminRequest.Create setSnitch(String... s)
public String getConfigName()
public String getCreateNodeSet()
public String getRouterName()
public String getShards()
public Integer getNumShards()
public Integer getMaxShardsPerNode()
public Integer getReplicationFactor()
public Boolean getAutoAddReplicas()
public Integer getStateFormat()
public Properties getProperties()
public CollectionAdminRequest.Create setProperties(Properties properties)
public SolrParams getParams()
protected CollectionAdminRequest.Create getThis()
getThis
in class CollectionAdminRequest<CollectionAdminRequest.Create>
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.