Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)