Package org.apache.cassandra.db
Interface RowIndexEntry.IndexSerializer<T>
-
- All Known Implementing Classes:
RowIndexEntry.Serializer
- Enclosing class:
- RowIndexEntry<T>
public static interface RowIndexEntry.IndexSerializer<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RowIndexEntry<T>
deserialize(DataInputPlus in, long indexFilePosition)
default RowIndexEntry<T>
deserialize(FileDataInput input)
default RowIndexEntry<T>
deserialize(RandomAccessReader reader)
RowIndexEntry<T>
deserializeForCache(DataInputPlus in)
long
deserializePositionAndSkip(DataInputPlus in)
ISerializer<T>
indexInfoSerializer()
void
serialize(RowIndexEntry<T> rie, DataOutputPlus out, java.nio.ByteBuffer indexInfo)
void
serializeForCache(RowIndexEntry<T> rie, DataOutputPlus out)
-
-
-
Method Detail
-
serialize
void serialize(RowIndexEntry<T> rie, DataOutputPlus out, java.nio.ByteBuffer indexInfo) throws java.io.IOException
- Throws:
java.io.IOException
-
deserialize
RowIndexEntry<T> deserialize(DataInputPlus in, long indexFilePosition) throws java.io.IOException
- Throws:
java.io.IOException
-
deserialize
default RowIndexEntry<T> deserialize(RandomAccessReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
deserialize
default RowIndexEntry<T> deserialize(FileDataInput input) throws java.io.IOException
- Throws:
java.io.IOException
-
serializeForCache
void serializeForCache(RowIndexEntry<T> rie, DataOutputPlus out) throws java.io.IOException
- Throws:
java.io.IOException
-
deserializeForCache
RowIndexEntry<T> deserializeForCache(DataInputPlus in) throws java.io.IOException
- Throws:
java.io.IOException
-
deserializePositionAndSkip
long deserializePositionAndSkip(DataInputPlus in) throws java.io.IOException
- Throws:
java.io.IOException
-
indexInfoSerializer
ISerializer<T> indexInfoSerializer()
-
-