Package org.apache.iceberg
Class PartitionField
- java.lang.Object
- 
- org.apache.iceberg.PartitionField
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class PartitionField extends java.lang.Object implements java.io.SerializableRepresents a single field in aPartitionSpec.- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)intfieldId()Returns the partition field id across all the table metadata's partition specs.inthashCode()java.lang.Stringname()Returns the name of this partition field.intsourceId()Returns the field id of the source field in thespec'stable schema.java.lang.StringtoString()Transform<?,?>transform()Returns the transform used to produce partition values from source values.
 
- 
- 
- 
Method Detail- 
sourceIdpublic int sourceId() Returns the field id of the source field in thespec'stable schema.
 - 
fieldIdpublic int fieldId() Returns the partition field id across all the table metadata's partition specs.
 - 
namepublic java.lang.String name() Returns the name of this partition field.
 - 
transformpublic Transform<?,?> transform() Returns the transform used to produce partition values from source values.
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object other) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-