Package com.amazonaws.services.dynamodb.model

Examples of com.amazonaws.services.dynamodb.model.ListTablesRequest


     * @throws AmazonServiceException
     *             If an error response is returned by AmazonDynamoDB indicating
     *             either a problem with the data in the request, or a server side issue.
     */
    public ListTablesResult listTables() throws AmazonServiceException, AmazonClientException {
        return listTables(new ListTablesRequest());
    }
View Full Code Here


     * @throws AmazonServiceException
     *             If an error response is returned by AmazonDynamoDB indicating
     *             either a problem with the data in the request, or a server side issue.
     */
    public ListTablesResult listTables() throws AmazonServiceException, AmazonClientException {
        return listTables(new ListTablesRequest());
    }
View Full Code Here

     * @throws AmazonServiceException
     *             If an error response is returned by AmazonDynamoDB indicating
     *             either a problem with the data in the request, or a server side issue.
     */
    public ListTablesResult listTables() throws AmazonServiceException, AmazonClientException {
        return listTables(new ListTablesRequest());
    }
View Full Code Here

     * @throws AmazonServiceException
     *             If an error response is returned by AmazonDynamoDB indicating
     *             either a problem with the data in the request, or a server side issue.
     */
    public ListTablesResult listTables() throws AmazonServiceException, AmazonClientException {
        return listTables(new ListTablesRequest());
    }
View Full Code Here

     * @throws AmazonServiceException
     *             If an error response is returned by AmazonDynamoDB indicating
     *             either a problem with the data in the request, or a server side issue.
     */
    public ListTablesResult listTables() throws AmazonServiceException, AmazonClientException {
        return listTables(new ListTablesRequest());
    }
View Full Code Here

     * @throws AmazonServiceException
     *             If an error response is returned by AmazonDynamoDB indicating
     *             either a problem with the data in the request, or a server side issue.
     */
    public ListTablesResult listTables() throws AmazonServiceException, AmazonClientException {
        return listTables(new ListTablesRequest());
    }
View Full Code Here

    }

    public static ListTablesRequest MapV2ListTablesRequestToV1(
            com.amazonaws.services.dynamodbv2.model.ListTablesRequest v2Request) {

        ListTablesRequest request =
            new ListTablesRequest()
                .withExclusiveStartTableName(v2Request.getExclusiveStartTableName())
                .withLimit(v2Request.getLimit())
                ;
        return request;
View Full Code Here

      throws AmazonServiceException, AmazonClientException {
    return handler.batchGetItem(batchGetItemRequest);
  }

  public ListTablesResult listTables() throws AmazonServiceException, AmazonClientException {
    return handler.listTables(new ListTablesRequest());
  }
View Full Code Here

    return result;
  }

  public com.amazonaws.services.dynamodbv2.model.ListTablesResult listTablesV2(com.amazonaws.services.dynamodbv2.model.ListTablesRequest v2Request) throws InternalServerErrorException, ResourceNotFoundException {
        ListTablesRequest request = AlternatorDBApiVersion2Mapper.MapV2ListTablesRequestToV1(v2Request);
        ListTablesResult result = listTables(request);
        return AlternatorDBApiVersion2Mapper.MapV1ListTablesResultToV2(result);
  }
View Full Code Here

  public Boolean supports(Class clazz) {
    return ListTablesRequest.class.isAssignableFrom(clazz);
  }

  public List<Error> validate(Object target) {
    ListTablesRequest instance = (ListTablesRequest) target;
    List<Error> errors = new ArrayList<Error>();
    if(instance.getExclusiveStartTableName() != null) {
      errors.addAll(ValidatorUtils.invokeValidator(new TableNameValidator(), instance.getExclusiveStartTableName()));
    }

    if(instance.getLimit() != null) {
      errors.addAll(ValidatorUtils.rejectIfSizeOutOfBounds(instance.getLimit(), 1, 100));
    }
    return removeNulls(errors);
  }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.dynamodb.model.ListTablesRequest

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.