여기에 우리는 두 개의 클래스, Appointment
및 Hairdresser
, 같은 하나의 조상 (topParent
정적 최종 키)를 가진 모두가 :-) 건입니다.
객관화 구글 DataSore 쿼리
@Parent
public Key parent;
public Key hairdresserKey;`
을하지만 우리는 약속을 필터링 할 때,이 결과와 함께 제공되지 않습니다 다음 Appointment
이 같은 Hairdresser
가 포함되어 있습니다. hairdresserKey == null
에있는 부모님, 단서 일 수도 있지만 지금은 고생하고 있습니다.
누군가이 쿼리에 어떤 문제가 있는지 알려주세요.
고맙습니다. 이
@Unindexed
공용 클래스 약속을 찾을 직렬화 {
@Id
public Long id;
@Indexed
public TimeSlot timeSlot;
@Transient
public WorkDay workDay;
@Transient
public Customer customer;
public Key customerKey;
public int END_TIME_HOUR;
public int END_TIME_MINUTES;
@Indexed
public TREATMENT treatment = TREATMENT.TREATMENT_CUT;
public int revisionNumber = -1;
/* QUERY Fields */
@Indexed
private String stringDate;
private double LENGTH;
@Parent
public Key parent;
private Date date;
@Transient
public Hairdresser hairdresser;
public Key hairdresserKey;
{ancestor, hairdresserKey, timeSlot, LENGTH} * 및 * 모든 속성 값에 대해 단일 속성 색인을 모두 생성 했습니까? – stickfigure