Class XXHash32Digest
- java.lang.Object
-
- org.apache.cassandra.spark.common.XXHash32Digest
-
-
Constructor Summary
Constructors Constructor Description XXHash32Digest(java.lang.String value, int seed)Constructs a new XXHashDigest with the provided XXHashvalueand the seed value represented as a hexadecimal string
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringseedHex()o.a.c.sidecar.client.shaded.common.request.data.DigesttoSidecarDigest()java.lang.StringtoString()java.lang.Stringvalue()
-
-
-
Constructor Detail
-
XXHash32Digest
public XXHash32Digest(@NotNull java.lang.String value, int seed)Constructs a new XXHashDigest with the provided XXHashvalueand the seed value represented as a hexadecimal string- Parameters:
value- the xxhash valueseed- the value of the seed used to calculate the digest
-
-
Method Detail
-
value
public java.lang.String value()
-
seedHex
@Nullable public java.lang.String seedHex()
- Returns:
- the optional seed in hexadecimal format
-
toSidecarDigest
public o.a.c.sidecar.client.shaded.common.request.data.Digest toSidecarDigest()
- Specified by:
toSidecarDigestin interfaceDigest- Returns:
- the digest translated to Sidecar digest
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-