public class BlockTrailer extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ENCODED_LENGTH |
Constructor and Description |
---|
BlockTrailer(BlockCompressionType compressionType,
int crc32c) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BlockCompressionType |
getCompressionType() |
int |
getCrc32c() |
int |
hashCode() |
static BlockTrailer |
readBlockTrailer(MemorySliceInput input) |
String |
toString() |
static MemorySlice |
writeBlockTrailer(BlockTrailer blockTrailer) |
static void |
writeBlockTrailer(BlockTrailer blockTrailer,
MemorySliceOutput sliceOutput) |
public static final int ENCODED_LENGTH
public BlockTrailer(BlockCompressionType compressionType, int crc32c)
public BlockCompressionType getCompressionType()
public int getCrc32c()
public static BlockTrailer readBlockTrailer(MemorySliceInput input)
public static MemorySlice writeBlockTrailer(BlockTrailer blockTrailer)
public static void writeBlockTrailer(BlockTrailer blockTrailer, MemorySliceOutput sliceOutput)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.