Package com.foundationdb.server.store.format.tuple

Examples of com.foundationdb.server.store.format.tuple.TupleStorageDescription


    @Override
    public StorageDescription getDefaultStorageDescription(HasStorage object) {
        StorageDescription sd = super.getDefaultStorageDescription(object);
        if(sd instanceof TupleStorageDescription) {
            TupleStorageDescription tsd = (TupleStorageDescription)sd;
            if(object instanceof Group) {
                tsd.setUsage(TupleUsage.KEY_AND_ROW);
            } else {
                tsd.setUsage(TupleUsage.KEY_ONLY);
            }
        }
        return sd;
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.store.format.tuple.TupleStorageDescription

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.