public enum SolrClientType extends Enum<SolrClientType>
Enum Constant and Description |
---|
CLOUD |
CONCURRENT_UPDATE |
CONCURRENT_UPDATE_HTTP2 |
HTTP |
HTTP2 |
LB_HTTP |
LB_HTTP2 |
Modifier and Type | Method and Description |
---|---|
org.apache.solr.client.solrj.SolrClient |
create(String solrURL) |
static SolrClientType |
of(String type) |
String |
toString() |
static SolrClientType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolrClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolrClientType HTTP
public static final SolrClientType LB_HTTP
public static final SolrClientType CONCURRENT_UPDATE
public static final SolrClientType CLOUD
public static final SolrClientType HTTP2
public static final SolrClientType LB_HTTP2
public static final SolrClientType CONCURRENT_UPDATE_HTTP2
public static SolrClientType[] values()
for (SolrClientType c : SolrClientType.values()) System.out.println(c);
public static SolrClientType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<SolrClientType>
public org.apache.solr.client.solrj.SolrClient create(String solrURL)
public static SolrClientType of(String type)
Copyright © 2009–2022 Norconex Inc.. All rights reserved.