Class 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 is GroovyPlugin for scripted fields like loc[0] or loc[1]['foo'].

    This class is intended solely for tests

    • Field Summary

      • Fields inherited from class org.elasticsearch.node.Node

        BREAKER_TYPE_KEY, NODE_ATTRIBUTES, NODE_DATA_SETTING, NODE_INGEST_SETTING, NODE_LOCAL_STORAGE_SETTING, NODE_MASTER_SETTING, NODE_NAME_SETTING, WRITE_PORTS_FILE_SETTING
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalNode

        private LocalNode​(org.elasticsearch.common.settings.Settings settings,
                          java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> classpathPlugins)