public class PartitionRestriction
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PartitionRestriction(com.google.cloud.Timestamp startTimestamp,
com.google.cloud.Timestamp endTimestamp,
PartitionMode mode,
@Nullable PartitionMode stoppedMode) |
Modifier and Type | Method and Description |
---|---|
static PartitionRestriction |
done(com.google.cloud.Timestamp startTimestamp,
com.google.cloud.Timestamp endTimestamp) |
boolean |
equals(@Nullable java.lang.Object o) |
com.google.cloud.Timestamp |
getEndTimestamp() |
PartitionRestrictionMetadata |
getMetadata() |
PartitionMode |
getMode() |
com.google.cloud.Timestamp |
getStartTimestamp() |
@Nullable PartitionMode |
getStoppedMode() |
int |
hashCode() |
static PartitionRestriction |
queryChangeStream(com.google.cloud.Timestamp startTimestamp,
com.google.cloud.Timestamp endTimestamp) |
static PartitionRestriction |
stop(PartitionRestriction restriction) |
java.lang.String |
toString() |
static PartitionRestriction |
updateState(com.google.cloud.Timestamp startTimestamp,
com.google.cloud.Timestamp endTimestamp) |
static PartitionRestriction |
waitForChildPartitions(com.google.cloud.Timestamp startTimestamp,
com.google.cloud.Timestamp endTimestamp) |
PartitionRestriction |
withMetadata(PartitionRestrictionMetadata metadata) |
public PartitionRestriction(com.google.cloud.Timestamp startTimestamp, com.google.cloud.Timestamp endTimestamp, PartitionMode mode, @Nullable PartitionMode stoppedMode)
public static PartitionRestriction updateState(com.google.cloud.Timestamp startTimestamp, com.google.cloud.Timestamp endTimestamp)
public static PartitionRestriction queryChangeStream(com.google.cloud.Timestamp startTimestamp, com.google.cloud.Timestamp endTimestamp)
public static PartitionRestriction waitForChildPartitions(com.google.cloud.Timestamp startTimestamp, com.google.cloud.Timestamp endTimestamp)
public static PartitionRestriction done(com.google.cloud.Timestamp startTimestamp, com.google.cloud.Timestamp endTimestamp)
public static PartitionRestriction stop(PartitionRestriction restriction)
public PartitionRestriction withMetadata(PartitionRestrictionMetadata metadata)
public com.google.cloud.Timestamp getStartTimestamp()
public com.google.cloud.Timestamp getEndTimestamp()
public PartitionMode getMode()
public @Nullable PartitionMode getStoppedMode()
public PartitionRestrictionMetadata getMetadata()
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object