Class RequestMessage.Builder
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.util.message.RequestMessage.Builder
 
- 
- Enclosing class:
- RequestMessage
 
 public static final class RequestMessage.Builder extends Object Builder class forRequestMessage.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOP_PROCESSOR_NAME
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestMessage.Builderadd(Object... keyValues)RequestMessage.BuilderaddArg(String key, Object val)RequestMessagecreate()Create the request message given the settings provided to theRequestMessage.Builder.RequestMessage.BuilderoverrideRequestId(UUID requestId)Override the request identifier with a specified one, otherwise theRequestMessage.Builderwill randomly generate aUUID.RequestMessage.Builderprocessor(String processor)If this value is not set in the builder then theRequestMessage.processordefaults to the standard op processor (empty string).
 
- 
- 
- 
Field Detail- 
OP_PROCESSOR_NAMEpublic static final String OP_PROCESSOR_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
processorpublic RequestMessage.Builder processor(String processor) If this value is not set in the builder then theRequestMessage.processordefaults to the standard op processor (empty string).- Parameters:
- processor- the name of the processor
 
 - 
overrideRequestIdpublic RequestMessage.Builder overrideRequestId(UUID requestId) Override the request identifier with a specified one, otherwise theRequestMessage.Builderwill randomly generate aUUID.
 - 
addArgpublic RequestMessage.Builder addArg(String key, Object val) 
 - 
addpublic RequestMessage.Builder add(Object... keyValues) 
 - 
createpublic RequestMessage create() Create the request message given the settings provided to theRequestMessage.Builder.
 
- 
 
-