Record Class DynamoDbQueryExecution.SingleEntityExecution
java.lang.Object
java.lang.Record
io.awspring.spring.data.dynamodb.repository.query.DynamoDbQueryExecution.SingleEntityExecution
- All Implemented Interfaces:
DynamoDbQueryExecution
- Enclosing interface:
DynamoDbQueryExecution
public static record DynamoDbQueryExecution.SingleEntityExecution(boolean limiting)
extends Record
implements DynamoDbQueryExecution
- Since:
- 1.0.0
- Author:
- Matej Nedic
-
Nested Class Summary
Nested classes/interfaces inherited from interface DynamoDbQueryExecution
DynamoDbQueryExecution.CollectionExecution, DynamoDbQueryExecution.SingleEntityExecution, DynamoDbQueryExecution.WindowExecution -
Constructor Summary
ConstructorsConstructorDescriptionSingleEntityExecution(boolean limiting) Creates an instance of aSingleEntityExecutionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable Objectexecute(EntityQueryResult<List<Object>> result) final inthashCode()Returns a hash code value for this object.booleanlimiting()Returns the value of thelimitingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SingleEntityExecution
public SingleEntityExecution(boolean limiting) Creates an instance of aSingleEntityExecutionrecord class.- Parameters:
limiting- the value for thelimitingrecord component
-
-
Method Details
-
execute
- Specified by:
executein interfaceDynamoDbQueryExecution
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
limiting
public boolean limiting()Returns the value of thelimitingrecord component.- Returns:
- the value of the
limitingrecord component
-