public class ElasticsearchInterpreter extends Interpreter
Interpreter.FormType, Interpreter.RegisteredInterpreter, Interpreter.SchedulingMode| Modifier and Type | Field and Description |
|---|---|
static String |
ELASTICSEARCH_CLUSTER_NAME |
static String |
ELASTICSEARCH_HOST |
static String |
ELASTICSEARCH_PORT |
static String |
ELASTICSEARCH_RESULT_SIZE |
property, registeredInterpreters| Constructor and Description |
|---|
ElasticsearchInterpreter(Properties property) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(InterpreterContext interpreterContext) |
void |
close() |
List<InterpreterCompletion> |
completion(String s,
int i) |
Interpreter.FormType |
getFormType() |
int |
getProgress(InterpreterContext interpreterContext) |
InterpreterResult |
interpret(String cmd,
InterpreterContext interpreterContext) |
void |
open() |
destroy, findRegisteredInterpreterByClassName, getClassloaderUrls, getClassName, getInterpreterGroup, getInterpreterInTheSameSessionByClassName, getProperty, getProperty, getScheduler, register, register, register, register, setClassloaderUrls, setInterpreterGroup, setPropertypublic static final String ELASTICSEARCH_HOST
public static final String ELASTICSEARCH_PORT
public static final String ELASTICSEARCH_CLUSTER_NAME
public static final String ELASTICSEARCH_RESULT_SIZE
public ElasticsearchInterpreter(Properties property)
public void open()
open in class Interpreterpublic void close()
close in class Interpreterpublic InterpreterResult interpret(String cmd, InterpreterContext interpreterContext)
interpret in class Interpreterpublic void cancel(InterpreterContext interpreterContext)
cancel in class Interpreterpublic Interpreter.FormType getFormType()
getFormType in class Interpreterpublic int getProgress(InterpreterContext interpreterContext)
getProgress in class Interpreterpublic List<InterpreterCompletion> completion(String s, int i)
completion in class InterpreterCopyright © 2013–2016 The Apache Software Foundation. All rights reserved.