Package io.trino.plugin.deltalake
Record Class DeltaLakeTable
java.lang.Object
java.lang.Record
io.trino.plugin.deltalake.DeltaLakeTable
public record DeltaLakeTable(List<DeltaLakeTable.DeltaLakeColumn> columns, List<String> constraints)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionDeltaLakeTable(List<DeltaLakeTable.DeltaLakeColumn> columns, List<String> constraints) Creates an instance of aDeltaLakeTablerecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeltaLakeTable.Builderbuilder()static DeltaLakeTable.Builderbuilder(MetadataEntry metadataEntry, ProtocolEntry protocolEntry) columns()Returns the value of thecolumnsrecord component.Returns the value of theconstraintsrecord component.final booleanIndicates whether some other object is "equal to" this one.findColumn(String name) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeltaLakeTable
Creates an instance of aDeltaLakeTablerecord class.- Parameters:
columns- the value for thecolumnsrecord componentconstraints- the value for theconstraintsrecord component
-
-
Method Details
-
findColumn
-
builder
-
builder
public static DeltaLakeTable.Builder builder(MetadataEntry metadataEntry, ProtocolEntry protocolEntry) -
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). -
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-
constraints
Returns the value of theconstraintsrecord component.- Returns:
- the value of the
constraintsrecord component
-