Record Class FileManifest
java.lang.Object
java.lang.Record
de.julianweinelt.datacat.dbx.api.plugins.yarn.FileManifest
-
Constructor Summary
ConstructorsConstructorDescriptionFileManifest(String formatVersion, String checksum, String compression) Creates an instance of aFileManifestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchecksum()Returns the value of thechecksumrecord component.Returns the value of thecompressionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformatVersionrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FileManifest
Creates an instance of aFileManifestrecord class.- Parameters:
formatVersion- the value for theformatVersionrecord componentchecksum- the value for thechecksumrecord componentcompression- the value for thecompressionrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
formatVersion
Returns the value of theformatVersionrecord component.- Returns:
- the value of the
formatVersionrecord component
-
checksum
Returns the value of thechecksumrecord component.- Returns:
- the value of the
checksumrecord component
-
compression
Returns the value of thecompressionrecord component.- Returns:
- the value of the
compressionrecord component
-