Skip to content

Instantly share code, notes, and snippets.

@kojiisd
Created April 21, 2017 00:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kojiisd/00cd87e62fc12c8d994f4a8f0ff2922c to your computer and use it in GitHub Desktop.
Save kojiisd/00cd87e62fc12c8d994f4a8f0ff2922c to your computer and use it in GitHub Desktop.
DynamoDB Local Viewerに機能追加(スキーマ情報取得、ソート・フィルタ、データ削除) ref: http://qiita.com/kojiisd/items/807eca1ce556db2bb932
CreateTableRequest createRequest = new CreateTableRequest().withTableName(tableName)
.withAttributeDefinitions(describeResult.getTable().getAttributeDefinitions())
.withKeySchema(describeResult.getTable().getKeySchema())
.withProvisionedThroughput(new ProvisionedThroughput()
.withReadCapacityUnits(describeResult.getTable().getProvisionedThroughput().getReadCapacityUnits())
.withWriteCapacityUnits(describeResult.getTable().getProvisionedThroughput().getWriteCapacityUnits()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment