Package com.michelboudreau.alternator.validators

Examples of com.michelboudreau.alternator.validators.ScanRequestValidator


        throw new IllegalArgumentException("Can only return values for Number and String, got " + valueType);
    }

  public synchronized ScanResult scan(ScanRequest request) {
    ScanResult result = new ScanResult();
    List<Error> errors = new ScanRequestValidator().validate(request);
    if (errors.size() > 0) {
      throw createInternalServerException(errors);
    }
    result.setConsumedCapacityUnits(0.5);
    List<Map<String, AttributeValue>> items = new ArrayList<Map<String, AttributeValue>>();
View Full Code Here

TOP

Related Classes of com.michelboudreau.alternator.validators.ScanRequestValidator

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.