MetaQuery

Utilities for managing metadata based queries

class DIRAC.DataManagementSystem.Client.MetaQuery.MetaQuery(queryDict=None, typeDict=None)

Bases: object

__init__(queryDict=None, typeDict=None)

x.__init__(…) initializes x; see help(type(x)) for signature

applyQuery(userMetaDict)

Return a list of tuples with tables and conditions to locate files for a given user Metadata

getMetaQuery()
getMetaQueryAsJson()
setMetaQuery(queryList, metaTypeDict=None)

Create the metadata query out of the command line arguments