public abstract class UuidDeduplicationOptions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UuidDeduplicationOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static Duration |
DEFAULT_DEDUPLICATE_DURATION |
static int |
DEFAULT_HASH_PARTITIONS |
static TimeDomain |
DEFAULT_TIME_DOMAIN |
static SerializableStatusFunction<com.google.cloud.pubsublite.proto.SequencedMessage,Uuid> |
DEFAULT_UUID_EXTRACTOR |
Constructor and Description |
---|
UuidDeduplicationOptions() |
Modifier and Type | Method and Description |
---|---|
abstract Deduplicate.KeyedValues<Uuid,com.google.cloud.pubsublite.proto.SequencedMessage> |
deduplicate() |
abstract int |
hashPartitions() |
static UuidDeduplicationOptions.Builder |
newBuilder() |
abstract SerializableStatusFunction<com.google.cloud.pubsublite.proto.SequencedMessage,Uuid> |
uuidExtractor() |
public static final SerializableStatusFunction<com.google.cloud.pubsublite.proto.SequencedMessage,Uuid> DEFAULT_UUID_EXTRACTOR
public static final int DEFAULT_HASH_PARTITIONS
public static final TimeDomain DEFAULT_TIME_DOMAIN
public static final Duration DEFAULT_DEDUPLICATE_DURATION
public abstract SerializableStatusFunction<com.google.cloud.pubsublite.proto.SequencedMessage,Uuid> uuidExtractor()
public abstract Deduplicate.KeyedValues<Uuid,com.google.cloud.pubsublite.proto.SequencedMessage> deduplicate()
public abstract int hashPartitions()
public static UuidDeduplicationOptions.Builder newBuilder()