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.IOExceptionpublic RowIndexEntry<IndexHelper.IndexInfo> deserialize(DataInputPlus in) throws java.io.IOException
deserialize in interface RowIndexEntry.IndexSerializer<IndexHelper.IndexInfo>java.io.IOExceptionpublic static long readPosition(DataInputPlus in, Version version) throws java.io.IOException
java.io.IOExceptionpublic static void skip(DataInputPlus in, Version version) throws java.io.IOException
java.io.IOExceptionpublic int serializedSize(RowIndexEntry<IndexHelper.IndexInfo> rie)
serializedSize in interface RowIndexEntry.IndexSerializer<IndexHelper.IndexInfo>Copyright © 2016 The Apache Software Foundation