Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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(RequestMessage requestMessage)
A sub-class may have additional "ops" that it will service.
|
protected Optional<ThrowingConsumer<Context>> |
AbstractEvalOpProcessor.validateEvalMessage(RequestMessage message) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractEvalOpProcessor.evalOpInternal(Context context,
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.
|
ThrowingConsumer<Context> |
AbstractEvalOpProcessor.select(Context ctx) |
Modifier and Type | Method and 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(RequestMessage requestMessage)
Session based requests accept a "close" operator in addition to "eval".
|
protected Optional<ThrowingConsumer<Context>> |
SessionOpProcessor.validateEvalMessage(RequestMessage message) |
Modifier and Type | Method and Description |
---|---|
protected void |
SessionOpProcessor.evalOp(Context context) |
protected static Session |
SessionOpProcessor.getSession(Context context,
RequestMessage msg)
Examines the
RequestMessage and extracts the session token. |
Constructor and Description |
---|
Session(String session,
Context context,
ConcurrentHashMap<String,Session> sessions) |
Modifier and Type | Field and Description |
---|---|
protected Function<Context,AbstractEvalOpProcessor.BindingSupplier> |
StandardOpProcessor.bindingMaker |
Modifier and Type | Method and 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(RequestMessage requestMessage) |
Modifier and Type | Method and Description |
---|---|
ThrowingConsumer<Context> |
TraversalOpProcessor.select(Context ctx) |
Modifier and Type | Method and 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.onSideEffectSuccess(Graph graph,
Context ctx) |
protected void |
TraversalOpProcessor.onTraversalSuccess(Graph graph,
Context ctx) |
ThrowingConsumer<Context> |
TraversalOpProcessor.select(Context ctx) |
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.