public class SortKey
extends java.lang.Object
Instances of this class can produce sort values from a row passed to wrap(StructLike)
.
Constructor and Description |
---|
SortKey(Schema schema,
SortOrder sortOrder) |
Modifier and Type | Method and 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) |
public SortKey copy()
public void wrap(StructLike row)
public int size()
size
in interface StructLike
public <T> T get(int pos, java.lang.Class<T> javaClass)
get
in interface StructLike
public <T> void set(int pos, T value)
set
in interface StructLike
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object