Exemplo n.º 1
0
        /**
         * called by the class that Is responsible for writing this sucker.
         * Subclasses should implement this so that their data Is passed back in a
         * byte array.
         *
         * @return size
         */

        protected override void Serialize(ContinuableRecordOutput out1)
        {
            SSTSerializer serializer = new SSTSerializer(field_3_strings, NumStrings, NumUniqueStrings);

            serializer.Serialize(out1);
            bucketAbsoluteOffsets = serializer.BucketAbsoluteOffsets;
            bucketRelativeOffsets = serializer.BucketRelativeOffsets;
        }
Exemplo n.º 2
0
        /**
         * called by the class that Is responsible for writing this sucker.
         * Subclasses should implement this so that their data Is passed back in a
         * byte array.
         *
         * @return size
         */

    protected override void Serialize(ContinuableRecordOutput out1) {
        SSTSerializer serializer = new SSTSerializer(field_3_strings, NumStrings, NumUniqueStrings );
        serializer.Serialize(out1);
        bucketAbsoluteOffsets = serializer.BucketAbsoluteOffsets;
        bucketRelativeOffsets = serializer.BucketRelativeOffsets;
    }