Package com.netflix.zeno.fastblob.state

Examples of com.netflix.zeno.fastblob.state.OrdinalRemapper


        stateOrdinalMapping.setMappedOrdinal(3, 1);
        stateOrdinalMapping.setMappedOrdinal(4, 0);
        stateOrdinalMapping.setMappedOrdinal(5, 6);
        stateOrdinalMapping.setMappedOrdinal(6, 5);

        ordinalRemapper = new OrdinalRemapper(ordinalMapping);
    }
View Full Code Here


        FastBlobDeserializationRecord rec = new FastBlobDeserializationRecord(schema, fromDataBuffer.getUnderlyingArray());
        rec.position(0);

        ByteDataBuffer toDataBuffer = new ByteDataBuffer();
        new OrdinalRemapper(ordinalMapping).remapOrdinals(rec, toDataBuffer);
        return toDataBuffer;
    }
View Full Code Here

TOP

Related Classes of com.netflix.zeno.fastblob.state.OrdinalRemapper

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.