Package org.apache.iceberg
Class PartitionField
java.lang.Object
org.apache.iceberg.PartitionField
- All Implemented Interfaces:
Serializable
Represents a single field in a
PartitionSpec.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintfieldId()Returns the partition field id across all the table metadata's partition specs.inthashCode()name()Returns the name of this partition field.intsourceId()Returns the field id of the source field in thespec'stable schema.toString()Transform<?, ?> Returns the transform used to produce partition values from source values.
-
Method Details
-
sourceId
public int sourceId()Returns the field id of the source field in thespec'stable schema. -
fieldId
public int fieldId()Returns the partition field id across all the table metadata's partition specs. -
name
Returns the name of this partition field. -
transform
Returns the transform used to produce partition values from source values. -
toString
-
equals
-
hashCode
public int hashCode()
-