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 TypeMethodDescriptionboolean
int
fieldId()
Returns the partition field id across all the table metadata's partition specs.int
hashCode()
name()
Returns the name of this partition field.int
sourceId()
Returns the field id of the source field in thespec's
table 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's
table 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()
-