| | |
| | | |
| | | while (it.hasNext()) |
| | | { |
| | | oc.add(it.next().getStringValue()); |
| | | oc.add(it.next().getValue().toString()); |
| | | } |
| | | attrs.put(oc); |
| | | |
| | |
| | | it = odsAttr.iterator(); |
| | | while (it.hasNext()) |
| | | { |
| | | attr.add(it.next().getStringValue()); |
| | | attr.add(it.next().getValue().toString()); |
| | | } |
| | | attrs.put(attr); |
| | | |
| | |
| | | args.add("--index-name"); |
| | | AttributeValue value = |
| | | odsAttr.iterator().next(); |
| | | args.add(value.getStringValue()); |
| | | args.add(value.getValue().toString()); |
| | | } |
| | | else if (attrName.equalsIgnoreCase("ds-cfg-index-type")) |
| | | { |
| | |
| | | while (it.hasNext()) |
| | | { |
| | | args.add("--set"); |
| | | args.add("index-type:"+it.next().getStringValue()); |
| | | args.add("index-type:"+it.next().getValue().toString()); |
| | | } |
| | | } |
| | | } |