Package com.foundationdb.ais

Examples of com.foundationdb.ais.AISCloner


        // TODO: AkCollatorFactory should probably be a service
        AkCollatorFactory.setCollationMode(config.getProperty(COLLATION_MODE));
        AkibanInformationSchema.setDefaultCharsetAndCollation(config.getProperty(DEFAULT_CHARSET),
                                                              config.getProperty(DEFAULT_COLLATION));
        this.typesTranslator = MTypesTranslator.INSTANCE; // TODO: Move to child.
        this.aisCloner = new AISCloner(typesRegistryService.getTypesRegistry(),
                                       storageFormatRegistry);
        storageFormatRegistry.registerStandardFormats();
    }
View Full Code Here


        return result;
    }

    /** Convenience to make an AISCloner using the dummy. */
    public static AISCloner aisCloner() {
        return new AISCloner(TestTypesRegistry.MCOMPAT, create());
    }
View Full Code Here

        return DummyStorageFormatRegistry.create();
    }

    @Override
    public AISCloner getAISCloner() {
        return new AISCloner(getTypesRegistry(), getStorageFormatRegistry());
    }
View Full Code Here

            return storageFormatRegistry;
        }

        @Override
        public AISCloner getAISCloner() {
            return new AISCloner(typesRegistry, storageFormatRegistry);
        }
View Full Code Here

TOP

Related Classes of com.foundationdb.ais.AISCloner

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.