File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
services-custom/dynamodb-enhanced Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -360,8 +360,8 @@ public class Customer extends GenericRecord {
360
360
public String getName() { return this.name; }
361
361
public void setName(String name) { this.name = name;}
362
362
363
- public String getRecord() { return this.record; }
364
- public void setRecord(String record) { this.record = record;}
363
+ public GenericRecord getRecord() { return this.record; }
364
+ public void setRecord(GenericRecord record) { this.record = record;}
365
365
}
366
366
367
367
@DynamoDbBean
@@ -425,8 +425,8 @@ public class Customer {
425
425
public void setName(String name) { this.name = name;}
426
426
427
427
@DynamoDbFlatten(dynamoDbBeanClass = GenericRecord.class)
428
- public String getRecord() { return this.record; }
429
- public void setRecord(String record) { this.record = record;}
428
+ public GenericRecord getRecord() { return this.record; }
429
+ public void setRecord(GenericRecord record) { this.record = record;}
430
430
}
431
431
432
432
@DynamoDbBean
@@ -485,4 +485,4 @@ private static final StaticTableSchema<Customer> CUSTOMER_TABLE_SCHEMA =
485
485
.build();
486
486
```
487
487
Just as for annotations, you can flatten as many different eligible classes as you like using the
488
- builder pattern.
488
+ builder pattern.
You can’t perform that action at this time.
0 commit comments