@InterfaceAudience.Private
public interface IKVSerializer
Modifier and Type | Method and Description |
---|---|
int |
deserializeKV(DataInputStream in,
SizedWritable<?> key,
SizedWritable<?> value) |
int |
serializeKV(DataOutputStream out,
SizedWritable<?> key,
SizedWritable<?> value) |
int |
serializePartitionKV(DataOutputStream out,
int partitionId,
SizedWritable<?> key,
SizedWritable<?> value) |
void |
updateLength(SizedWritable<?> key,
SizedWritable<?> value)
update the length field of SizedWritable
|
void updateLength(SizedWritable<?> key, SizedWritable<?> value) throws IOException
IOException
int serializeKV(DataOutputStream out, SizedWritable<?> key, SizedWritable<?> value) throws IOException
IOException
int serializePartitionKV(DataOutputStream out, int partitionId, SizedWritable<?> key, SizedWritable<?> value) throws IOException
IOException
int deserializeKV(DataInputStream in, SizedWritable<?> key, SizedWritable<?> value) throws IOException
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.