Examples of cassandraType()


Examples of org.caffinitas.mapper.core.codec.DataType.cassandraType()

        for (int i = 0; i < dataTypes.size(); i++) {
            DataType dataType = dataTypes.get(i);
            ByteBuffer arg = components.get(i);

            // serialize type
            String typeStr = dataType.cassandraType();
            // TODO support type aliases for DynamicComposite
            ByteBuffer typeBin = types[i] = codec.serialize(typeStr);
            int sz = typeBin.remaining();
            if (sz > 65535)
                throw new IllegalArgumentException("Component at index #"+i+" in DynamicCompositeType too long ("+sz+") - max 65535 bytes in serialized form");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.