Class CollectionAdminRequest.CreateTimeRoutedAlias
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<T>
-
- org.apache.solr.client.solrj.request.CollectionAdminRequest<CollectionAdminResponse>
-
- org.apache.solr.client.solrj.request.CollectionAdminRequest.AsyncCollectionAdminRequest
-
- org.apache.solr.client.solrj.request.CollectionAdminRequest.CreateTimeRoutedAlias
-
- All Implemented Interfaces:
Serializable
,CollectionAdminRequest.RoutedAliasAdminRequest
,V2RequestSupport
,MapSerializable
,MapWriter
,NavigableObject
- Enclosing class:
- CollectionAdminRequest<T extends CollectionAdminResponse>
public static class CollectionAdminRequest.CreateTimeRoutedAlias extends CollectionAdminRequest.AsyncCollectionAdminRequest implements CollectionAdminRequest.RoutedAliasAdminRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.request.CollectionAdminRequest
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
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROUTER_AUTO_DELETE_AGE
static String
ROUTER_INTERVAL
static String
ROUTER_MAX_FUTURE
static String
ROUTER_PREEMPTIVE_CREATE_WINDOW
static String
ROUTER_START
-
Fields inherited from class org.apache.solr.client.solrj.request.CollectionAdminRequest.AsyncCollectionAdminRequest
asyncId, waitForFinalState
-
Fields inherited from class org.apache.solr.client.solrj.request.CollectionAdminRequest
action, MODIFIABLE_COLLECTION_PROPERTIES, PROPERTY_PREFIX
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
Fields inherited from interface org.apache.solr.client.solrj.request.CollectionAdminRequest.RoutedAliasAdminRequest
ROUTER_FIELD, ROUTER_TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description CreateTimeRoutedAlias(String aliasName, String routerField, String start, String interval, CollectionAdminRequest.Create createCollTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getParamNames()
SolrParams
getParams()
List<String>
getRequiredParamNames()
String
getRouterField()
RoutedAliasTypes
getType()
CollectionAdminRequest.CreateTimeRoutedAlias
setAutoDeleteAge(String autoDeleteAge)
CollectionAdminRequest.CreateTimeRoutedAlias
setMaxFutureMs(Integer maxFutureMs)
Sets how long into the future (millis) that we will allow a document to pass.CollectionAdminRequest.CreateTimeRoutedAlias
setPreemptiveCreateWindow(String preemptiveCreateMath)
CollectionAdminRequest.CreateTimeRoutedAlias
setTimeZone(TimeZone tz)
Sets the timezone for interpreting any Solr "date math.-
Methods inherited from class org.apache.solr.client.solrj.request.CollectionAdminRequest.AsyncCollectionAdminRequest
createResponse, getAsyncId, processAndWait, processAndWait, processAsync, processAsync, setAsyncId, setWaitForFinalState
-
Methods inherited from class org.apache.solr.client.solrj.request.CollectionAdminRequest
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
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.client.solrj.request.CollectionAdminRequest.RoutedAliasAdminRequest
mergeCollParams
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
-
-
-
-
Field Detail
-
ROUTER_START
public static final String ROUTER_START
- See Also:
- Constant Field Values
-
ROUTER_INTERVAL
public static final String ROUTER_INTERVAL
- See Also:
- Constant Field Values
-
ROUTER_MAX_FUTURE
public static final String ROUTER_MAX_FUTURE
- See Also:
- Constant Field Values
-
ROUTER_PREEMPTIVE_CREATE_WINDOW
public static final String ROUTER_PREEMPTIVE_CREATE_WINDOW
- See Also:
- Constant Field Values
-
ROUTER_AUTO_DELETE_AGE
public static final String ROUTER_AUTO_DELETE_AGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateTimeRoutedAlias
public CreateTimeRoutedAlias(String aliasName, String routerField, String start, String interval, CollectionAdminRequest.Create createCollTemplate)
-
-
Method Detail
-
setTimeZone
public CollectionAdminRequest.CreateTimeRoutedAlias setTimeZone(TimeZone tz)
Sets the timezone for interpreting any Solr "date math.
-
setMaxFutureMs
public CollectionAdminRequest.CreateTimeRoutedAlias setMaxFutureMs(Integer maxFutureMs)
Sets how long into the future (millis) that we will allow a document to pass.
-
setPreemptiveCreateWindow
public CollectionAdminRequest.CreateTimeRoutedAlias setPreemptiveCreateWindow(String preemptiveCreateMath)
-
setAutoDeleteAge
public CollectionAdminRequest.CreateTimeRoutedAlias setAutoDeleteAge(String autoDeleteAge)
-
getParams
public SolrParams getParams()
- Specified by:
getParams
in interfaceCollectionAdminRequest.RoutedAliasAdminRequest
- Overrides:
getParams
in classCollectionAdminRequest.AsyncCollectionAdminRequest
-
getType
public RoutedAliasTypes getType()
- Specified by:
getType
in interfaceCollectionAdminRequest.RoutedAliasAdminRequest
-
getRouterField
public String getRouterField()
- Specified by:
getRouterField
in interfaceCollectionAdminRequest.RoutedAliasAdminRequest
-
getParamNames
public List<String> getParamNames()
- Specified by:
getParamNames
in interfaceCollectionAdminRequest.RoutedAliasAdminRequest
-
getRequiredParamNames
public List<String> getRequiredParamNames()
- Specified by:
getRequiredParamNames
in interfaceCollectionAdminRequest.RoutedAliasAdminRequest
-
-