类 ProtobufConverter


  • @ApplicationScoped
    public class ProtobufConverter
    extends java.lang.Object
    • 构造器概要

      构造器 
      构造器 说明
      ProtobufConverter​(io.graphoenix.core.handler.DocumentManager documentManager, jakarta.json.spi.JsonProvider jsonProvider, jakarta.json.bind.Jsonb jsonb)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      com.google.protobuf.Message fromJsonValue​(jakarta.json.JsonValue jsonValue, com.google.protobuf.Message.Builder builder, io.graphoenix.spi.graphql.type.FieldDefinition fieldDefinition)  
      jakarta.json.JsonValue toJsonValue​(com.google.protobuf.MessageOrBuilder messageOrBuilder, io.graphoenix.spi.graphql.type.FieldDefinition fieldDefinition)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ProtobufConverter

        @Inject
        public ProtobufConverter​(io.graphoenix.core.handler.DocumentManager documentManager,
                                 jakarta.json.spi.JsonProvider jsonProvider,
                                 jakarta.json.bind.Jsonb jsonb)
    • 方法详细资料

      • toJsonValue

        public jakarta.json.JsonValue toJsonValue​(com.google.protobuf.MessageOrBuilder messageOrBuilder,
                                                  io.graphoenix.spi.graphql.type.FieldDefinition fieldDefinition)
      • fromJsonValue

        public com.google.protobuf.Message fromJsonValue​(jakarta.json.JsonValue jsonValue,
                                                         com.google.protobuf.Message.Builder builder,
                                                         io.graphoenix.spi.graphql.type.FieldDefinition fieldDefinition)