Class Tokens
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.driver.Tokens
 
- 
 public final class Tokens extends Object String constants used in gremlin-driver and gremlin-server.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringARGS_ALIASESArgument name that allows definition of alias names forGraphandTraversalSourceobjects on the remote system.static StringARGS_BATCH_SIZEArgument name that allows definition of the number of iterations eachResponseMessageshould contain - overrides the @{code resultIterationBatchSize} server setting.static StringARGS_BINDINGSArgument name that allows to provide a map of key/value pairs to apply as variables in the context of the Gremlin request sent to the server.static StringARGS_EVAL_TIMEOUTArgument name that allows the override of the server setting that determines the maximum time to wait for a request to execute on the server.static StringARGS_FORCEstatic StringARGS_GREMLINArgument name that corresponds to the Gremlin to evaluate.static StringARGS_HOSTstatic StringARGS_LANGUAGEArgument name that allows definition of the flavor of Gremlin used (e.g.static StringARGS_MAINTAIN_STATE_AFTER_EXCEPTIONArgument name that is intended to be used with a session which when its value istruemakes it so that a processing error or request timeout will not close the session, but leave it to continue processing in whatever state it may hold.static StringARGS_MANAGE_TRANSACTIONstatic StringARGS_SASLstatic StringARGS_SASL_MECHANISMstatic StringARGS_SESSIONstatic StringARGS_USER_AGENTA value that is a custom string that the user can pass to a server that might accept it for purpose of identifying the kind of client it came from.static StringOPS_AUTHENTICATIONstatic StringOPS_BYTECODEstatic StringOPS_CLOSEstatic StringOPS_EVALstatic StringOPS_INVALIDstatic StringREQUEST_IDThe key for the unique identifier of the request.static StringSTATUS_ATTRIBUTE_EXCEPTIONSRefers to the hierarchy of exception names for a particular exception thrown on the server.static StringSTATUS_ATTRIBUTE_FAIL_STEP_MESSAGEThe value of this key holds a string representation of the data held by aFailureas produced byFailure.format().static StringSTATUS_ATTRIBUTE_STACK_TRACERefers to the stacktrace for an exception thrown on the serverstatic StringSTATUS_ATTRIBUTE_WARNINGSAResultSet.statusAttributes()key for user-facing warnings.static StringVAL_TRAVERSAL_SOURCE_ALIAS
 
- 
- 
- 
Field Detail- 
OPS_AUTHENTICATIONpublic static final String OPS_AUTHENTICATION - See Also:
- Constant Field Values
 
 - 
OPS_BYTECODEpublic static final String OPS_BYTECODE - See Also:
- Constant Field Values
 
 - 
OPS_EVALpublic static final String OPS_EVAL - See Also:
- Constant Field Values
 
 - 
OPS_INVALIDpublic static final String OPS_INVALID - See Also:
- Constant Field Values
 
 - 
OPS_CLOSEpublic static final String OPS_CLOSE - See Also:
- Constant Field Values
 
 - 
REQUEST_IDpublic static final String REQUEST_ID The key for the unique identifier of the request.- See Also:
- Constant Field Values
 
 - 
ARGS_BATCH_SIZEpublic static final String ARGS_BATCH_SIZE Argument name that allows definition of the number of iterations eachResponseMessageshould contain - overrides the @{code resultIterationBatchSize} server setting.- See Also:
- Constant Field Values
 
 - 
ARGS_BINDINGSpublic static final String ARGS_BINDINGS Argument name that allows to provide a map of key/value pairs to apply as variables in the context of the Gremlin request sent to the server.- See Also:
- Constant Field Values
 
 - 
ARGS_ALIASESpublic static final String ARGS_ALIASES Argument name that allows definition of alias names forGraphandTraversalSourceobjects on the remote system.- See Also:
- Constant Field Values
 
 - 
ARGS_FORCEpublic static final String ARGS_FORCE - See Also:
- Constant Field Values
 
 - 
ARGS_GREMLINpublic static final String ARGS_GREMLIN Argument name that corresponds to the Gremlin to evaluate.- See Also:
- Constant Field Values
 
 - 
ARGS_LANGUAGEpublic static final String ARGS_LANGUAGE Argument name that allows definition of the flavor of Gremlin used (e.g. gremlin-groovy) to process the request.- See Also:
- Constant Field Values
 
 - 
ARGS_EVAL_TIMEOUTpublic static final String ARGS_EVAL_TIMEOUT Argument name that allows the override of the server setting that determines the maximum time to wait for a request to execute on the server.- See Also:
- Constant Field Values
 
 - 
ARGS_HOSTpublic static final String ARGS_HOST - See Also:
- Constant Field Values
 
 - 
ARGS_SESSIONpublic static final String ARGS_SESSION - See Also:
- Constant Field Values
 
 - 
ARGS_MANAGE_TRANSACTIONpublic static final String ARGS_MANAGE_TRANSACTION - See Also:
- Constant Field Values
 
 - 
ARGS_MAINTAIN_STATE_AFTER_EXCEPTIONpublic static final String ARGS_MAINTAIN_STATE_AFTER_EXCEPTION Argument name that is intended to be used with a session which when its value istruemakes it so that a processing error or request timeout will not close the session, but leave it to continue processing in whatever state it may hold. This argument only applies to theUnifiedChannelizer.- See Also:
- Constant Field Values
 
 - 
ARGS_SASLpublic static final String ARGS_SASL - See Also:
- Constant Field Values
 
 - 
ARGS_SASL_MECHANISMpublic static final String ARGS_SASL_MECHANISM - See Also:
- Constant Field Values
 
 - 
ARGS_USER_AGENTpublic static final String ARGS_USER_AGENT A value that is a custom string that the user can pass to a server that might accept it for purpose of identifying the kind of client it came from.- See Also:
- Constant Field Values
 
 - 
VAL_TRAVERSAL_SOURCE_ALIASpublic static final String VAL_TRAVERSAL_SOURCE_ALIAS - See Also:
- Constant Field Values
 
 - 
STATUS_ATTRIBUTE_FAIL_STEP_MESSAGEpublic static final String STATUS_ATTRIBUTE_FAIL_STEP_MESSAGE The value of this key holds a string representation of the data held by aFailureas produced byFailure.format().- See Also:
- Constant Field Values
 
 - 
STATUS_ATTRIBUTE_EXCEPTIONSpublic static final String STATUS_ATTRIBUTE_EXCEPTIONS Refers to the hierarchy of exception names for a particular exception thrown on the server.- See Also:
- Constant Field Values
 
 - 
STATUS_ATTRIBUTE_STACK_TRACEpublic static final String STATUS_ATTRIBUTE_STACK_TRACE Refers to the stacktrace for an exception thrown on the server- See Also:
- Constant Field Values
 
 - 
STATUS_ATTRIBUTE_WARNINGSpublic static final String STATUS_ATTRIBUTE_WARNINGS AResultSet.statusAttributes()key for user-facing warnings.Implementations that set this key should consider using one of these two recommended value types: - A Listimplementation containing references for whichString#valueOf(Object)produces a meaningful return value. For example, a list of strings.
- Otherwise, any single non-list object for which
     String#valueOf(Object)produces a meaningful return value. For example, a string.
 - See Also:
- Constant Field Values
 
- A 
 
- 
 
-