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 SerializableFunction<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() |
static UuidDeduplicationOptions.Builder |
newBuilder() |
abstract SerializableFunction<com.google.cloud.pubsublite.proto.SequencedMessage,Uuid> |
uuidExtractor() |
public static final SerializableFunction<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 SerializableFunction<com.google.cloud.pubsublite.proto.SequencedMessage,Uuid> uuidExtractor()
public abstract Deduplicate.KeyedValues<Uuid,com.google.cloud.pubsublite.proto.SequencedMessage> deduplicate()
public static UuidDeduplicationOptions.Builder newBuilder()