Package org.voltdb

Examples of org.voltdb.VoltTable.flattenToBuffer()


            VoltTable dep = m_dependencies.get(i);
            if (dep == null) {
                buf.put((byte) 0);
            } else {
                buf.put((byte) 1);
                dep.flattenToBuffer(buf);
            }
        }

        if (m_exception != null) {
            m_exception.serializeToBuffer(buf);
View Full Code Here


                    fs.write(buf);
                    break;
                case VOLTTABLE:
                    VoltTable table = PrivateVoltTableFactory.createVoltTableFromSharedBuffer(fds.buffer());
                    buf = ByteBuffer.allocate(table.getSerializedSize());
                    table.flattenToBuffer(buf);
                    buf.flip();
                    fs.write(buf);
                    break;
                default:
                    throw new RuntimeException("FIXME: Unsupported type " + type);
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.