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