Record Class DeletionVectorEntry
java.lang.Object
java.lang.Record
io.trino.plugin.deltalake.transactionlog.DeletionVectorEntry
public record DeletionVectorEntry(String storageType, String pathOrInlineDv, OptionalInt offset, int sizeInBytes, long cardinality)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDeletionVectorEntry(String storageType, String pathOrInlineDv, OptionalInt offset, int sizeInBytes, long cardinality) Creates an instance of aDeletionVectorEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecardinalityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.offset()Returns the value of theoffsetrecord component.Returns the value of thepathOrInlineDvrecord component.intReturns the value of thesizeInBytesrecord component.Returns the value of thestorageTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeletionVectorEntry
public DeletionVectorEntry(String storageType, String pathOrInlineDv, OptionalInt offset, int sizeInBytes, long cardinality) Creates an instance of aDeletionVectorEntryrecord class.- Parameters:
storageType- the value for thestorageTyperecord componentpathOrInlineDv- the value for thepathOrInlineDvrecord componentoffset- the value for theoffsetrecord componentsizeInBytes- the value for thesizeInBytesrecord componentcardinality- the value for thecardinalityrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
storageType
Returns the value of thestorageTyperecord component.- Returns:
- the value of the
storageTyperecord component
-
pathOrInlineDv
Returns the value of thepathOrInlineDvrecord component.- Returns:
- the value of the
pathOrInlineDvrecord component
-
offset
Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
sizeInBytes
public int sizeInBytes()Returns the value of thesizeInBytesrecord component.- Returns:
- the value of the
sizeInBytesrecord component
-
cardinality
public long cardinality()Returns the value of thecardinalityrecord component.- Returns:
- the value of the
cardinalityrecord component
-