0
物化過濾器我想有兩個實體對裁判
@Entity
public class User {
@Index private String email;
@Index private String name;
@Index private String age;
}
@Entity
public class poll {
@Index private String pollid;
@Index private String answer;
@Index private Ref<User> user;
}
現在,如果我想通過電子郵件I m漸漸空虛查詢投票和過濾器。可能嗎?
ofy().load().type(Poll.class).filter("email", email).list();
那麼,如果我想過濾使用電子郵件ID,我應該有什麼類型的結構。會嵌入幫助? – user1389893