public static class RowIndexEntry.Serializer extends java.lang.Object implements RowIndexEntry.IndexSerializer<IndexHelper.IndexInfo>
Constructor and Description |
---|
Serializer(CFMetaData metadata,
Version version,
SerializationHeader header) |
Modifier and Type | Method and Description |
---|---|
RowIndexEntry<IndexHelper.IndexInfo> |
deserialize(DataInputPlus in) |
static long |
readPosition(DataInputPlus in,
Version version) |
void |
serialize(RowIndexEntry<IndexHelper.IndexInfo> rie,
DataOutputPlus out) |
int |
serializedSize(RowIndexEntry<IndexHelper.IndexInfo> rie) |
static void |
skip(DataInputPlus in,
Version version) |
public Serializer(CFMetaData metadata, Version version, SerializationHeader header)
public void serialize(RowIndexEntry<IndexHelper.IndexInfo> rie, DataOutputPlus out) throws java.io.IOException
serialize
in interface RowIndexEntry.IndexSerializer<IndexHelper.IndexInfo>
java.io.IOException
public RowIndexEntry<IndexHelper.IndexInfo> deserialize(DataInputPlus in) throws java.io.IOException
deserialize
in interface RowIndexEntry.IndexSerializer<IndexHelper.IndexInfo>
java.io.IOException
public static long readPosition(DataInputPlus in, Version version) throws java.io.IOException
java.io.IOException
public static void skip(DataInputPlus in, Version version) throws java.io.IOException
java.io.IOException
public int serializedSize(RowIndexEntry<IndexHelper.IndexInfo> rie)
serializedSize
in interface RowIndexEntry.IndexSerializer<IndexHelper.IndexInfo>
Copyright © 2018 The Apache Software Foundation