Package org.apache.iceberg
Class SortKey
- java.lang.Object
-
- org.apache.iceberg.SortKey
-
- All Implemented Interfaces:
java.io.Serializable
,StructLike
public class SortKey extends java.lang.Object
A struct of flattened sort field values.Instances of this class can produce sort values from a row passed to
wrap(StructLike)
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SortKey
copy()
boolean
equals(java.lang.Object o)
<T> T
get(int pos, java.lang.Class<T> javaClass)
int
hashCode()
<T> void
set(int pos, T value)
int
size()
java.lang.String
toString()
void
wrap(StructLike row)
-
-
-
Method Detail
-
copy
public SortKey copy()
-
wrap
public void wrap(StructLike row)
-
size
public int size()
- Specified by:
size
in interfaceStructLike
-
get
public <T> T get(int pos, java.lang.Class<T> javaClass)
- Specified by:
get
in interfaceStructLike
-
set
public <T> void set(int pos, T value)
- Specified by:
set
in interfaceStructLike
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-