public class ChangeStreamsConstants
extends java.lang.Object
Spanner.readChangeStreams()
connector.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CHANGE_STREAM_NAME
The default change stream name for a change stream query is the empty
String . |
static com.google.cloud.Timestamp |
DEFAULT_INCLUSIVE_END_AT
The default end timestamp for a change stream query is
MAX_INCLUSIVE_END_AT . |
static com.google.cloud.Timestamp |
DEFAULT_INCLUSIVE_START_AT
The default start timestamp for a change stream query is
Timestamp.MIN_VALUE . |
static com.google.cloud.spanner.Options.RpcPriority |
DEFAULT_RPC_PRIORITY
The default priority for a change stream query is
Options.RpcPriority.HIGH . |
static com.google.cloud.Timestamp |
MAX_INCLUSIVE_END_AT
Represents the max end at that can be specified for a change stream.
|
static PartitionMetadata |
SAMPLE_PARTITION
We use a bogus partition here to estimate the average size of a partition metadata record.
|
static int |
THROUGHPUT_WINDOW_SECONDS
The sliding window size in seconds for throughput reporting.
|
Constructor and Description |
---|
ChangeStreamsConstants() |
public static final com.google.cloud.Timestamp MAX_INCLUSIVE_END_AT
public static final java.lang.String DEFAULT_CHANGE_STREAM_NAME
String
.public static final com.google.cloud.Timestamp DEFAULT_INCLUSIVE_START_AT
Timestamp.MIN_VALUE
.public static final com.google.cloud.Timestamp DEFAULT_INCLUSIVE_END_AT
MAX_INCLUSIVE_END_AT
.public static final com.google.cloud.spanner.Options.RpcPriority DEFAULT_RPC_PRIORITY
Options.RpcPriority.HIGH
.public static final int THROUGHPUT_WINDOW_SECONDS
public static final PartitionMetadata SAMPLE_PARTITION
The only dynamically allocated size field here is the "parentTokens", which is a set and can expand. In practice, however, partitions have 1 to 2 parents at most.