private void addPropertyMetadataToKeyValuePairs( List<KeyValuePair> results, Text vertexRowKey, Property property) { Metadata metadata = property.getMetadata(); for (Metadata.Entry metadataItem : metadata.entrySet()) { addPropertyMetadataItemToKeyValuePairs(results, vertexRowKey, property, metadataItem); } }
public void addPropertyDeleteMetadataToMutation( Mutation m, PropertyDeleteMutation propertyDeleteMutation) { if (propertyDeleteMutation instanceof PropertyPropertyDeleteMutation) { Property property = ((PropertyPropertyDeleteMutation) propertyDeleteMutation).getProperty(); Metadata metadata = property.getMetadata(); for (Metadata.Entry metadataItem : metadata.entrySet()) { Text columnQualifier = getPropertyMetadataColumnQualifierText(property, metadataItem); ColumnVisibility metadataVisibility = visibilityToAccumuloVisibility(metadataItem.getVisibility()); addPropertyMetadataItemDeleteToMutation(m, columnQualifier, metadataVisibility); } } }
public void addPropertyMetadataToMutation(Mutation m, Property property) { Metadata metadata = property.getMetadata(); for (Metadata.Entry metadataItem : metadata.entrySet()) { addPropertyMetadataItemToMutation(m, property, metadataItem); } }