Class NativeClientFactory
- java.lang.Object
-
- org.dashbuilder.dataprovider.backend.elasticsearch.rest.impl.NativeClientFactory
-
public class NativeClientFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringEL_CLIENT_TIMEOUTprotected static StringEL_CLUTER_NAMEprotected static StringEL_SECURITY
-
Constructor Summary
Constructors Constructor Description NativeClientFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NativeClientFactorygetInstance()org.elasticsearch.client.ClientnewClient(String serverURL, String clusterName, long timeout)voidsetTestClient(org.elasticsearch.client.Client c)
-
-
-
Field Detail
-
EL_CLUTER_NAME
protected static final String EL_CLUTER_NAME
- See Also:
- Constant Field Values
-
EL_CLIENT_TIMEOUT
protected static final String EL_CLIENT_TIMEOUT
- See Also:
- Constant Field Values
-
EL_SECURITY
protected static final String EL_SECURITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static NativeClientFactory getInstance()
-
setTestClient
public void setTestClient(org.elasticsearch.client.Client c)
-
-