- java.lang.Object
-
- org.redkale.convert.MapEncoder<ProtobufWriter,K,V>
-
- org.redkale.convert.pb.ProtobufMapEncoder<K,V>
-
- 类型参数:
K
- KV
- V
- 所有已实现的接口:
Encodeable<ProtobufWriter,Map<K,V>>
,ProtobufEncodeable<ProtobufWriter,Map<K,V>>
public class ProtobufMapEncoder<K,V> extends MapEncoder<ProtobufWriter,K,V> implements ProtobufEncodeable<ProtobufWriter,Map<K,V>>
- 作者:
- zhangjx
-
-
字段概要
-
从类继承的字段 org.redkale.convert.MapEncoder
ignoreMapColumns, inited, keyEncoder, type, valueEncoder
-
-
构造器概要
构造器 构造器 说明 ProtobufMapEncoder(ConvertFactory factory, Type type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
computeSize(ProtobufWriter out, int tagSize, Map<K,V> value)
protected int
computeSize(ProtobufWriter out, K key, V val)
void
convertTo(ProtobufWriter out, EnMember member, Map<K,V> value)
-
从类继承的方法 org.redkale.convert.MapEncoder
checkInited, convertTo, getKeyEncoder, getKeyType, getType, getValueEncoder, getValueType, setIndex, setPosition, setTag, setTagSize, specifyable
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.redkale.convert.Encodeable
convertTo, getType, specifyable
-
-
-
-
构造器详细资料
-
ProtobufMapEncoder
public ProtobufMapEncoder(ConvertFactory factory, Type type)
-
-
方法详细资料
-
convertTo
public void convertTo(ProtobufWriter out, @Nonnull EnMember member, Map<K,V> value)
- 指定者:
convertTo
在接口中ProtobufEncodeable<K,V>
- 覆盖:
convertTo
在类中MapEncoder<ProtobufWriter,K,V>
-
computeSize
protected int computeSize(ProtobufWriter out, K key, V val)
-
computeSize
public int computeSize(ProtobufWriter out, int tagSize, Map<K,V> value)
- 指定者:
computeSize
在接口中ProtobufEncodeable<K,V>
-
-