Package org.teiid.common.buffer

Examples of org.teiid.common.buffer.TupleBuffer


    BatchIterator bi = new BatchIterator(new FakeRelationalNode(1, new List[] {
      Arrays.asList(1),
      Arrays.asList(2),
    }, 2));
    BufferManager bm = BufferManagerFactory.getStandaloneBufferManager();
    TupleBuffer tb = bm.createTupleBuffer(Arrays.asList(new ElementSymbol("x")), "test", TupleSourceType.PROCESSOR);
    bi.setBuffer(tb, true)//$NON-NLS-1$
    bi.hasNext();
    bi.mark();
    bi.nextTuple();
    bi.nextTuple();
View Full Code Here

TOP

Related Classes of org.teiid.common.buffer.TupleBuffer

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.