All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.dynamodbv2.datamodeling.AbstractDynamoDBMapper Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon DynamoDB module holds the client classes that are used for communicating with Amazon DynamoDB Service

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 *    http://aws.amazon.com/apache2.0
 *
 * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
 * OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and
 * limitations under the License.
 */
package com.amazonaws.services.dynamodbv2.datamodeling;

import java.util.List;
import java.util.Map;

import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.FailedBatch;
import com.amazonaws.services.dynamodbv2.model.AttributeValue;
import com.amazonaws.services.dynamodbv2.model.CreateTableRequest;
import com.amazonaws.services.dynamodbv2.model.DeleteTableRequest;
import com.amazonaws.services.s3.model.Region;

/**
 * Abstract implementation of {@code IDynamoDBMapper}. Convenient method forms pass through to the
 * corresponding overload that takes a request object, which throws an
 * {@code UnsupportedOperationException}.
 */
public class AbstractDynamoDBMapper implements IDynamoDBMapper {

    protected AbstractDynamoDBMapper() {
    }

    @Override
    public  T load(Class clazz, Object hashKey, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  T load(Class clazz, Object hashKey) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  T load(Class clazz, Object hashKey, Object rangeKey) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  T load(T keyObject) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  T load(T keyObject, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  T load(Class clazz, Object hashKey, Object rangeKey, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  T marshallIntoObject(Class clazz, Map itemAttributes) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  List marshallIntoObjects(Class clazz, List> itemAttributes) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  void save(T object) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  void save(T object, DynamoDBSaveExpression saveExpression) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  void save(T object, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  void save(T object, DynamoDBSaveExpression saveExpression, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public void delete(Object object) {
        throw new UnsupportedOperationException();
    }

    @Override
    public void delete(Object object, DynamoDBDeleteExpression deleteExpression) {
        throw new UnsupportedOperationException();
    }

    @Override
    public void delete(Object object, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  void delete(T object, DynamoDBDeleteExpression deleteExpression, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public List batchDelete(Iterable objectsToDelete) {
        throw new UnsupportedOperationException();
    }

    @Override
    public List batchDelete(Object... objectsToDelete) {
        throw new UnsupportedOperationException();
    }

    @Override
    public List batchSave(Iterable objectsToSave) {
        throw new UnsupportedOperationException();
    }

    @Override
    public List batchSave(Object... objectsToSave) {
        throw new UnsupportedOperationException();
    }

    @Override
    public List batchWrite(Iterable objectsToWrite,
                                        Iterable objectsToDelete) {
        throw new UnsupportedOperationException();
    }

    @Override
    public List batchWrite(Iterable objectsToWrite,
                                        Iterable objectsToDelete,
                                        DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public Map> batchLoad(Iterable itemsToGet) {
        throw new UnsupportedOperationException();
    }

    @Override
    public Map> batchLoad(Iterable itemsToGet, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public Map> batchLoad(Map, List> itemsToGet) {
        throw new UnsupportedOperationException();
    }

    @Override
    public Map> batchLoad(Map, List> itemsToGet, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  PaginatedScanList scan(Class clazz, DynamoDBScanExpression scanExpression) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  PaginatedScanList scan(Class clazz,
                                         DynamoDBScanExpression scanExpression,
                                         DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  PaginatedParallelScanList parallelScan(Class clazz,
                                                         DynamoDBScanExpression scanExpression,
                                                         int totalSegments) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  PaginatedParallelScanList parallelScan(Class clazz,
                                                         DynamoDBScanExpression scanExpression,
                                                         int totalSegments,
                                                         DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  ScanResultPage scanPage(Class clazz,
                                          DynamoDBScanExpression scanExpression,
                                          DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  ScanResultPage scanPage(Class clazz, DynamoDBScanExpression scanExpression) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  PaginatedQueryList query(Class clazz, DynamoDBQueryExpression queryExpression) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  PaginatedQueryList query(Class clazz,
                                           DynamoDBQueryExpression queryExpression,
                                           DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  QueryResultPage queryPage(Class clazz, DynamoDBQueryExpression queryExpression) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  QueryResultPage queryPage(Class clazz,
                                            DynamoDBQueryExpression queryExpression,
                                            DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public int count(Class clazz, DynamoDBScanExpression scanExpression) {
        throw new UnsupportedOperationException();
    }

    @Override
    public int count(Class clazz, DynamoDBScanExpression scanExpression, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  int count(Class clazz, DynamoDBQueryExpression queryExpression) {
        throw new UnsupportedOperationException();
    }

    @Override
    public  int count(Class clazz, DynamoDBQueryExpression queryExpression, DynamoDBMapperConfig config) {
        throw new UnsupportedOperationException();
    }

    @Override
    public S3ClientCache getS3ClientCache() {
        throw new UnsupportedOperationException();
    }

    @Override
    public S3Link createS3Link(String bucketName, String key) {
        throw new UnsupportedOperationException();
    }

    @Override
    public S3Link createS3Link(Region s3region, String bucketName, String key) {
        throw new UnsupportedOperationException();
    }

    @Override
    public CreateTableRequest generateCreateTableRequest(Class clazz) {
        throw new UnsupportedOperationException();
    }

    @Override
    public DeleteTableRequest generateDeleteTableRequest(Class clazz) {
        throw new UnsupportedOperationException();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy