Question: Question 1 1 . Let s consider an Employee relation described by the following attributes: emptID, empName,empAddress and empPhone. a . Explain how the information
Question
Lets consider an Employee relation described by the following attributes: emptID, empName,empAddress and empPhone.
a Explain how the information of the following row of the Employee relation AhmadRiyadh are stored in a KeyValue store.
b Write the pseudocode of a function called setEmpAttr allowing to store the value of a single attribute of a given employee in a Keyvalue store. The function setEmpAttr receives parameters employeeID, AttributeName and Value. It stores Value as the value of the attributeAttributeName of the employee identified by employeeID.
c Write the pseudocode of a function called getEmpAttr allowing to retrieve the value of a singleattribute of a given employee in a Keyvalue store. The function getEmpAttr receives parameters employeeID and AttributeName. It returns the value of the attribute AttributeName of the employee identified by employeeID.
Explain the principle of recursive query processing of put and get queries in a directory based architecture of a KeyValue store.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
