Examples of maxScanDocuments()


Examples of org.springframework.data.mongodb.repository.Meta.maxScanDocuments()

    org.springframework.data.mongodb.core.query.Meta metaAttributes = new org.springframework.data.mongodb.core.query.Meta();
    if (meta.maxExcecutionTime() > 0) {
      metaAttributes.setMaxTimeMsec(meta.maxExcecutionTime());
    }

    if (meta.maxScanDocuments() > 0) {
      metaAttributes.setMaxScan(meta.maxScanDocuments());
    }

    if (StringUtils.hasText(meta.comment())) {
      metaAttributes.setComment(meta.comment());
View Full Code Here

Examples of org.springframework.data.mongodb.repository.Meta.maxScanDocuments()

    if (meta.maxExcecutionTime() > 0) {
      metaAttributes.setMaxTimeMsec(meta.maxExcecutionTime());
    }

    if (meta.maxScanDocuments() > 0) {
      metaAttributes.setMaxScan(meta.maxScanDocuments());
    }

    if (StringUtils.hasText(meta.comment())) {
      metaAttributes.setComment(meta.comment());
    }
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.