Package io.trino.plugin.iceberg
Class ColumnIdentity
java.lang.Object
io.trino.plugin.iceberg.ColumnIdentity
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionColumnIdentity(int id, String name, ColumnIdentity.TypeCategory typeCategory, List<ColumnIdentity> children) -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnIdentitycreateColumnIdentity(org.apache.iceberg.types.Types.NestedField column) booleangetChildByFieldId(int fieldId) intgetChildIndexByFieldId(int fieldId) intgetId()getName()inthashCode()static ColumnIdentityprimitiveColumnIdentity(int id, String name) toString()
-
Constructor Details
-
ColumnIdentity
public ColumnIdentity(int id, String name, ColumnIdentity.TypeCategory typeCategory, List<ColumnIdentity> children)
-
-
Method Details
-
getId
public int getId() -
getName
-
getTypeCategory
-
getChildren
-
getChildByFieldId
-
getChildIndexByFieldId
public int getChildIndexByFieldId(int fieldId) -
equals
-
hashCode
public int hashCode() -
toString
-
primitiveColumnIdentity
-
createColumnIdentity
public static ColumnIdentity createColumnIdentity(org.apache.iceberg.types.Types.NestedField column)
-