Record Class AcidTables.ParsedBase
java.lang.Object
java.lang.Record
io.trino.plugin.hive.util.AcidTables.ParsedBase
- Enclosing class:
AcidTables
-
Constructor Summary
ConstructorsConstructorDescriptionParsedBase(long writeId, long visibilityId) Creates an instance of aParsedBaserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.longReturns the value of thevisibilityIdrecord component.longwriteId()Returns the value of thewriteIdrecord component.
-
Constructor Details
-
ParsedBase
public ParsedBase(long writeId, long visibilityId) Creates an instance of aParsedBaserecord class.- Parameters:
writeId- the value for thewriteIdrecord componentvisibilityId- the value for thevisibilityIdrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
writeId
public long writeId()Returns the value of thewriteIdrecord component.- Returns:
- the value of the
writeIdrecord component
-
visibilityId
public long visibilityId()Returns the value of thevisibilityIdrecord component.- Returns:
- the value of the
visibilityIdrecord component
-