类的使用
org.redkale.convert.DeMember
-
使用DeMember的程序包 程序包 说明 org.redkale.convert 提供数据的序列化和反解析功能org.redkale.convert.json 提供JSON的序列化和反解析功能org.redkale.convert.pb -
-
org.redkale.convert中DeMember的使用
声明为DeMember的org.redkale.convert中的字段 修饰符和类型 字段 说明 protected DeMember<R,T,?>[]
ObjectDecoder. creatorConstructorMembers
protected DeMember[]
DeMemberInfo. members
类型参数类型为DeMember的org.redkale.convert中的字段 修饰符和类型 字段 说明 protected Map<String,DeMember>
DeMemberInfo. memberFieldMap
protected Map<Integer,DeMember>
DeMemberInfo. memberTagMap
返回DeMember的org.redkale.convert中的方法 修饰符和类型 方法 说明 static <R extends Reader,T,F>
DeMember<R,T,F>DeMember. create(ConvertFactory factory, Class<T> clazz, String fieldName)
static <R extends Reader,T,F>
DeMember<R,T,F>DeMember. create(ConvertFactory factory, Class<T> clazz, String fieldName, Class<F> fieldType)
static <R extends Reader,T,F>
DeMember<R,T,F>DeMember. create(Attribute<T,F> attribute, ConvertFactory factory, Class<F> fieldType)
DeMember<R,T,?>[]
ObjectDecoder. getConstructorMembers()
DeMember
DeMemberInfo. getMemberByField(String field)
DeMember
DeMemberInfo. getMemberByTag(int tag)
DeMember[]
DeMemberInfo. getMembers()
DeMember[]
ObjectDecoder. getMembers()
abstract DeMember
Reader. readField(DeMemberInfo memberInfo)
根据字段读取字段对应的DeMember返回变量类型为DeMember的类型的org.redkale.convert中的方法 修饰符和类型 方法 说明 ByteTreeNode<DeMember>
DeMemberInfo. getMemberNode()
ByteTreeNode<DeMember>
DeMemberInfo.DeMemberNode. put(String key, DeMember value)
参数类型为DeMember的org.redkale.convert中的方法 修饰符和类型 方法 说明 int
DeMember. compareTo(boolean fieldSort, DeMember<R,T,F> o)
static DeMemberInfo
DeMemberInfo. create(DeMember... deMembers)
protected void
ObjectDecoder. initFieldMember(DeMember[] deMembers)
protected void
ObjectDecoder. initForEachDeMember(ConvertFactory factory, DeMember member)
ByteTreeNode<DeMember>
DeMemberInfo.DeMemberNode. put(String key, DeMember value)
protected Object
ObjectDecoder. readDeMemberValue(R in, DeMember member)
protected void
MapDecoder. setIndex(DeMember member, int index)
protected void
ObjectDecoder. setIndex(DeMember member, int index)
protected void
MapDecoder. setPosition(DeMember member, int position)
protected void
ObjectDecoder. setPosition(DeMember member, int position)
protected void
MapDecoder. setTag(DeMember member, int tag)
protected void
ObjectDecoder. setTag(DeMember member, int tag)
protected void
MapDecoder. setTagSize(DeMember member, int tagSize)
protected void
ObjectDecoder. setTagSize(DeMember member, int tagSize)
参数类型为DeMember的org.redkale.convert中的构造器 构造器 说明 DeMemberInfo(DeMember... deMembers)
-
org.redkale.convert.json中DeMember的使用
返回DeMember的org.redkale.convert.json中的方法 修饰符和类型 方法 说明 DeMember
JsonByteBufferReader. readField(DeMemberInfo memberInfo)
DeMember
JsonReader. readField(DeMemberInfo memberInfo)
-
org.redkale.convert.pb中DeMember的使用
声明为DeMember的org.redkale.convert.pb中的字段 修饰符和类型 字段 说明 protected DeMember
ProtobufMapDecoder. keyMember
protected DeMember
ProtobufMapDecoder. valueMember
返回DeMember的org.redkale.convert.pb中的方法 修饰符和类型 方法 说明 DeMember
ProtobufReader. readField(DeMemberInfo memberInfo)
参数类型为DeMember的org.redkale.convert.pb中的方法 修饰符和类型 方法 说明 T[]
ProtobufArrayDecoder. convertFrom(ProtobufReader in, DeMember member)
Collection<T>
ProtobufCollectionDecoder. convertFrom(ProtobufReader in, DeMember member)
Map<K,V>
ProtobufMapDecoder. convertFrom(ProtobufReader in, DeMember member)
T
ProtobufObjectDecoder. convertFrom(ProtobufReader in, DeMember member)
Stream<T>
ProtobufStreamDecoder. convertFrom(ProtobufReader in, DeMember member)
T
ProtobufTagDecodeable. convertFrom(R in, DeMember member)
反序列化操作protected T[]
ProtobufArrayDecoder. convertObjectFrom(ProtobufReader in, DeMember member)
protected Collection<T>
ProtobufCollectionDecoder. convertObjectFrom(ProtobufReader in, DeMember member)
protected Stream<T>
ProtobufStreamDecoder. convertObjectFrom(ProtobufReader in, DeMember member)
protected T[]
ProtobufArrayDecoder. convertPrimitivedFrom(ProtobufReader in, DeMember member)
protected Collection<T>
ProtobufCollectionDecoder. convertPrimitivedFrom(ProtobufReader in, DeMember member)
protected Stream<T>
ProtobufStreamDecoder. convertPrimitivedFrom(ProtobufReader in, DeMember member)
protected T[]
ProtobufArrayDecoder. convertSimpledFrom(ProtobufReader in, DeMember member)
protected Collection<T>
ProtobufCollectionDecoder. convertSimpledFrom(ProtobufReader in, DeMember member)
protected Stream<T>
ProtobufStreamDecoder. convertSimpledFrom(ProtobufReader in, DeMember member)
static int
ProtobufFactory. getTag(DeMember member, boolean enumtostring)
protected void
ProtobufObjectDecoder. initForEachDeMember(ConvertFactory factory, DeMember member)
protected Object
ProtobufObjectDecoder. readDeMemberValue(ProtobufReader in, DeMember member)
boolean
ProtobufReader. readNextTag(DeMember member)
类型变量类型为DeMember的org.redkale.convert.pb中的方法参数 修饰符和类型 方法 说明 protected void
ProtobufConvert. defineJsonDecodeDescriptor(Type parent, List<String> list, Type type, StringBuilder sb, String prefix, BiFunction<Type,DeMember,Boolean> excludeFunc)
String
ProtobufConvert. getJsonDecodeDescriptor(Type type, BiFunction<Type,DeMember,Boolean> func)
protected String
ProtobufConvert. getJsonDecodeDescriptor(Type parent, List<String> list, Type type, BiFunction<Type,DeMember,Boolean> func)
-