Uses of Class
org.apache.tinkerpop.gremlin.server.Context
-
-
Uses of Context in org.apache.tinkerpop.gremlin.server
Methods in org.apache.tinkerpop.gremlin.server that return types with arguments of type Context Modifier and Type Method Description ThrowingConsumer<Context>
OpProcessor. select(Context ctx)
Given the context (which contains the RequestMessage), return back a Consumer function that will be executed with the context.Methods in org.apache.tinkerpop.gremlin.server with parameters of type Context Modifier and Type Method Description ThrowingConsumer<Context>
OpProcessor. select(Context ctx)
Given the context (which contains the RequestMessage), return back a Consumer function that will be executed with the context. -
Uses of Context in org.apache.tinkerpop.gremlin.server.handler
Subclasses of Context in org.apache.tinkerpop.gremlin.server.handler Modifier and Type Class Description class
SessionTask
ASessionTask
equates to a particular incoming request to theUnifiedHandler
and is analogous to aContext
in theOpProcessor
approach to handling requests to the server.Method parameters in org.apache.tinkerpop.gremlin.server.handler with type arguments of type Context Modifier and Type Method Description protected void
OpExecutorHandler. channelRead0(io.netty.channel.ChannelHandlerContext ctx, org.javatuples.Pair<RequestMessage,ThrowingConsumer<Context>> objects)
-
Uses of Context in org.apache.tinkerpop.gremlin.server.op
Methods in org.apache.tinkerpop.gremlin.server.op that return types with arguments of type Context Modifier and Type Method Description abstract ThrowingConsumer<Context>
AbstractEvalOpProcessor. getEvalOp()
Provides an operation for evaluating a Gremlin script.ThrowingConsumer<Context>
AbstractEvalOpProcessor. select(Context ctx)
abstract Optional<ThrowingConsumer<Context>>
AbstractEvalOpProcessor. selectOther(Context ctx)
A sub-class may have additional "ops" that it will service.protected Optional<ThrowingConsumer<Context>>
AbstractEvalOpProcessor. validateEvalMessage(RequestMessage message)
Methods in org.apache.tinkerpop.gremlin.server.op with parameters of type Context Modifier and Type Method Description protected void
AbstractEvalOpProcessor. evalOpInternal(Context ctx, Supplier<GremlinExecutor> gremlinExecutorSupplier, AbstractEvalOpProcessor.BindingSupplier bindingsSupplier)
A generalized implementation of the "eval" operation.protected void
AbstractOpProcessor. handleIterator(Context context, Iterator itty)
Provides a generic way of iterating a result set back to the client.protected static Frame
AbstractOpProcessor. makeFrame(Context ctx, RequestMessage msg, MessageSerializer<?> serializer, boolean useBinary, List<Object> aggregate, ResponseStatusCode code, Map<String,Object> responseMetaData, Map<String,Object> statusAttributes)
ThrowingConsumer<Context>
AbstractEvalOpProcessor. select(Context ctx)
abstract Optional<ThrowingConsumer<Context>>
AbstractEvalOpProcessor. selectOther(Context ctx)
A sub-class may have additional "ops" that it will service. -
Uses of Context in org.apache.tinkerpop.gremlin.server.op.session
Methods in org.apache.tinkerpop.gremlin.server.op.session that return types with arguments of type Context Modifier and Type Method Description protected Function<Context,AbstractEvalOpProcessor.BindingSupplier>
SessionOpProcessor. getBindingMaker(Session session)
A useful method for those extending this class, where the means for binding construction can be supplied to this class.ThrowingConsumer<Context>
SessionOpProcessor. getEvalOp()
Optional<ThrowingConsumer<Context>>
SessionOpProcessor. selectOther(Context ctx)
Older versions of session-based requests accepted a "close" operator in addition to "eval".protected Optional<ThrowingConsumer<Context>>
SessionOpProcessor. validateEvalMessage(RequestMessage message)
Methods in org.apache.tinkerpop.gremlin.server.op.session with parameters of type Context Modifier and Type Method Description protected void
SessionOpProcessor. beforeProcessing(Graph graph, Context ctx)
protected void
SessionOpProcessor. evalOp(Context context)
protected static Session
SessionOpProcessor. getSession(Context context, RequestMessage msg)
Examines theRequestMessage
and extracts the session token.protected void
SessionOpProcessor. handleGraphOperation(Bytecode bytecode, Graph graph, Context context)
IfBytecode
is detected to contain a "graph operation" then it gets processed by this method.protected void
SessionOpProcessor. handleIterator(Context context, Iterator itty, Graph graph)
protected void
SessionOpProcessor. onError(Graph graph, Context ctx)
protected void
SessionOpProcessor. onTraversalSuccess(Graph graph, Context ctx)
Optional<ThrowingConsumer<Context>>
SessionOpProcessor. selectOther(Context ctx)
Older versions of session-based requests accepted a "close" operator in addition to "eval".Constructors in org.apache.tinkerpop.gremlin.server.op.session with parameters of type Context Constructor Description Session(String session, Context context, ConcurrentHashMap<String,Session> sessions)
-
Uses of Context in org.apache.tinkerpop.gremlin.server.op.standard
Fields in org.apache.tinkerpop.gremlin.server.op.standard with type parameters of type Context Modifier and Type Field Description protected Function<Context,AbstractEvalOpProcessor.BindingSupplier>
StandardOpProcessor. bindingMaker
Methods in org.apache.tinkerpop.gremlin.server.op.standard that return types with arguments of type Context Modifier and Type Method Description protected Function<Context,AbstractEvalOpProcessor.BindingSupplier>
StandardOpProcessor. getBindingMaker()
A useful method for those extending this class, where the means for binding construction can be supplied to this class.ThrowingConsumer<Context>
StandardOpProcessor. getEvalOp()
Optional<ThrowingConsumer<Context>>
StandardOpProcessor. selectOther(Context ctx)
Methods in org.apache.tinkerpop.gremlin.server.op.standard with parameters of type Context Modifier and Type Method Description Optional<ThrowingConsumer<Context>>
StandardOpProcessor. selectOther(Context ctx)
-
Uses of Context in org.apache.tinkerpop.gremlin.server.op.traversal
Methods in org.apache.tinkerpop.gremlin.server.op.traversal that return types with arguments of type Context Modifier and Type Method Description ThrowingConsumer<Context>
TraversalOpProcessor. select(Context context)
Methods in org.apache.tinkerpop.gremlin.server.op.traversal with parameters of type Context Modifier and Type Method Description protected void
TraversalOpProcessor. beforeProcessing(Graph graph, Context ctx)
protected void
TraversalOpProcessor. handleIterator(Context context, Iterator itty, Graph graph)
protected void
TraversalOpProcessor. onError(Graph graph, Context ctx)
protected void
TraversalOpProcessor. onTraversalSuccess(Graph graph, Context ctx)
ThrowingConsumer<Context>
TraversalOpProcessor. select(Context context)
-