File tree Expand file tree Collapse file tree 4 files changed +1
-14
lines changed
main/java/org/eclipse/jnosql/databases/dynamodb
test/java/org/eclipse/jnosql/databases/dynamodb/communication Expand file tree Collapse file tree 4 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 3030 <groupId >org.eclipse.jnosql.mapping</groupId >
3131 <artifactId >jnosql-mapping-key-value</artifactId >
3232 </dependency >
33- <dependency >
34- <groupId >org.eclipse.jnosql.communication</groupId >
35- <artifactId >jnosql-communication-document</artifactId >
36- </dependency >
3733 <dependency >
3834 <groupId >org.eclipse.jnosql.mapping</groupId >
3935 <artifactId >jnosql-mapping-document</artifactId >
Original file line number Diff line number Diff line change 3939import software .amazon .awssdk .services .dynamodb .model .ScalarAttributeType ;
4040import software .amazon .awssdk .services .dynamodb .model .ScanRequest ;
4141import software .amazon .awssdk .services .dynamodb .model .Select ;
42- import software .amazon .awssdk .services .dynamodb .model .StreamSpecification ;
4342import software .amazon .awssdk .services .dynamodb .model .TimeToLiveStatus ;
4443import software .amazon .awssdk .services .dynamodb .model .UpdateItemRequest ;
4544
@@ -147,7 +146,6 @@ private DescribeTableResponse createTable(String tableName) {
147146 .keySchema (defaultKeySchemaFor ())
148147 .attributeDefinitions (defaultAttributeDefinitionsFor ())
149148 .provisionedThroughput (defaultProvisionedThroughputFor ())
150- .streamSpecification (defaultStreamSpecificationFor ())
151149 .build ());
152150
153151 var tableRequest = DescribeTableRequest .builder ().tableName (tableName ).build ();
@@ -156,10 +154,6 @@ private DescribeTableResponse createTable(String tableName) {
156154 }
157155 }
158156
159- private StreamSpecification defaultStreamSpecificationFor () {
160- return null ;
161- }
162-
163157 private ProvisionedThroughput defaultProvisionedThroughputFor () {
164158 return DynamoTableUtils .createProvisionedThroughput (null , null );
165159 }
Original file line number Diff line number Diff line change 1515
1616package org .eclipse .jnosql .databases .dynamodb .mapping ;
1717
18- import org .eclipse .jnosql .communication .document .DocumentEntity ;
1918import org .eclipse .jnosql .mapping .document .DocumentTemplate ;
2019
2120import java .util .stream .Stream ;
@@ -51,7 +50,7 @@ public interface DynamoDBTemplate extends DocumentTemplate {
5150 * <p>Example query: {@code SELECT * FROM users WHERE status = ?}</p>
5251 *
5352 * @param query the PartiQL query
54- * @return a {@link Stream} of {@link DocumentEntity} representing the query result
53+ * @return a {@link Stream} of results representing the query result
5554 * @throws NullPointerException when the query is null
5655 */
5756 <T > Stream <T > partiQL (String query , Object ... params );
Original file line number Diff line number Diff line change 1818import jakarta .json .Json ;
1919import jakarta .json .bind .Jsonb ;
2020import net .datafaker .Faker ;
21- import org .eclipse .jnosql .communication .document .Document ;
22- import org .eclipse .jnosql .communication .document .DocumentEntity ;
2321import org .eclipse .jnosql .communication .driver .JsonbSupplier ;
2422import org .eclipse .jnosql .communication .semistructured .CommunicationEntity ;
2523import org .eclipse .jnosql .communication .semistructured .Element ;
You can’t perform that action at this time.
0 commit comments