Examples of TupleStorageDescription


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
Copyright © 2018 www.massapi.com. 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.