Package org.apache.iceberg.types
Class Comparators
- java.lang.Object
-
- org.apache.iceberg.types.Comparators
-
public class Comparators extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Comparator<java.lang.CharSequence>
charSequences()
static <T> java.util.Comparator<T>
forType(Type.PrimitiveType type)
static <T> java.util.Comparator<java.util.List<T>>
forType(Types.ListType list)
static java.util.Comparator<StructLike>
forType(Types.StructType struct)
static <T> java.util.Comparator<T>
nullsFirst()
static <T> java.util.Comparator<T>
nullsLast()
static java.util.Comparator<java.nio.ByteBuffer>
signedBytes()
static java.util.Comparator<byte[]>
unsignedByteArrays()
static java.util.Comparator<java.nio.ByteBuffer>
unsignedBytes()
-
-
-
Method Detail
-
forType
public static java.util.Comparator<StructLike> forType(Types.StructType struct)
-
forType
public static <T> java.util.Comparator<java.util.List<T>> forType(Types.ListType list)
-
forType
public static <T> java.util.Comparator<T> forType(Type.PrimitiveType type)
-
unsignedBytes
public static java.util.Comparator<java.nio.ByteBuffer> unsignedBytes()
-
unsignedByteArrays
public static java.util.Comparator<byte[]> unsignedByteArrays()
-
signedBytes
public static java.util.Comparator<java.nio.ByteBuffer> signedBytes()
-
nullsFirst
public static <T> java.util.Comparator<T> nullsFirst()
-
nullsLast
public static <T> java.util.Comparator<T> nullsLast()
-
charSequences
public static java.util.Comparator<java.lang.CharSequence> charSequences()
-
-