Package com.twicedb.shared
Record Class BackfillTt
java.lang.Object
java.lang.Record
com.twicedb.shared.BackfillTt
The transaction time to backfill data.
BackfillTt is assigned to writes by the client. An Fqn must be locked in order to use BackfillTt.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBackfillTt
(long backfillTt) Creates an instance of aBackfillTt
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the value of thebackfillTt
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
static BackfillTt
static BackfillTt
static BackfillTt
of
(ZonedDateTime zdt) static BackfillTt
final String
toString()
Returns a string representation of this record class.toTt()
-
Field Details
-
BACKFILL_TT_MIN
-
-
Constructor Details
-
BackfillTt
public BackfillTt(long backfillTt) Creates an instance of aBackfillTt
record class.- Parameters:
backfillTt
- the value for thebackfillTt
record component
-
-
Method Details
-
toTt
-
of
-
of
-
of
-
of
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
backfillTt
public long backfillTt()Returns the value of thebackfillTt
record component.- Returns:
- the value of the
backfillTt
record component
-