Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License 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 org.apache.camel.component.aws2.ddb;
import org.apache.camel.spi.Metadata;
/**
* Constants used in Camel AWS DynamoDB component
*/
public interface Ddb2Constants {
@Metadata(label = "DeleteItem GetItem PutItem UpdateItem",
description = "The list of attributes returned by the operation.", javaType = "Map")
String ATTRIBUTES = "CamelAwsDdbAttributes";
@Metadata(description = "If attribute names are not specified then all attributes will be\n" +
"returned.",
javaType = "Collection")
String ATTRIBUTE_NAMES = "CamelAwsDdbAttributeNames";
@Metadata(description = "A map of the table name and corresponding items to get by primary key.",
javaType = "Map")
String BATCH_ITEMS = "CamelAwsDdbBatchItems";
@Metadata(label = "BatchGetItems", description = "Table names and the respective item attributes from the tables.",
javaType = "Map")
String BATCH_RESPONSE = "CamelAwsDdbBatchResponse";
@Metadata(description = "If set to true, then a consistent read is issued, otherwise eventually\n" +
"consistent is used.",
javaType = "Boolean")
String CONSISTENT_READ = "CamelAwsDdbConsistentRead";
@Metadata(label = "Query Scan", description = "The number of Capacity Units of the provisioned throughput of the table\n" +
"consumed during the operation.",
javaType = "Double")
String CONSUMED_CAPACITY = "CamelAwsDdbConsumedCapacity";
@Metadata(label = "Query Scan", description = "Number of items in the response.", javaType = "Integer")
String COUNT = "CamelAwsDdbCount";
@Metadata(label = "DeleteTable DescribeTable", description = "Creation DateTime of this table.", javaType = "Date")
String CREATION_DATE = "CamelAwsDdbCreationDate";
// Removed from DynamoDB v1 to v2
// @Metadata(description = "If set to true, Amazon DynamoDB returns a total number of items that\n" +
// "match the query parameters, instead of a list of the matching items and\n" +
// "their attributes.", javaType = "Boolean")
// String EXACT_COUNT = "CamelAwsDdbExactCount";
// Removed from DynamoDB v1 to v2
// @Metadata(description = "Value of the hash component of the composite primary key.", javaType = "AttributeValue")
// String HASH_KEY_VALUE = "CamelAwsDdbHashKeyValue";
// Added INDEX_NAME for querying secondary indexes
@Metadata(description = "If set will be used as Secondary Index for Query operation.", javaType = "String")
String INDEX_NAME = "CamelAwsDdbIndexName";
@Metadata(description = "A map of the attributes for the item, and must include the primary key\n" +
"values that define the item.",
javaType = "Map")
String ITEM = "CamelAwsDdbItem";
@Metadata(label = "Query Scan", description = "The list of attributes returned by the operation.",
javaType = "List