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 Summary
Constructors -
Method Summary
Modifier 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
-
partition
Replace this key's partition values with the partition values for the row.- Parameters:
row- a StructLike row
-
wrap
-
size
public int size()- Specified by:
sizein interfaceStructLike
-
get
- Specified by:
getin interfaceStructLike
-
set
public <T> void set(int pos, T value) - Specified by:
setin interfaceStructLike
-
toString
-
equals
-
hashCode
public int hashCode()
-