Package uk.org.ogsadai.tuple

Examples of uk.org.ogsadai.tuple.TupleMetadata


        assertTrue(blocks.hasNext());
        assertEquals(ControlBlock.LIST_BEGIN, blocks.next());
        assertTrue(blocks.hasNext());
        Object block = blocks.next();
        assertTrue(block instanceof MetadataWrapper);
        TupleMetadata meanMetadata = (TupleMetadata)((MetadataWrapper)block).getMetadata();
        assertEquals("X", meanMetadata.getColumnMetadata(0).getName());
        assertEquals("Y", meanMetadata.getColumnMetadata(1).getName());
        assertTrue(blocks.hasNext());
        Tuple tuple = (Tuple)blocks.next();
        assertEquals(new Double(3), tuple.getDouble(0));
        assertEquals(new Double(5), tuple.getDouble(1));
        assertTrue(blocks.hasNext());
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.tuple.TupleMetadata

Copyright © 2018 www.massapicom. 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.