Record Class AcidTables.ParsedDelta
java.lang.Object
java.lang.Record
io.trino.plugin.hive.util.AcidTables.ParsedDelta
- All Implemented Interfaces:
Comparable<AcidTables.ParsedDelta>
- Enclosing class:
AcidTables
public static record AcidTables.ParsedDelta(long min, long max, String path, int statementId, boolean deleteDelta, List<FileEntry> files)
extends Record
implements Comparable<AcidTables.ParsedDelta>
-
Constructor Summary
ConstructorsConstructorDescriptionParsedDelta(long min, long max, String path, int statementId, boolean deleteDelta, List<FileEntry> files) Creates an instance of aParsedDeltarecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(AcidTables.ParsedDelta other) booleanReturns the value of thedeleteDeltarecord component.final booleanIndicates whether some other object is "equal to" this one.files()Returns the value of thefilesrecord component.final inthashCode()Returns a hash code value for this object.longmax()Returns the value of themaxrecord component.longmin()Returns the value of theminrecord component.path()Returns the value of thepathrecord component.intReturns the value of thestatementIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedDelta
public ParsedDelta(long min, long max, String path, int statementId, boolean deleteDelta, List<FileEntry> files) Creates an instance of aParsedDeltarecord class.- Parameters:
min- the value for theminrecord componentmax- the value for themaxrecord componentpath- the value for thepathrecord componentstatementId- the value for thestatementIdrecord componentdeleteDelta- the value for thedeleteDeltarecord componentfiles- the value for thefilesrecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<AcidTables.ParsedDelta>
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
min
public long min()Returns the value of theminrecord component.- Returns:
- the value of the
minrecord component
-
max
public long max()Returns the value of themaxrecord component.- Returns:
- the value of the
maxrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
statementId
public int statementId()Returns the value of thestatementIdrecord component.- Returns:
- the value of the
statementIdrecord component
-
deleteDelta
public boolean deleteDelta()Returns the value of thedeleteDeltarecord component.- Returns:
- the value of the
deleteDeltarecord component
-
files
-