Package | Description |
---|---|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
Modifier and Type | Field and Description |
---|---|
static Aliases |
Aliases.EMPTY
An empty, minimal Aliases primarily used to support the non-cloud solr use cases.
|
Modifier and Type | Method and Description |
---|---|
Aliases |
Aliases.cloneWithCollectionAlias(String alias,
String collections)
Creates a new Aliases instance with the same data as the current one but with a modification based on the
parameters.
|
Aliases |
Aliases.cloneWithCollectionAliasProperties(String alias,
Map<String,String> properties)
Set the values for some properties keys on a collection alias.
|
Aliases |
Aliases.cloneWithCollectionAliasProperties(String alias,
String propertiesKey,
String propertiesValue)
Set the value for some properties on a collection alias.
|
Aliases |
Aliases.cloneWithRename(String before,
String after)
Rename an alias.
|
static Aliases |
Aliases.fromJSON(byte[] bytes,
int zNodeVersion)
Create an instance from the JSON bytes read from zookeeper.
|
Aliases |
ZkStateReader.getAliases()
Get an immutable copy of the present state of the aliases.
|
Aliases |
ZkStateReader.AliasesManager.getAliases() |
Modifier and Type | Method and Description |
---|---|
void |
ZkStateReader.AliasesManager.applyModificationAndExportToZk(UnaryOperator<Aliases> op)
Writes an updated
Aliases to zk. |
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.