public final class JythonTranslator extends PythonTranslator
Translator.ScriptTranslator.Handled, Translator.ScriptTranslator.TypeTranslator
Translator.ScriptTranslator, Translator.StepTranslator<S extends TraversalSource,T extends Traversal.Admin<?,?>>
Modifier and Type | Method and Description |
---|---|
protected String |
convertLambdaToString(Lambda lambda) |
String |
getTargetLanguage()
Get the language that the translator is converting the traversal byte code to.
|
static JythonTranslator |
of(String traversalSource) |
protected String |
resolveSymbol(String methodName) |
protected String |
resolveTraversalStrategyProxy(TraversalStrategyProxy proxy) |
convertToString, getTraversalSource, of, toString, translate
public static JythonTranslator of(String traversalSource)
public String getTargetLanguage()
Translator
getTargetLanguage
in interface Translator<String,String>
getTargetLanguage
in class PythonTranslator
protected String convertLambdaToString(Lambda lambda)
convertLambdaToString
in class PythonTranslator
protected String resolveSymbol(String methodName)
resolveSymbol
in class PythonTranslator
protected String resolveTraversalStrategyProxy(TraversalStrategyProxy proxy)
resolveTraversalStrategyProxy
in class PythonTranslator
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.