Package org.apache.iceberg
Class PartitionKey
java.lang.Object
org.apache.iceberg.PartitionKey
- All Implemented Interfaces:
- Serializable,- StructLike
A struct of partition values.
 
Instances of this class can produce partition values from a data row passed to partition(StructLike).
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncopy()boolean<T> TinthashCode()voidpartition(StructLike row) Replace this key's partition values with the partition values for the row.<T> voidset(int pos, T value) intsize()toPath()toString()voidwrap(StructLike row) 
- 
Constructor Details- 
PartitionKey
 
- 
- 
Method Details- 
copy
- 
toPath
- 
partitionReplace this key's partition values with the partition values for the row.- Parameters:
- row- a StructLike row
 
- 
wrap
- 
sizepublic int size()- Specified by:
- sizein interface- StructLike
 
- 
get- Specified by:
- getin interface- StructLike
 
- 
setpublic <T> void set(int pos, T value) - Specified by:
- setin interface- StructLike
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-