Package com.foundationdb.server.store.format

Examples of com.foundationdb.server.store.format.StorageFormatRegistry


    }

    @Test
    public void loadPartially() {
        TypesRegistry typesRegistry = TestTypesRegistry.MCOMPAT;
        StorageFormatRegistry newFormatRegistry = DummyStorageFormatRegistry.create();
        Sequence sequence = loadSequence(typesRegistry, newFormatRegistry);
        assertNotNull(sequence);
        assertFalse(isFullDescription(sequence.getStorageDescription()));
        assertTrue(isPartialDescription(sequence.getStorageDescription()));
    }
View Full Code Here


    }

    @Test
    public void reloadNormally() {
        TypesRegistry typesRegistry = TestTypesRegistry.MCOMPAT;
        StorageFormatRegistry newFormatRegistry = DummyStorageFormatRegistry.create();
        AkibanInformationSchema ais = new AkibanInformationSchema();
        ProtobufReader reader = new ProtobufReader(typesRegistry, newFormatRegistry, ais);
        reader.loadBuffer(bytes);
        reader.loadAIS();
        bytes.flip();
View Full Code Here

TOP

Related Classes of com.foundationdb.server.store.format.StorageFormatRegistry

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.