Class DDBQueryOpDispenser

All Implemented Interfaces:
OpDispenser<DynamoDBOp>, OpResultTracker, NBComponent, NBComponentAdvisors, NBComponentEvents, NBComponentMetrics, NBComponentProps, NBComponentServices, NBComponentTimeline, NBProviderSearch, NBTokenWords, NBLabeledElement, AutoCloseable, LongFunction<DynamoDBOp>

public class DDBQueryOpDispenser extends BaseOpDispenser<DynamoDBOp,DynamoDBSpace>

 {
    "AttributesToGet": [ "string" ],
    "ConditionalOperator": "string",
    "ConsistentRead": boolean,
    "ExclusiveStartKey": {
       "string" : {
          "B": blob,
          "BOOL": boolean,
          "BS": [ blob ],
          "L": [
             "AttributeValue"
          ],
          "M": {
             "string" : "AttributeValue"
          },
          "N": "string",
          "NS": [ "string" ],
          "NULL": boolean,
          "S": "string",
          "SS": [ "string" ]
       }
    },
    "ExpressionAttributeNames": {
       "string" : "string"
    },
    "ExpressionAttributeValues": {
       "string" : {
          "B": blob,
          "BOOL": boolean,
          "BS": [ blob ],
          "L": [
             "AttributeValue"
          ],
          "M": {
             "string" : "AttributeValue"
          },
          "N": "string",
          "NS": [ "string" ],
          "NULL": boolean,
          "S": "string",
          "SS": [ "string" ]
       }
    },
    "FilterExpression": "string",
    "IndexName": "string",
    "KeyConditionExpression": "string",
    "KeyConditions": {
       "string" : {
          "AttributeValueList": [
             {
                "B": blob,
                "BOOL": boolean,
                "BS": [ blob ],
                "L": [
                   "AttributeValue"
                ],
                "M": {
                   "string" : "AttributeValue"
                },
                "N": "string",
                "NS": [ "string" ],
                "NULL": boolean,
                "S": "string",
                "SS": [ "string" ]
             }
          ],
          "ComparisonOperator": "string"
       }
    },
    "Limit": number,
    "ProjectionExpression": "string",
    "QueryFilter": {
       "string" : {
          "AttributeValueList": [
             {
                "B": blob,
                "BOOL": boolean,
                "BS": [ blob ],
                "L": [
                   "AttributeValue"
                ],
                "M": {
                   "string" : "AttributeValue"
                },
                "N": "string",
                "NS": [ "string" ],
                "NULL": boolean,
                "S": "string",
                "SS": [ "string" ]
             }
          ],
          "ComparisonOperator": "string"
       }
    },
    "ReturnConsumedCapacity": "string",
    "ScanIndexForward": boolean,
    "Select": "string",
    "TableName": "string"
 }
 
  • Constructor Details

    • DDBQueryOpDispenser

      public DDBQueryOpDispenser(DriverAdapter adapter, com.amazonaws.services.dynamodbv2.document.DynamoDB ddb, ParsedOp cmd, LongFunction<?> targetFunc)
  • Method Details

    • getOp

      public DDBQueryOp getOp(long cycle)
      Description copied from interface: OpDispenser
      This method should do all the work of creating an operation that is executable by some other caller. The value produced by the apply method should not require additional processing if a caller wants to execute the operation multiple times, as for retries.
      Parameters:
      cycle - The cycle number which serves as the seed for any generated op fields to be bound into an operation.
      Returns:
      an executable operation