public final class HadoopGremlinPlugin extends AbstractGremlinPlugin
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
NAME  | 
customizers, moduleName| Constructor and Description | 
|---|
HadoopGremlinPlugin()  | 
| Modifier and Type | Method and Description | 
|---|---|
Optional<Customizer[]> | 
getCustomizers(String scriptEngineName)
Gets the list of  
Customizer implementations to assign to a new GremlinScriptEngine. | 
static HadoopGremlinPlugin | 
instance()  | 
boolean | 
requireRestart()
Some modules may require a restart of the plugin host for the classloader to pick up the features. 
 | 
getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCustomizersprotected static String NAME
public Optional<Customizer[]> getCustomizers(String scriptEngineName)
GremlinPluginCustomizer implementations to assign to a new GremlinScriptEngine. The
 implementation should filter the returned Customizers according to the supplied name of the
 Gremlin-enabled ScriptEngine. By providing a filter, GremlinModule developers can have the
 ability to target specific ScriptEngines.getCustomizers in interface GremlinPlugingetCustomizers in class AbstractGremlinPluginscriptEngineName - The name of the ScriptEngine or null to get all the available Customizerspublic boolean requireRestart()
GremlinPluginClass.forName() to dynamically instantiate classes from the
 root classloader (e.g. JDBC drivers that instantiate via @{code DriverManager}).public static HadoopGremlinPlugin instance()
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.