public static class CollectionAdminRequest.AddReplica extends CollectionAdminRequest.AsyncCollectionAdminRequest
CollectionAdminRequest.AddReplica, CollectionAdminRequest.AddReplicaProp, CollectionAdminRequest.AddRole, CollectionAdminRequest.AsyncCollectionAdminRequest, CollectionAdminRequest.AsyncCollectionSpecificAdminRequest, CollectionAdminRequest.AsyncShardSpecificAdminRequest, CollectionAdminRequest.Backup, CollectionAdminRequest.BalanceShardUnique, CollectionAdminRequest.ClusterProp, CollectionAdminRequest.ClusterStatus, CollectionAdminRequest.CollectionAdminRoleRequest, CollectionAdminRequest.CollectionProp, CollectionAdminRequest.ColStatus, CollectionAdminRequest.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateCategoryRoutedAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.CreateSnapshot, CollectionAdminRequest.CreateTimeRoutedAlias, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteNode, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.DeleteSnapshot, CollectionAdminRequest.DeleteStatus, CollectionAdminRequest.DimensionalRoutedAlias, CollectionAdminRequest.ForceLeader, CollectionAdminRequest.List, CollectionAdminRequest.ListAliases, CollectionAdminRequest.ListSnapshots, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, CollectionAdminRequest.Modify, CollectionAdminRequest.MoveReplica, CollectionAdminRequest.OverseerStatus, CollectionAdminRequest.RebalanceLeaders, CollectionAdminRequest.ReindexCollection, CollectionAdminRequest.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.Rename, CollectionAdminRequest.ReplaceNode, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.RequestStatusResponse, CollectionAdminRequest.Restore, CollectionAdminRequest.RoutedAliasAdminRequest, CollectionAdminRequest.SetAliasProperty, CollectionAdminRequest.ShardSpecificAdminRequest, CollectionAdminRequest.SplitShard, CollectionAdminRequest.UtilizeNode
SolrRequest.METHOD
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
protected String |
collection |
protected String |
coreName |
protected String |
createNodeSet |
protected String |
dataDir |
protected String |
instanceDir |
protected String |
node |
protected Integer |
nrtReplicas |
protected Properties |
properties |
protected Integer |
pullReplicas |
protected String |
routeKey |
protected String |
shard |
protected Integer |
tlogReplicas |
protected Replica.Type |
type |
protected String |
ulogDir |
asyncId, waitForFinalState
action, MODIFIABLE_COLLECTION_PROPERTIES, PROPERTY_PREFIX
SUPPORTED_METHODS, useBinaryV2, usev2
createResponse, getAsyncId, processAndWait, processAndWait, processAsync, processAsync, setAsyncId, setWaitForFinalState
addProperties, addReplicaByRouteKey, addReplicaProperty, addReplicaToShard, addReplicaToShard, addRole, backupCollection, balanceReplicaProperty, collectionStatus, createAlias, createCategoryRoutedAlias, createCollection, createCollection, createCollection, createCollectionWithImplicitRouter, createCollectionWithImplicitRouter, createDimensionalRoutedAlias, createShard, createTimeRoutedAlias, deleteAlias, deleteAllAsyncIds, deleteAsyncId, deleteCollection, deleteNode, deleteReplica, deleteReplica, deleteReplicaProperty, deleteReplicasFromAllShards, deleteReplicasFromShard, deleteShard, forceLeaderElection, getClusterStatus, getOverseerStatus, getV2Request, listCollections, migrateCollectionFormat, migrateData, modifyCollection, moveReplica, rebalanceLeaders, reindexCollection, reloadCollection, removeRole, renameCollection, requestStatus, restoreCollection, setAliasProperty, setClusterProperty, setCollectionProperty, splitShard, toString, waitForAsyncRequest, writeMap
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
protected String collection
protected String shard
protected String node
protected String coreName
protected String routeKey
protected String instanceDir
protected String dataDir
protected String ulogDir
protected Properties properties
protected Replica.Type type
protected Integer nrtReplicas
protected Integer tlogReplicas
protected Integer pullReplicas
protected String createNodeSet
public Properties getProperties()
public CollectionAdminRequest.AddReplica setProperties(Properties properties)
public CollectionAdminRequest.AddReplica withProperty(String key, String value)
public String getNode()
public CollectionAdminRequest.AddReplica setNode(String node)
public String getRouteKey()
public String getInstanceDir()
public String getUlogDir()
public CollectionAdminRequest.AddReplica setInstanceDir(String instanceDir)
public String getDataDir()
public CollectionAdminRequest.AddReplica setDataDir(String dataDir)
public CollectionAdminRequest.AddReplica setType(Replica.Type type)
public CollectionAdminRequest.AddReplica setCoreName(String coreName)
public CollectionAdminRequest.AddReplica setUlogDir(String ulogDir)
public String getShard()
public Integer getNrtReplicas()
public CollectionAdminRequest.AddReplica setNrtReplicas(Integer nrtReplicas)
public Integer getTlogReplicas()
public CollectionAdminRequest.AddReplica setTlogReplicas(Integer tlogReplicas)
public Integer getPullReplicas()
public CollectionAdminRequest.AddReplica setPullReplicas(Integer pullReplicas)
public String getCreateNodeSet()
public CollectionAdminRequest.AddReplica setCreateNodeSet(String createNodeSet)
public SolrParams getParams()
getParams
in class CollectionAdminRequest.AsyncCollectionAdminRequest
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.