Package org.cassandraunit.model

Examples of org.cassandraunit.model.CompactionStrategyOptionModel


    beautifulColumnFamily.setDefaultColumnValueType(ComparatorType.UTF8TYPE);

        beautifulColumnFamily.setComment("amazing comment");
        beautifulColumnFamily.setCompactionStrategy("LeveledCompactionStrategy");
        List<CompactionStrategyOptionModel> compactionStrategyOptions = new ArrayList<CompactionStrategyOptionModel>();
        compactionStrategyOptions.add(new CompactionStrategyOptionModel("sstable_size_in_mb", "10"));
        beautifulColumnFamily.setCompactionStrategyOptions(compactionStrategyOptions);
        beautifulColumnFamily.setGcGraceSeconds(9999);
        beautifulColumnFamily.setMaxCompactionThreshold(31);
        beautifulColumnFamily.setMinCompactionThreshold(3);
        beautifulColumnFamily.setReadRepairChance(0.1d);
View Full Code Here

TOP

Related Classes of org.cassandraunit.model.CompactionStrategyOptionModel

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.