Package org.openmetadata.service.jdbi3
Interface CollectionDAO.TagUsageDAO
-
- Enclosing interface:
- CollectionDAO
public static interface CollectionDAO.TagUsageDAO
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCollectionDAO.TagUsageDAO.TagLabelMapperstatic classCollectionDAO.TagUsageDAO.TagLabelMapperMigrationDeprecated.static classCollectionDAO.TagUsageDAO.TagLabelMigrationDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidapplyTag(int source, String tagFQN, String tagFQNHash, String targetFQNHash, int labelType, int state)voiddeleteTagLabels(int source, String tagFQNHash)voiddeleteTagLabelsByFqn(String tagFQNHash)voiddeleteTagLabelsByPrefix(int source, String tagFQNHash)voiddeleteTagLabelsByTargetPrefix(String targetFQNHash)voiddeleteTagsByTarget(String targetFQNHash)intgetTagCount(int source, String tagFqnHash)default List<TagLabel>getTags(String targetFQN)List<TagLabel>getTagsInternal(String targetFQNHash)List<String>getTargetFQNs(int source, String tagFQNHash)List<CollectionDAO.TagUsageDAO.TagLabelMigration>listAll()Deprecated.default voidrename(int source, String oldFQN, String newFQN)voidrenameInternal(int source, String oldFQNHash, String newFQN, String newFQNHash)Rename the tagFQNdefault voidupdateTagPrefix(int source, String oldPrefix, String newPrefix)Update all the tagFQN starting with oldPrefix to start with newPrefix due to tag or glossary name changevoidupdateTagPrefixInternal(String update)voidupsertFQNHash(int source, String tagFQN, String tagFQNHash, String targetFQNHash, int labelType, int state, String targetFQN)Deprecated.
-
-
-
Method Detail
-
applyTag
void applyTag(int source, String tagFQN, String tagFQNHash, String targetFQNHash, int labelType, int state)
-
listAll
@Deprecated(since="Release 1.1") List<CollectionDAO.TagUsageDAO.TagLabelMigration> listAll()
Deprecated.
-
getTagCount
int getTagCount(int source, String tagFqnHash)
-
deleteTagsByTarget
void deleteTagsByTarget(String targetFQNHash)
-
deleteTagLabels
void deleteTagLabels(int source, String tagFQNHash)
-
deleteTagLabelsByFqn
void deleteTagLabelsByFqn(String tagFQNHash)
-
deleteTagLabelsByPrefix
void deleteTagLabelsByPrefix(int source, String tagFQNHash)
-
deleteTagLabelsByTargetPrefix
void deleteTagLabelsByTargetPrefix(String targetFQNHash)
-
upsertFQNHash
@Deprecated(since="Release 1.1") void upsertFQNHash(int source, String tagFQN, String tagFQNHash, String targetFQNHash, int labelType, int state, String targetFQN)
Deprecated.
-
updateTagPrefix
default void updateTagPrefix(int source, String oldPrefix, String newPrefix)Update all the tagFQN starting with oldPrefix to start with newPrefix due to tag or glossary name change
-
renameInternal
void renameInternal(int source, String oldFQNHash, String newFQN, String newFQNHash)Rename the tagFQN
-
updateTagPrefixInternal
void updateTagPrefixInternal(String update)
-
-