| | |
| | | String strValue; |
| | | if (valInfo.getValueDeleteTime() != null) |
| | | { |
| | | strValue = type.getLowerName() + optionsString + ":" + |
| | | strValue = type.getNormalizedPrimaryName() + optionsString + ":" + |
| | | valInfo.getValueDeleteTime().toString() + |
| | | ":del:" + valInfo.getValue().toString(); |
| | | AttributeValue val = new AttributeValue(historicalAttrType, |
| | |
| | | { |
| | | if (delAttr && valInfo.getValueUpdateTime() == deleteTime) |
| | | { |
| | | strValue = type.getLowerName() + optionsString + ":" + |
| | | strValue = type.getNormalizedPrimaryName() + optionsString + ":" + |
| | | valInfo.getValueUpdateTime().toString() + ":repl:" + |
| | | valInfo.getValue().toString(); |
| | | delAttr = false; |
| | | } |
| | | else |
| | | { |
| | | strValue = type.getLowerName() + optionsString + ":" + |
| | | strValue = type.getNormalizedPrimaryName() + optionsString + ":" + |
| | | valInfo.getValueUpdateTime().toString() + |
| | | ":add:" + valInfo.getValue().toString(); |
| | | } |
| | |
| | | |
| | | if (delAttr) |
| | | { |
| | | String strValue = type.getLowerName() + optionsString + ":" |
| | | + deleteTime.toString() + ":attrDel"; |
| | | String strValue = type.getNormalizedPrimaryName() |
| | | + optionsString + ":" + deleteTime.toString() |
| | | + ":attrDel"; |
| | | delAttr = false; |
| | | AttributeValue val = new AttributeValue(historicalAttrType, strValue); |
| | | hist.add(val); |