public class ClickHouseBlockChecksum extends Object
| Constructor and Description |
|---|
ClickHouseBlockChecksum(long first,
long second) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asBytes() |
static ClickHouseBlockChecksum |
calculateForBlock(byte magic,
int compressedSizeWithHeader,
int uncompressedSize,
byte[] data,
int length) |
boolean |
equals(Object o) |
static ClickHouseBlockChecksum |
fromBytes(byte[] checksum) |
int |
hashCode() |
String |
toString() |
public static ClickHouseBlockChecksum fromBytes(byte[] checksum)
public static ClickHouseBlockChecksum calculateForBlock(byte magic, int compressedSizeWithHeader, int uncompressedSize, byte[] data, int length)
public byte[] asBytes()
Copyright © 2020. All rights reserved.