Uses of Class
org.apache.tinkerpop.gremlin.util.message.RequestMessage
-
-
Uses of RequestMessage in org.apache.tinkerpop.gremlin.driver
Methods in org.apache.tinkerpop.gremlin.driver that return RequestMessage Modifier and Type Method Description RequestMessageResultSet. getOriginalRequestMessage()Methods in org.apache.tinkerpop.gremlin.driver with parameters of type RequestMessage Modifier and Type Method Description protected org.apache.tinkerpop.gremlin.driver.ConnectionClient.AliasClusteredClient. chooseConnection(RequestMessage msg)Delegates to the underlyingClient.ClusteredClient.protected abstract org.apache.tinkerpop.gremlin.driver.ConnectionClient. chooseConnection(RequestMessage msg)Chooses aConnectionto write the message to.protected org.apache.tinkerpop.gremlin.driver.ConnectionClient.ClusteredClient. chooseConnection(RequestMessage msg)Uses aLoadBalancingStrategyto choose the bestHostand then selects the best connection from that host's connection pool.protected org.apache.tinkerpop.gremlin.driver.ConnectionClient.SessionedClient. chooseConnection(RequestMessage msg)Since the session is bound to a single host, simply borrow a connection from that pool.Iterator<Host>LoadBalancingStrategy.RoundRobin. select(RequestMessage msg)Iterator<Host>LoadBalancingStrategy. select(RequestMessage msg)Provide an ordered list of hosts to send the givenRequestMessageto.CompletableFuture<ResultSet>Client.AliasClusteredClient. submitAsync(RequestMessage msg)CompletableFuture<ResultSet>Client. submitAsync(RequestMessage msg)A low-level method that allows the submission of a manually constructedRequestMessage.Constructors in org.apache.tinkerpop.gremlin.driver with parameters of type RequestMessage Constructor Description ResultSet(org.apache.tinkerpop.gremlin.driver.ResultQueue resultQueue, ExecutorService executor, CompletableFuture<Void> readCompleted, RequestMessage originalRequestMessage, Host host) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.driver.handler
Methods in org.apache.tinkerpop.gremlin.driver.handler with parameters of type RequestMessage Modifier and Type Method Description protected voidHttpGremlinRequestEncoder. encode(io.netty.channel.ChannelHandlerContext channelHandlerContext, RequestMessage requestMessage, List<Object> objects)protected voidWebSocketGremlinRequestEncoder. encode(io.netty.channel.ChannelHandlerContext channelHandlerContext, RequestMessage requestMessage, List<Object> objects) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.driver.simple
Methods in org.apache.tinkerpop.gremlin.driver.simple with parameters of type RequestMessage Modifier and Type Method Description List<ResponseMessage>AbstractClient. submit(RequestMessage requestMessage)voidAbstractClient. submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback)List<ResponseMessage>SimpleClient. submit(RequestMessage requestMessage)voidSimpleClient. submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback)CompletableFuture<List<ResponseMessage>>AbstractClient. submitAsync(RequestMessage requestMessage)CompletableFuture<List<ResponseMessage>>SimpleClient. submitAsync(RequestMessage requestMessage)abstract voidAbstractClient. writeAndFlush(RequestMessage requestMessage)voidWebSocketClient. writeAndFlush(RequestMessage requestMessage) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.server
Methods in org.apache.tinkerpop.gremlin.server that return RequestMessage Modifier and Type Method Description RequestMessageContext. getRequestMessage()Gets the current request to Gremlin Server.Methods in org.apache.tinkerpop.gremlin.server with parameters of type RequestMessage Modifier and Type Method Description default voidGraphManager. beforeQueryStart(RequestMessage msg)This method will be called before a script or query is processed by the gremlin-server.default voidGraphManager. onQueryError(RequestMessage msg, Throwable error)This method will be called before a script or query is processed by the gremlin-server.default voidGraphManager. onQuerySuccess(RequestMessage msg)When a script or query successfully completes this method will be called.Constructors in org.apache.tinkerpop.gremlin.server with parameters of type RequestMessage Constructor Description Context(RequestMessage requestMessage, io.netty.channel.ChannelHandlerContext ctx, Settings settings, GraphManager graphManager, GremlinExecutor gremlinExecutor, ScheduledExecutorService scheduledExecutorService) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.server.authz
Methods in org.apache.tinkerpop.gremlin.server.authz with parameters of type RequestMessage Modifier and Type Method Description voidAuthorizer. authorize(AuthenticatedUser user, RequestMessage msg)Checks whether a user is authorized to have a script request from a gremlin client answered and raises anAuthorizationExceptionif this is not the case. -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.server.handler
Fields in org.apache.tinkerpop.gremlin.server.handler with type parameters of type RequestMessage Modifier and Type Field Description static io.netty.util.AttributeKey<RequestMessage>StateKey. REQUEST_MESSAGEThe key for the current request.Methods in org.apache.tinkerpop.gremlin.server.handler that return RequestMessage Modifier and Type Method Description static RequestMessageHttpHandlerUtil. getRequestMessageFromHttpRequest(io.netty.handler.codec.http.FullHttpRequest request)Convert a http request into aRequestMessage.static RequestMessageHttpHandlerUtil. getRequestMessageFromHttpRequest(io.netty.handler.codec.http.FullHttpRequest request, Map<String,MessageSerializer<?>> serializers)Convert a http request into aRequestMessage.Methods in org.apache.tinkerpop.gremlin.server.handler with parameters of type RequestMessage Modifier and Type Method Description protected voidUnifiedHandler. channelRead0(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg)protected voidOpSelectorHandler. decode(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg, List<Object> objects)protected voidUnifiedHandler. validateRequest(RequestMessage message, GraphManager graphManager)Method parameters in org.apache.tinkerpop.gremlin.server.handler with type arguments of type RequestMessage Modifier and Type Method Description protected voidOpExecutorHandler. channelRead0(io.netty.channel.ChannelHandlerContext ctx, org.javatuples.Pair<RequestMessage,ThrowingConsumer<Context>> objects)Constructors in org.apache.tinkerpop.gremlin.server.handler with parameters of type RequestMessage Constructor Description SessionTask(RequestMessage requestMessage, io.netty.channel.ChannelHandlerContext ctx, Settings settings, GraphManager graphManager, GremlinExecutor gremlinExecutor, ScheduledExecutorService scheduledExecutorService) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.server.op
Methods in org.apache.tinkerpop.gremlin.server.op with parameters of type RequestMessage Modifier and Type Method Description protected static voidAbstractOpProcessor. attemptCommit(RequestMessage msg, GraphManager graphManager, boolean strict)protected static voidAbstractOpProcessor. attemptRollback(RequestMessage msg, GraphManager graphManager, boolean strict)protected Map<String,Object>AbstractOpProcessor. generateResultMetaData(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg, ResponseStatusCode code, Iterator itty, Settings settings)Generates response result meta-data to put on aResponseMessage.protected Map<String,Object>AbstractOpProcessor. generateStatusAttributes(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg, ResponseStatusCode code, Iterator itty, Settings settings)Generates response status meta-data to put on aResponseMessage.protected booleanAbstractOpProcessor. isForceFlushed(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg, Iterator itty)Determines if aFrameshould be force flushed outside of theresultIterationBatchSizeand the termination of the iterator.protected voidAbstractOpProcessor. iterateComplete(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg, Iterator itty)Called when iteration withinAbstractOpProcessor.handleIterator(Context, Iterator)is on its final pass and the final frame is about to be sent back to the client.protected static FrameAbstractOpProcessor. makeFrame(Context ctx, RequestMessage msg, MessageSerializer<?> serializer, boolean useBinary, List<Object> aggregate, ResponseStatusCode code, Map<String,Object> responseMetaData, Map<String,Object> statusAttributes)protected Optional<ThrowingConsumer<Context>>AbstractEvalOpProcessor. validateEvalMessage(RequestMessage message) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.server.op.session
Methods in org.apache.tinkerpop.gremlin.server.op.session with parameters of type RequestMessage Modifier and Type Method Description protected static SessionSessionOpProcessor. getSession(Context context, RequestMessage msg)Examines theRequestMessageand extracts the session token.protected Optional<ThrowingConsumer<Context>>SessionOpProcessor. validateEvalMessage(RequestMessage message) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.server.util
Methods in org.apache.tinkerpop.gremlin.server.util that return RequestMessage Modifier and Type Method Description RequestMessageTextPlainMessageSerializer. deserializeRequest(io.netty.buffer.ByteBuf msg)RequestMessageTextPlainMessageSerializer. deserializeRequest(String msg)Methods in org.apache.tinkerpop.gremlin.server.util with parameters of type RequestMessage Modifier and Type Method Description io.netty.buffer.ByteBufTextPlainMessageSerializer. serializeRequestAsBinary(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringTextPlainMessageSerializer. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.util
Methods in org.apache.tinkerpop.gremlin.util that return RequestMessage Modifier and Type Method Description RequestMessageMessageSerializer. deserializeRequest(io.netty.buffer.ByteBuf msg)Deserialize a NettyByteBufinto aRequestMessage.Methods in org.apache.tinkerpop.gremlin.util with parameters of type RequestMessage Modifier and Type Method Description io.netty.buffer.ByteBufMessageSerializer. serializeRequestAsBinary(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)Serialize aResponseMessageto a NettyByteBuf. -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.util.message
Fields in org.apache.tinkerpop.gremlin.util.message declared as RequestMessage Modifier and Type Field Description static RequestMessageRequestMessage. INVALIDAn "invalid" message.Methods in org.apache.tinkerpop.gremlin.util.message that return RequestMessage Modifier and Type Method Description RequestMessageRequestMessage.Builder. create()Create the request message given the settings provided to theRequestMessage.Builder.Methods in org.apache.tinkerpop.gremlin.util.message with parameters of type RequestMessage Modifier and Type Method Description static ResponseMessage.BuilderResponseMessage. build(RequestMessage requestMessage)static RequestMessage.BuilderRequestMessage. from(RequestMessage msg) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.util.ser
Methods in org.apache.tinkerpop.gremlin.util.ser that return RequestMessage Modifier and Type Method Description RequestMessageAbstractGraphSONMessageSerializerV2.RequestMessageDeserializer. createObject(Map<String,Object> data)RequestMessageAbstractGraphSONMessageSerializerV1. deserializeRequest(io.netty.buffer.ByteBuf msg)RequestMessageAbstractGraphSONMessageSerializerV2. deserializeRequest(io.netty.buffer.ByteBuf msg)RequestMessageGraphBinaryMessageSerializerV1. deserializeRequest(io.netty.buffer.ByteBuf msg)RequestMessageGraphBinaryMessageSerializerV1. deserializeRequest(String msg)RequestMessageGraphSONMessageSerializerV1. deserializeRequest(String msg)RequestMessageGraphSONMessageSerializerV2. deserializeRequest(String msg)RequestMessageGraphSONMessageSerializerV3. deserializeRequest(String msg)RequestMessageGraphSONUntypedMessageSerializerV1. deserializeRequest(String msg)RequestMessageGraphSONUntypedMessageSerializerV2. deserializeRequest(String msg)RequestMessageGraphSONUntypedMessageSerializerV3. deserializeRequest(String msg)RequestMessageMessageTextSerializer. deserializeRequest(String msg)<I extends InputShim>
RequestMessageRequestMessageGryoSerializer. read(KryoShim<I,?> kryo, I input, Class<RequestMessage> aClass)Methods in org.apache.tinkerpop.gremlin.util.ser with parameters of type RequestMessage Modifier and Type Method Description voidAbstractGraphSONMessageSerializerV2.RequestMessageSerializer. ser(RequestMessage requestMessage, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider, org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSerializer)voidAbstractGraphSONMessageSerializerV2.RequestMessageSerializer. serialize(RequestMessage requestMessage, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider)io.netty.buffer.ByteBufAbstractGraphSONMessageSerializerV1. serializeRequestAsBinary(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)io.netty.buffer.ByteBufAbstractGraphSONMessageSerializerV2. serializeRequestAsBinary(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)io.netty.buffer.ByteBufGraphBinaryMessageSerializerV1. serializeRequestAsBinary(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringGraphBinaryMessageSerializerV1. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringGraphSONMessageSerializerV1. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringGraphSONMessageSerializerV2. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringGraphSONMessageSerializerV3. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringGraphSONUntypedMessageSerializerV1. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringGraphSONUntypedMessageSerializerV2. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringGraphSONUntypedMessageSerializerV3. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringMessageTextSerializer. serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)voidAbstractGraphSONMessageSerializerV2.RequestMessageSerializer. serializeWithType(RequestMessage requestMessage, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider, org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSerializer)<O extends OutputShim>
voidRequestMessageGryoSerializer. write(KryoShim<?,O> kryo, O output, RequestMessage requestMessage)Method parameters in org.apache.tinkerpop.gremlin.util.ser with type arguments of type RequestMessage Modifier and Type Method Description <I extends InputShim>
RequestMessageRequestMessageGryoSerializer. read(KryoShim<I,?> kryo, I input, Class<RequestMessage> aClass) -
Uses of RequestMessage in org.apache.tinkerpop.gremlin.util.ser.binary
Methods in org.apache.tinkerpop.gremlin.util.ser.binary that return RequestMessage Modifier and Type Method Description RequestMessageRequestMessageSerializer. readValue(io.netty.buffer.ByteBuf byteBuf, GraphBinaryReader context)Methods in org.apache.tinkerpop.gremlin.util.ser.binary with parameters of type RequestMessage Modifier and Type Method Description voidRequestMessageSerializer. writeValue(RequestMessage value, io.netty.buffer.ByteBuf byteBuf, GraphBinaryWriter context)
-