/** * Returns an empty {@link Metadata} */ public Metadata(NamespacedEntityId namespacedEntityId) { this(namespacedEntityId.toMetadataEntity()); }
/** * Returns an empty {@link Record} */ public Record(NamespacedEntityId namespacedEntityId) { this(namespacedEntityId.toMetadataEntity()); }
/** * Returns an empty {@link MetadataRecordV2} in the specified {@link MetadataScope}. */ public MetadataRecordV2(NamespacedEntityId entityId, MetadataScope scope, Map<String, String> properties, Set<String> tags) { this(entityId.toMetadataEntity(), scope, properties, tags); }
/** * Returns an empty {@link MetadataRecord} in the specified {@link MetadataScope}. */ public MetadataRecord(NamespacedEntityId entityId, MetadataScope scope) { this(entityId.toMetadataEntity(), scope); }
/** * Returns an empty {@link MetadataRecord} in the specified {@link MetadataScope}. */ public MetadataRecord(NamespacedEntityId entityId, MetadataScope scope, Map<String, String> properties, Set<String> tags) { this(entityId.toMetadataEntity(), scope, properties, tags); }
/** * Returns an empty {@link MetadataRecordV2} in the specified {@link MetadataScope}. */ public MetadataRecordV2(NamespacedEntityId entityId, MetadataScope scope) { this(entityId.toMetadataEntity(), scope); }
public MetadataSearchResultRecord(NamespacedEntityId entityId) { this(entityId.toMetadataEntity()); }
AbstractSystemMetadataWriter(MetadataStore metadataStore, NamespacedEntityId entityId) { this.metadataStore = metadataStore; this.metadataEntity = entityId.toMetadataEntity(); }
AbstractSystemMetadataWriter(MetadataPublisher metadataPublisher, NamespacedEntityId entityId) { this.metadataPublisher = metadataPublisher; this.metadataEntity = entityId.toMetadataEntity(); }
public Record(NamespacedEntityId namespacedEntityId, Map<String, String> properties, Set<String> tags) { this(namespacedEntityId.toMetadataEntity(), properties, tags); }
public MetadataEntry(NamespacedEntityId targetId, String key, String value) { this(targetId.toMetadataEntity(), key, value); }
public MetadataSearchResultRecord(NamespacedEntityId entityId, Map<MetadataScope, Metadata> metadata) { this(entityId.toMetadataEntity(), metadata); }
public MetadataSearchResultRecordV2(NamespacedEntityId entityId) { this(entityId.toMetadataEntity()); }
public MetadataEntry(NamespacedEntityId targetId, String key, String value) { this(targetId.toMetadataEntity(), key, value); }
public Metadata(NamespacedEntityId namespacedEntityId, Map<String, String> properties, Set<String> tags) { this(namespacedEntityId.toMetadataEntity(), properties, tags); }
public MetadataSearchResultRecordV2(NamespacedEntityId entityId, Map<MetadataScope, Metadata> metadata) { this(entityId.toMetadataEntity(), metadata); }
private void addProfileMetadataUpdate(NamespacedEntityId entityId, ProfileId profileId, Map<MetadataEntity, Map<String, String>> updates) { LOG.trace("Setting profile metadata for {} to {}", entityId, profileId); updates.put(entityId.toMetadataEntity(), Collections.singletonMap(PROFILE_METADATA_KEY, profileId.getScopedName())); }
private void setProfileMetadata(NamespacedEntityId entityId, ProfileId profileId) { // if we are able to get profile from preferences or schedule properties, use it // otherwise default profile will be used metadataDataset.setProperty(entityId.toMetadataEntity(), PROFILE_METADATA_KEY, profileId.getScopedName()); }