primaryPartitionKey
Returns the primary partition key attribute name for the targeted table or index.
- Returns:
- the primary partition key attribute name
T - the item typeS - the concrete builder type (for fluent chaining)AsyncQueryBuilder, QueryBuilderprotected static enum protected Booleanfalse by default).protected FilterExpressionprotected software.amazon.awssdk.enhanced.dynamodb.model.QueryConditionalprotected AbstractQueryBuilder.KeyConditionOpprotected Integerprotected static final org.slf4j.Loggerprotected @Nullable Objectprotected ProjectionExpressionprotected software.amazon.awssdk.services.dynamodb.model.ReturnConsumedCapacityprotected Booleantrue by default).protected software.amazon.awssdk.services.dynamodb.model.Selectprotected @Nullable Objectprotected @Nullable Objectprotected AbstractQueryBuilder.protected voidapplyFilterExpression(software.amazon.awssdk.services.dynamodb.model.QueryRequest.Builder requestBuilder,
Map<String,String> keyNames,
Map<String, software.amazon.awssdk.services.dynamodb.model.AttributeValue> keyValues) QueryRequest.Builder.protected voidapplyQueryOptions(software.amazon.awssdk.services.dynamodb.model.QueryRequest.Builder requestBuilder) QueryRequest.Builder.@NonNull Sprotected @NonNull software.amazon.awssdk.enhanced.dynamodb.model.QueryEnhancedRequestQueryEnhancedRequest from the configured parameters.protected @NonNull StringbuildKeyConditionExpression(Map<String,String> expressionNames,
Map<String, software.amazon.awssdk.services.dynamodb.model.AttributeValue> expressionValues) @NonNull SconsistentRead(boolean consistentRead) @NonNull S@NonNull Sfilter(@Nullable FilterExpression filter) FilterExpression.@NonNull S@NonNull Sfilter(@NonNull Consumer<FilterExpression> filterBuilder) FilterExpression consumer.protected abstract @Nullable Stringnull if the query targets the base table.@NonNull Slimit(int limit) protected static <K,V> Map<K,V> @NonNull SpartitionKey(@NonNull Object pkValue) @NonNull SpartitionKeyAndSortKeyBeginsWith(@NonNull Object pkValue,
@NonNull String skPrefix) @NonNull SpartitionKeyAndSortKeyBetween(@NonNull Object pkValue,
@NonNull Object skLow,
@NonNull Object skHigh) @NonNull SpartitionKeyAndSortKeyEquals(@NonNull Object pkValue,
@NonNull Object skValue) @NonNull SpartitionKeyAndSortKeyGreaterThan(@NonNull Object pkValue,
@NonNull Object skValue) @NonNull SpartitionKeyAndSortKeyGreaterThanOrEqual(@NonNull Object pkValue,
@NonNull Object skValue) @NonNull SpartitionKeyAndSortKeyLessThan(@NonNull Object pkValue,
@NonNull Object skValue) @NonNull SpartitionKeyAndSortKeyLessThanOrEqual(@NonNull Object pkValue,
@NonNull Object skValue) protected abstract @NonNull String@NonNull S@NonNull Sproject(@NonNull Consumer<ProjectionExpression> projectionBuilder) ProjectionExpression
via a consumer.protected void@NonNull SreturnConsumedCapacity(@NonNull software.amazon.awssdk.services.dynamodb.model.ReturnConsumedCapacity returnConsumedCapacity) @NonNull Sselect(@Nullable software.amazon.awssdk.services.dynamodb.model.Select select) protected abstract Sself()this typed as S for fluent chaining.@NonNull SstartFrom(@Nullable Map<String, software.amazon.awssdk.services.dynamodb.model.AttributeValue> lastEvaluatedKey) protected abstract @NonNull Stringtrue by default).false by default).AbstractQueryBuilder.null if the query targets the base table.null for the base tablepkValue - the partition key valueskPrefix - the sort key prefix stringpkValue - the partition key valueskLow - the lower bound of the sort key range (inclusive)skHigh - the upper bound of the sort key range (inclusive)pkValue - the partition key valueskValue - the sort key threshold (exclusive)pkValue - the partition key valueskValue - the sort key threshold (inclusive)pkValue - the partition key valueskValue - the sort key threshold (exclusive)pkValue - the partition key valueskValue - the sort key threshold (inclusive)FilterExpression consumer.filterBuilder - a consumer that configures the FilterExpressionFilterExpression.filter - the filter expression
All conditions are combined with AND. Each entry is treated as
an equality filter. For other condition types, use the consumer-based
filter(Consumer) method.
conditions - a map of attribute names to their expected valuesProjectionExpression
via a consumer.projectionBuilder - a consumer that configures the ProjectionExpressionlimit - the maximum number of items to evaluate per pagelastEvaluatedKey - the key map from which to start the next pageconsistentRead - true for a strongly consistent read,
false (the default) for an eventually consistent readreturnConsumedCapacity - the return consumed capacity valueSelect.COUNT to request only the item count from the server.select - the select parameter (nullable)QueryEnhancedRequest from the configured parameters.IllegalStateException - if pkValue is nullexpressionNames - the map to populate with expression attribute namesexpressionValues - the map to populate with expression attribute valuesQueryRequest.Builder.requestBuilder - the query request builder to configurekeyNames - the expression attribute names from the key conditionkeyValues - the expression attribute values from the key conditionQueryRequest.Builder.requestBuilder - the query request builder to configureK - the map key typeV - the map value typebase - the base mapoverride - the override map (entries take precedence over base)