Class EmbeddedElasticsearchNode.LocalNode
- java.lang.Object
-
- org.elasticsearch.node.Node
-
- org.apache.calcite.adapter.elasticsearch.EmbeddedElasticsearchNode.LocalNode
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- EmbeddedElasticsearchNode
private static class EmbeddedElasticsearchNode.LocalNode extends org.elasticsearch.node.Node
Having separate class to expose (protected) constructor which allows to install different plugins. In our case it isGroovyPlugin
for scripted fields likeloc[0]
orloc[1]['foo']
.This class is intended solely for tests
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LocalNode(org.elasticsearch.common.settings.Settings settings, java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> classpathPlugins)
-
Method Summary
-
Methods inherited from class org.elasticsearch.node.Node
addNodeNameIfNeeded, client, close, createCircuitBreakerService, getEnvironment, getNodeEnvironment, getPluginsService, injector, isClosed, newClusterInfoService, newSearchService, newTransportService, processRecoverySettings, settings, start, validateNodeBeforeAcceptingRequests
-
-