@Override public Map<String, AttributeValue> put(final String attr, final AttributeValueUpdate value) throws IOException { return this.put(new AttributeUpdates().with(attr, value)); }
/** * Public ctor. * @param creds Credentials * @param table Table * @param label Table name */ AwsFrame(final Credentials creds, final AwsTable table, final String label) { this(creds, table, label, new Conditions(), new ScanValve()); }
/** * Adjusts throughput on the table. */ public void adjust() { this.table .region() .aws() .updateTable( this.table.name(), Throughput.suitableThroughput() ); }
@Override public AmazonDynamoDB aws() { return this.origin.aws(); } @Override
@Override public Table table(final String name) { return new AwsTable(this.credentials, this, name); } }
@Override public boolean hasNext() { return this.prev.hasNext(); } }
/** * Public ctor. * @param dta Data * @param table Table */ MkFrame(final MkData dta, final String table) { this(dta, table, new Conditions()); }
@Override public Dosage next() { return this.prev.next(); } @Override
/** * Adjusts throughput on the table. */ public void adjust() { this.table .region() .aws() .updateTable( this.table.name(), Throughput.suitableThroughput() ); }
@Override public Map<String, AttributeValue> put(final String attr, final AttributeValueUpdate value) throws IOException { return this.put(new AttributeUpdates().with(attr, value)); }
/** * Public ctor. * @param creds Credentials * @param table Table * @param label Table name */ AwsFrame(final Credentials creds, final AwsTable table, final String label) { this(creds, table, label, new Conditions(), new ScanValve()); }
@Override public Table table(final String name) { return new AwsTable(this.credentials, this, name); } }
@Override public boolean hasNext() { return this.prev.hasNext(); } }