title: Retrieving the Property from the Kind using Entity class in google cloud data store?
body: <p>Can any one explain, how can I fetch the property of individual row in google datastore, this is my code</p>
  
  <pre><code>public Entity useravailable(String name, String pass) {
      DatastoreService entityStore = DatastoreServiceFactory.getDatastoreService();
      Key k = KeyFactory.createKey("databasecont", name);
      try {
        Entity user = entityStore.get(k);
        System.out.println("password of user in db"+userHaveAccount);
        if ("password".equals(password)) // Here check the database password with the password("passed as argument to this function")
            return userHaveAccount;
        else
            return null;
      } 
      catch (EntityNotFoundException e1) {
        return null;
      }
  }
  </code></pre>
  
  <p>in if condition I need to check the value get from the database(password) with the argument passed(pass), how can retrieve the password from the database?</p>
  
  <p>Kind(table name) -> databasecont,</p>
  
  <p>properities(columns)  -> name, password,</p>
  
  <p>key(primary key) -> name</p>