Record Class Schema
java.lang.Object
java.lang.Record
io.trino.plugin.hive.Schema
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longfinal inthashCode()Returns a hash code value for this object.booleanReturns the value of theisFullAcidTablerecord component.Returns the value of theserdePropertiesrecord component.Returns the value of theserializationLibraryNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Schema
public Schema(String serializationLibraryName, boolean isFullAcidTable, Map<String, String> serdeProperties) Creates an instance of aSchemarecord class.- Parameters:
serializationLibraryName- the value for theserializationLibraryNamerecord componentisFullAcidTable- the value for theisFullAcidTablerecord componentserdeProperties- the value for theserdePropertiesrecord component
-
-
Method Details
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes() -
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. -
serializationLibraryName
Returns the value of theserializationLibraryNamerecord component.- Returns:
- the value of the
serializationLibraryNamerecord component
-
isFullAcidTable
public boolean isFullAcidTable()Returns the value of theisFullAcidTablerecord component.- Returns:
- the value of the
isFullAcidTablerecord component
-
serdeProperties
-