public static class DotNetTranslator.DefaultTypeTranslator extends Translator.ScriptTranslator.AbstractTypeTranslator
ANONYMOUS_TRAVERSAL_PREFIX, script, withParameters| Constructor and Description |
|---|
DefaultTypeTranslator(boolean withParameters) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getNullSyntax()
Gets the syntax for a
null value as a string representation. |
protected String |
getSyntax(Boolean o)
Take the boolean argument and convert it to a string representation in the target language.
|
protected String |
getSyntax(Date o)
Take the
Date argument and convert it to a string representation in the target language. |
protected String |
getSyntax(Lambda o)
Take the
Lambda argument and convert it to a string representation in the target language. |
protected String |
getSyntax(Number o)
Take the numeric argument and convert it to a string representation in the target language.
|
protected String |
getSyntax(SackFunctions.Barrier o)
Take the
SackFunctions.Barrier argument and convert it to a string representation in the target language. |
protected String |
getSyntax(String o)
Take the string argument and convert it to a string representation in the target language (i.e.
|
protected String |
getSyntax(Timestamp o)
Take the
Timestamp argument and convert it to a string representation in the target language. |
protected String |
getSyntax(TraversalOptionParent.Pick o)
Take the
TraversalOptionParent.Pick argument and convert it to a string representation in the target language. |
protected String |
getSyntax(UUID o)
Take the
UUID argument and convert it to a string representation in the target language. |
protected String |
getSyntax(VertexProperty.Cardinality o)
Take the
VertexProperty.Cardinality argument and convert it to a string representation in the target language. |
protected Script |
produceScript(Class<?> o)
Take the
Class and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(Edge o)
Take the
Edge and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(Enum<?> o)
Take the
Enum and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(List<?> o)
Take the
List and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(Map<?,?> o)
Take the
Map and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(P<?> p)
Take the
P and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(Set<?> o)
Take the
Set and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(String traversalSource,
Bytecode o)
Take the
Bytecode and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(TraversalStrategyProxy<?> o)
Take the
TraversalStrategyProxy and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(Vertex o)
Take the
Vertex and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected Script |
produceScript(VertexProperty<?> o)
Take the
VertexProperty and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
protected String |
resolveSymbol(String methodName) |
apply, convertToScript, getAnonymousTraversalPrefixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenprotected String getNullSyntax()
Translator.ScriptTranslator.AbstractTypeTranslatornull value as a string representation.getNullSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(String o)
Translator.ScriptTranslator.AbstractTypeTranslatorgetSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(Boolean o)
Translator.ScriptTranslator.AbstractTypeTranslatorgetSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(Date o)
Translator.ScriptTranslator.AbstractTypeTranslatorDate argument and convert it to a string representation in the target language.getSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(Timestamp o)
Translator.ScriptTranslator.AbstractTypeTranslatorTimestamp argument and convert it to a string representation in the target language.getSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(UUID o)
Translator.ScriptTranslator.AbstractTypeTranslatorUUID argument and convert it to a string representation in the target language.getSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(Lambda o)
Translator.ScriptTranslator.AbstractTypeTranslatorLambda argument and convert it to a string representation in the target language.getSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(SackFunctions.Barrier o)
Translator.ScriptTranslator.AbstractTypeTranslatorSackFunctions.Barrier argument and convert it to a string representation in the target language.getSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(VertexProperty.Cardinality o)
Translator.ScriptTranslator.AbstractTypeTranslatorVertexProperty.Cardinality argument and convert it to a string representation in the target language.getSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(TraversalOptionParent.Pick o)
Translator.ScriptTranslator.AbstractTypeTranslatorTraversalOptionParent.Pick argument and convert it to a string representation in the target language.getSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected String getSyntax(Number o)
Translator.ScriptTranslator.AbstractTypeTranslatorNumber instance itself (i.e. Double, Integer, etc.)getSyntax in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(Set<?> o)
Translator.ScriptTranslator.AbstractTypeTranslatorSet and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(List<?> o)
Translator.ScriptTranslator.AbstractTypeTranslatorList and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(Map<?,?> o)
Translator.ScriptTranslator.AbstractTypeTranslatorMap and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(Class<?> o)
Translator.ScriptTranslator.AbstractTypeTranslatorClass and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(Enum<?> o)
Translator.ScriptTranslator.AbstractTypeTranslatorEnum and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(Vertex o)
Translator.ScriptTranslator.AbstractTypeTranslatorVertex and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(Edge o)
Translator.ScriptTranslator.AbstractTypeTranslatorEdge and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(VertexProperty<?> o)
Translator.ScriptTranslator.AbstractTypeTranslatorVertexProperty and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(TraversalStrategyProxy<?> o)
Translator.ScriptTranslator.AbstractTypeTranslatorTraversalStrategyProxy and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(String traversalSource, Bytecode o)
Translator.ScriptTranslator.AbstractTypeTranslatorBytecode and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorprotected Script produceScript(P<?> p)
Translator.ScriptTranslator.AbstractTypeTranslatorP and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. This
implementation should also consider TextP.produceScript in class Translator.ScriptTranslator.AbstractTypeTranslatorCopyright © 2013–2022 Apache Software Foundation. All rights reserved.