Package org.apache.iceberg.types
Class Conversions
- java.lang.Object
-
- org.apache.iceberg.types.Conversions
-
public class Conversions extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
fromByteBuffer(Type type, java.nio.ByteBuffer buffer)
static java.lang.Object
fromPartitionString(Type type, java.lang.String asString)
static java.nio.ByteBuffer
toByteBuffer(Type.TypeID typeId, java.lang.Object value)
static java.nio.ByteBuffer
toByteBuffer(Type type, java.lang.Object value)
-
-
-
Method Detail
-
fromPartitionString
public static java.lang.Object fromPartitionString(Type type, java.lang.String asString)
-
toByteBuffer
public static java.nio.ByteBuffer toByteBuffer(Type type, java.lang.Object value)
-
toByteBuffer
public static java.nio.ByteBuffer toByteBuffer(Type.TypeID typeId, java.lang.Object value)
-
fromByteBuffer
public static <T> T fromByteBuffer(Type type, java.nio.ByteBuffer buffer)
-
-