/** * Creates the metadata table key entry for a given edge table Key * * @return a key object for use in the Datawave Metadata table */ public static Key getMetadataKey(Key key) { EdgeKey eKey = EdgeKey.decode(key); return eKey.getMetadataKey(); }
.getSink().getIndexedFieldValue(), this.getVisibility(edgeValue)); Key fwdMetaKey = EdgeKey.getMetadataKey(baseKey); Key revMetaKey = EdgeKey.getMetadataKey(EdgeKey.swapSourceSink(EdgeKey.decode(baseKey)).encode());