/** * Reserved for internal use. Sets the result to associate with the table operation as a {@link TableEntity}. * * @param ent * An instance of an object implementing {@link TableEntity} to associate with the table operation. * @throws UnsupportedEncodingException */ protected void updateResultObject(final TableEntity ent) throws UnsupportedEncodingException { this.result = ent; ent.setEtag(this.etag); if (this.etag != null) { ent.setTimestamp(parseETagForTimestamp(this.etag)); } }
/** * Reserved for internal use. Sets the result to associate with the table operation as a {@link TableEntity}. * * @param ent * An instance of an object implementing {@link TableEntity} to associate with the table operation. * @throws UnsupportedEncodingException */ protected void updateResultObject(final TableEntity ent) throws UnsupportedEncodingException { this.result = ent; ent.setEtag(this.etag); if (this.etag != null) { ent.setTimestamp(parseETagForTimestamp(this.etag)); } }
entity.setEtag(res.getEtag());
entity.setEtag(res.getEtag());