Examples of NativeCodec


Examples of info.archinnov.achilles.internal.metadata.codec.NativeCodec

    }

    @Test
    public void should_determine_cql3_simple_type() throws Exception {
        //Given
        Codec simpleCodec = new NativeCodec(String.class);

        //When
        final Class<?> actualClass = factory.determineCQL3ValueType(simpleCodec, false);

        //Then
View Full Code Here

Examples of info.archinnov.achilles.internal.metadata.codec.NativeCodec

    }

    @Test
    public void should_determine_cql3_simple_timeuuid_type() throws Exception {
        //Given
        Codec simpleCodec = new NativeCodec(UUID.class);

        //When
        final Class<?> actualClass = factory.determineCQL3ValueType(simpleCodec, true);

        //Then
View Full Code Here

Examples of info.archinnov.achilles.internal.metadata.codec.NativeCodec

    }

    @Test
    public void should_determine_cql3_simple_byte_buffer_type() throws Exception {
        //Given
        Codec simpleCodec = new NativeCodec(ByteBuffer.wrap("test".getBytes()).getClass());

        //When
        final Class<?> actualClass = factory.determineCQL3ValueType(simpleCodec, false);

        //Then
View Full Code Here

Examples of info.archinnov.achilles.internal.metadata.codec.NativeCodec

    }

    @Test
    public void should_determine_cql3_simple_counter_type() throws Exception {
        //Given
        Codec simpleCodec = new NativeCodec(Counter.class);

        //When
        final Class<?> actualClass = factory.determineCQL3ValueType(simpleCodec, false);

        //Then
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.