Inheritance diagram for EdgReplicaMetadataCatalog::ReplicaMetadataCatalog:
Public Methods | |||
ReplicaMetadataCatalog (const std::string &url) | |||
create a new ReplicaMetadataCatalog. More... | |||
virtual | ~ReplicaMetadataCatalog () | ||
Standard virtual destructor. More... | |||
virtual const std::string & | getUrl () const=0 | ||
get the URL this ReplicaMetadataCatalog resides at. More... | |||
virtual void | addAlias (const std::string &guid, const std::string &alias)=0 throw (AliasExistsException, ValueTooLongException, CommunicationException) | ||
Add an alias into catalog. More... | |||
virtual void | removeAlias (const std::string &guid, const std::string &alias)=0 throw (CommunicationException) | ||
Remove an alias from the catalog. More... | |||
virtual bool | aliasExists (const std::string &alias) const=0 throw (CommunicationException) | ||
Do we have a given alias in the catalog? More... | |||
virtual bool | guidExists (const std::string &guid) const=0 throw (CommunicationException) | ||
Do we have a given guid in the catalog? More... | |||
virtual const std::string | guidForAlias (const std::string &alias) const=0 throw (NoSuchAliasException, CommunicationException) | ||
Find a corresponding guid for a given alias. More... | |||
virtual void | getAliases (const std::string &guid, Aliases_t &vec) const=0 throw (NoSuchGuidException, CommunicationException) | ||
Retrieve the list of all aliases pointing to the same guid. More... | |||
virtual void | createAliasAttributeDefinition (const AttributeDefinition &attrDef)=0 throw (AttributeDefinitionExistsException, UnsupportedAttributeTypeException, EmptyAttributeNameException, ValueTooLongException, CommunicationException) | ||
Create a new alias Attribute Definition in the Catalog. More... | |||
virtual void | getAliasAttributeDefinitions (AttrDefs_t &ads) const=0 throw (CommunicationException) | ||
Retrieve the list of all available alias attribute definitions. More... | |||
virtual AttributeDefinition | getAliasAttributeDefinition (const std::string &attrAliasName) const=0 throw (CommunicationException) | ||
Retrieve the alias attribute definition. More... | |||
virtual bool | aliasAttributeDefinitionExists (const std::string &attrName) const=0 throw (CommunicationException) | ||
do we have an alias attribute definition for a given attribute name? More... | |||
virtual void | removeAliasAttributeDefinition (const std::string &attrName)=0 throw (NoSuchAttributeDefinitionException, EmptyAttributeNameException, CommunicationException) | ||
Delete an alias Attribute Definition from the Catalog. More... | |||
virtual void | createGuidAttributeDefinition (const AttributeDefinition &attrDef)=0 throw (AttributeDefinitionExistsException, UnsupportedAttributeTypeException, EmptyAttributeNameException, ValueTooLongException, CommunicationException) | ||
Create a new guid Attribute Definition in the Catalog. More... | |||
virtual void | getGuidAttributeDefinitions (AttrDefs_t &ads) const=0 throw (CommunicationException) | ||
Retrieve the list of all available guid attribute definitions. More... | |||
virtual AttributeDefinition | getGuidAttributeDefinition (const std::string &attrGuidName) const=0 throw (CommunicationException) | ||
Retrieve the guid attribute definition. More... | |||
virtual bool | guidAttributeDefinitionExists (const std::string &attrName) const=0 throw (CommunicationException) | ||
do we have an guid attribute definition for a given attribute name? More... | |||
virtual void | removeGuidAttributeDefinition (const std::string &attrName)=0 throw (NoSuchAttributeDefinitionException, EmptyAttributeNameException, CommunicationException) | ||
Delete a guid Attribute Definition from the Catalog. More... | |||
virtual const std::string | setGuidAttribute (const std::string &guidName, const std::string &attrDefnName, const std::string &attrValue)=0 throw (NoSuchAttributeDefinitionException, NoSuchGuidException, ValueTooLongException, CommunicationException) | ||
Returns the old guid attribute, or empty string if no old attribute exists. More... | |||
virtual const std::string | setStringGuidAttribute (const std::string &guidName, const std::string &attrDefnName, const std::string &attrValue)=0 throw (NoSuchAttributeDefinitionException, NoSuchGuidException, ValueTooLongException, UnappropriateAttributeTypeException, CommunicationException) | ||
Returns the old guid attribute, or empty string if no old attribute exists. More... | |||
virtual int | setIntGuidAttribute (const std::string &guidName, const std::string &attrDefnName, int attrValue)=0 throw (NoSuchAttributeDefinitionException, NoSuchGuidException, ValueTooLongException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual float | setFloatGuidAttribute (const std::string &guidName, const std::string &attrDefnName, float attrValue)=0 throw (NoSuchAttributeDefinitionException, NoSuchGuidException, ValueTooLongException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual const std::string | getGuidAttribute (const std::string &guidName, const std::string &attrDefnName) const=0 throw (NoSuchGuidException, NoSuchAttributeDefinitionException, CommunicationException) | ||
Returns the guid attribute, or empty string if no attribute exists. More... | |||
virtual const std::string | getStringGuidAttribute (const std::string &guidName, const std::string &attrDefnName) const=0 throw (NoSuchGuidException, NoSuchAttributeDefinitionException, UnappropriateAttributeTypeException, CommunicationException) | ||
Returns the guid attribute, or empty string if no attribute exists. More... | |||
virtual int | getIntGuidAttribute (const std::string &guidName, const std::string &attrDefnName) const=0 throw (NoSuchGuidException, NoSuchAttributeDefinitionException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual float | getFloatGuidAttribute (const std::string &guidName, const std::string &attrDefnName) const=0 throw (NoSuchGuidException, NoSuchAttributeDefinitionException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual void | removeGuidAttribute (const std::string &guidName, const std::string &attrDefnName)=0 throw (NoSuchGuidException, NoSuchAttributeDefinitionException, CommunicationException) | ||
Removes the attribute for a given guid. More... | |||
virtual const std::string | setAliasAttribute (const std::string &aliasName, const std::string &attrDefnName, const std::string &attrValue)=0 throw (NoSuchAttributeDefinitionException, NoSuchAliasException, ValueTooLongException, CommunicationException) | ||
Returns the old alias attribute, or empty string if no old attribute exists. More... | |||
virtual const std::string | setStringAliasAttribute (const std::string &aliasName, const std::string &attrDefnName, const std::string &attrValue)=0 throw (NoSuchAttributeDefinitionException, NoSuchAliasException, ValueTooLongException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual int | setIntAliasAttribute (const std::string &aliasName, const std::string &attrDefnName, int attrValue)=0 throw (NoSuchAttributeDefinitionException, NoSuchAliasException, ValueTooLongException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual float | setFloatAliasAttribute (const std::string &aliasName, const std::string &attrDefnName, float attrValue)=0 throw (NoSuchAttributeDefinitionException, NoSuchAliasException, ValueTooLongException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual const std::string | getAliasAttribute (const std::string &aliasName, const std::string &attrDefnName) const=0 throw (NoSuchAliasException, NoSuchAttributeDefinitionException, CommunicationException) | ||
Returns the alias attribute, or empty string if no attribute exists. More... | |||
virtual const std::string | getStringAliasAttribute (const std::string &aliasName, const std::string &attrDefnName) const=0 throw (NoSuchAliasException, NoSuchAttributeDefinitionException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual int | getIntAliasAttribute (const std::string &aliasName, const std::string &attrDefnName) const=0 throw (NoSuchAliasException, NoSuchAttributeDefinitionException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual float | getFloatAliasAttribute (const std::string &aliasName, const std::string &attrDefnName) const=0 throw (NoSuchAliasException, NoSuchAttributeDefinitionException, UnappropriateAttributeTypeException, CommunicationException) | ||
virtual void | removeAliasAttribute (const std::string &aliasName, const std::string &attrDefnName)=0 throw (NoSuchAliasException, NoSuchAttributeDefinitionException, NoSuchAttributeDefinitionException, CommunicationException) | ||
Removes the attribute for a given alias. More... | |||
virtual void | setDefaultResultLength (int resultLength)=0 throw (CommunicationException) | ||
Set the number of mappings that will be displayed by default. More... | |||
virtual int | getDefaultResultLength () const=0 throw (CommunicationException) | ||
Return the number of mappings that will be displayed by default. More... | |||
virtual void | getColumnSizes (ColumnSizes &cs) const=0 throw (CommunicationException) | ||
Return the DB schema defined column sizes for guid, alias and attr. More... | |||
virtual void | getMappingsWithAttributes (const std::vector< std::string > &guids, std::vector< Mapping > &mappings) const=0 throw (CommunicationException) | ||
Return the mappings for a list of guids. More... | |||
virtual void | setMappingsWithAttributes (const std::vector< Mapping > &mappings) const=0 throw (CommunicationException, NoSuchAttributeDefinitionException, UnappropriateAttributeTypeException, AliasExistsException) | ||
Add a set of guid to alias mappings, with optional guid and alias attributes to the database. More... | |||
virtual void | getMappingsByGuid (const std::string &guidPattern, GaMap &mappings) const=0 throw (CommunicationException) | ||
Return the guid to logical filename mappings which match the given guid name pattern The result will be an empty if no mapppings are found. More... | |||
virtual void | getMappingsByGuid (const std::string &guidPattern, int resultLength, GaMap &mappings) const=0 throw (CommunicationException) | ||
Return the guid to physical filename mappings which contain a guid that matches the given guidPattern. More... | |||
virtual void | getMappingsByGuid (const std::string &guidPattern, int resultLength, int resultStart, GaMap &mappings) const=0 throw (CommunicationException) | ||
Return the guid to physical filename mappings which contain a guid that matches the given guidPattern. More... | |||
virtual void | getMappingsByAlias (const std::string &aliasPattern, GaMap &mappings) const=0 throw (CommunicationException) | ||
Return the guid to logical filename mappings which match the given alias name pattern The result will be an empty if no mapppings are found. More... | |||
virtual void | getMappingsByAlias (const std::string &aliasPattern, int resultLength, GaMap &mappings) const=0 throw (CommunicationException) | ||
Return the guid to logical filename mappings which match the given alias name pattern The result will be an empty if no mapppings are found. More... | |||
virtual void | getMappingsByAlias (const std::string &aliasPattern, int resultLength, int resultStart, GaMap &mappings) const=0 throw (CommunicationException) | ||
Return the guid to logical filename mappings which match the given alias name pattern The result will be an empty if no mapppings are found. More... | |||
virtual void | getMappingsByGuidAttribute (const std::string &name, const std::string &value, GaMap &mappings) const=0 throw (NoSuchAttributeDefinitionException, CommunicationException) | ||
Return the guid to logical filename mappings which have a given attribute name=value pair. More... | |||
virtual void | getMappingsByGuidAttribute (const std::string &name, const std::string &value, int resultLength, GaMap &mappings) const=0 throw (NoSuchAttributeDefinitionException, CommunicationException) | ||
Return the guid to logical filename mappings which have a given attribute name=value pair. More... | |||
virtual void | getMappingsByGuidAttribute (const std::string &name, const std::string &value, int resultLength, int resultStart, GaMap &mappings) const=0 throw (NoSuchAttributeDefinitionException, CommunicationException) | ||
Return the guid to logical filename mappings which have a given attribute name=value pair. More... | |||
virtual void | getMappingsByAliasAttribute (const std::string &name, const std::string &value, GaMap &mappings) const=0 throw (NoSuchAttributeDefinitionException, CommunicationException) | ||
Return the guid to logical filename mappings which have a given attribute name=value pair. More... | |||
virtual void | getMappingsByAliasAttribute (const std::string &name, const std::string &value, int resultLength, GaMap &mappings) const=0 throw (NoSuchAttributeDefinitionException, CommunicationException) | ||
Return the guid to logical filename mappings which have a given attribute name=value pair. More... | |||
virtual void | getMappingsByAliasAttribute (const std::string &name, const std::string &value, int resultLength, int resultStart, GaMap &mappings) const=0 throw (NoSuchAttributeDefinitionException, CommunicationException) | ||
Return the guid to logical filename mappings which have a given attribute name=value pair. More... | |||
virtual void | getMappingsByAttribute (const std::string &SQLQuery, int resultLength, GaMap &mappings) const=0 throw (CommunicationException) | ||
Retrieve mappings by SQL query on attributes. More... | |||
virtual void | getMappingsByAttribute (const std::string &SQLQuery, int resultLength, int resultStart, GaMap &mappings) const=0 throw (CommunicationException) | ||
Retrieve mappings by SQL query on attributes. More... | |||
virtual void | getMappingsWithAttributes (const std::string &SQLQuery, int resultLength, std::vector< Mapping > &mappings) const=0 throw (NoSuchAttributeDefinitionException, InvalidQueryException, CommunicationException) | ||
Return the guid to alias mappings which the PFNs corresponding to the given conditions, along with their attributes. More... | |||
virtual void | getMappingsWithAttributes (const std::string &SQLQuery, int resultLength, int resultStart, std::vector< Mapping > &mappings) const=0 throw (NoSuchAttributeDefinitionException, InvalidQueryException, CommunicationException) | ||
Return the guid to alias mappings which the PFNs corresponding to the given conditions, along with their attributes. More... | |||
virtual const std::string | getVersion () const=0 throw (CommunicationException) | ||
Return RMC server version as std::string
| |||
virtual const std::string | getInterfaceVersion () const=0 throw (CommunicationException) | ||
Return RMC server interface version as std::string
| |||
virtual const std::string | getSchemaVersion () const=0 throw (CommunicationException) | ||
Return RMC server schema version as std::string
| |||
virtual const std::string | ping () const=0 throw (CommunicationException) | ||
Check if a server is alive. More... |
|
create a new ReplicaMetadataCatalog.
|
|
Standard virtual destructor.
|
|
get the URL this ReplicaMetadataCatalog resides at.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Add an alias into catalog.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Remove an alias from the catalog.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Do we have a given alias in the catalog?
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Do we have a given guid in the catalog?
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Find a corresponding guid for a given alias.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Retrieve the list of all aliases pointing to the same guid.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Create a new alias Attribute Definition in the Catalog.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Retrieve the list of all available alias attribute definitions.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Retrieve the alias attribute definition.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
do we have an alias attribute definition for a given attribute name?
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Delete an alias Attribute Definition from the Catalog. This will also remove any attribute value with this definition from GUID and Physical FileName entries in the Catalog.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Create a new guid Attribute Definition in the Catalog.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Retrieve the list of all available guid attribute definitions.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Retrieve the guid attribute definition.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
do we have an guid attribute definition for a given attribute name?
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Delete a guid Attribute Definition from the Catalog. This will also remove any attribute value with this definition from GUID and Physical FileName entries in the Catalog.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Returns the old guid attribute, or
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Returns the old guid attribute, or
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Returns the guid attribute, or
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Returns the guid attribute, or
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Removes the attribute for a given guid.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Returns the old alias attribute, or
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Returns the alias attribute, or
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Removes the attribute for a given alias.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Set the number of mappings that will be displayed by default. (for the getMappingsByGuid and getMappingsByAlias methods)..
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the number of mappings that will be displayed by default. (for the getMappingsByGuid and getMappingsByAlias methods).
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the DB schema defined column sizes for guid, alias and attr. def. names
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the mappings for a list of guids. If some of the guids do not exist, this is not a problem. If there are no results, an empty array is returned
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Add a set of guid to alias mappings, with optional guid and alias attributes to the database. If any problem occurs when inserting entries or attributes (alias already exists, inserting an attribute value for an attribute which doesn't exist, inserting the wrong type of attribute value) the entire transaction is rolled back, and a fault thrown
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which match the given guid name pattern The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to physical filename mappings which contain a guid that matches the given guidPattern. Return only the first mappings (no more than the resultLength parameter). We assume unix regexp semantics. The result will be an empty set if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to physical filename mappings which contain a guid that matches the given guidPattern. Return only a certain number of mappings. Return We assume unix regexp semantics. The result will be an empty set if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which match the given alias name pattern The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which match the given alias name pattern The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which match the given alias name pattern The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which have a given attribute name=value pair. The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which have a given attribute name=value pair. The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which have a given attribute name=value pair. The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which have a given attribute name=value pair. The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which have a given attribute name=value pair. The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to logical filename mappings which have a given attribute name=value pair. The result will be an empty if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Retrieve mappings by SQL query on attributes.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Retrieve mappings by SQL query on attributes.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to alias mappings which the PFNs corresponding to the given conditions, along with their attributes. Return only a certain number of mappings. We assume unix regexp semantics. The result will be an empty set if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return the guid to alias mappings which the PFNs corresponding to the given conditions, along with their attributes. Return only a certain number of mappings. We assume unix regexp semantics. The result will be an empty set if no mapppings are found.
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return RMC server version as std::string
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return RMC server interface version as std::string
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Return RMC server schema version as std::string
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |
|
Check if a server is alive.
It returns a stats string. If everything is ok, this will start with
Implemented in EdgReplicaMetadataCatalog::ReplicaMetadataCatalogImpl. |