Examples of UUIDContainer


Examples of com.nearinfinity.honeycomb.mysql.gen.UUIDContainer

    public Row(Map<String, ByteBuffer> records, UUID uuid) {
        checkNotNull(records, "records must not be null.");
        // uuid nullity will be checked by UUIDToBytes

        row = AvroRow.newBuilder()
                .setUuid(new UUIDContainer(Util.UUIDToBytes(uuid)))
                .setRecords(records)
                .build();
    }
View Full Code Here

Examples of com.nearinfinity.honeycomb.mysql.gen.UUIDContainer

    public UUID getUUID() {
        return Util.bytesToUUID(row.getUuid().bytes());
    }

    public void setUUID(UUID uuid) {
        row.setUuid(new UUIDContainer(Util.UUIDToBytes(uuid)));
    }
View Full Code Here

Examples of com.nearinfinity.honeycomb.mysql.gen.UUIDContainer

    /**
     * Set UUID to a new random UUID
     */
    public void setRandomUUID() {
        row.setUuid(new UUIDContainer(Util.UUIDToBytes(UUID.randomUUID())));
    }
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.