/** * Return true if this path is a 'fetch join'. */ boolean isFetchJoin() { return !isQueryFetch() && !isLazyFetch(); }
public boolean isFetchJoin() { return !isQueryFetch() && !isLazyFetch(); }
public boolean isFetchJoin() { return !isQueryFetch() && !isLazyFetch(); }
private void registerSecondaryNode(boolean many, OrmQueryProperties props) { int batchSize; if (props.isQueryFetch()) { batchSize = 100; } else { int lazyJoinBatch = props.getLazyFetchBatch(); batchSize = lazyJoinBatch > 0 ? lazyJoinBatch : defaultBatchSize; } String path = props.getPath(); if (many) { manyMap.put(path, createManyContext(path, batchSize, props)); } else { beanMap.put(path, createBeanContext(path, batchSize, props)); } }
boolean match = lazyQuery ? chunk.isLazyFetch() : chunk.isQueryFetch(); if (match) { matchingPaths.add(chunk.getPath());
boolean match = lazyQuery ? chunk.isLazyFetch() : chunk.isQueryFetch(); if (match) { matchingPaths.add(chunk.getPath());
boolean match = lazyQuery ? chunk.isLazyFetch() : chunk.isQueryFetch(); if (match) { matchingPaths.add(chunk.getPath());
public DLoadBaseContext(DLoadContext parent, BeanDescriptor<?> desc, String path, int defaultBatchSize, OrmQueryProperties queryProps) { this.parent = parent; this.serverName = parent.getEbeanServer().getName(); this.desc = desc; this.queryProps = queryProps; this.fullPath = parent.getFullPath(path); this.hitCache = !parent.isExcludeBeanCache() && desc.isBeanCaching(); this.objectGraphNode = parent.getObjectGraphNode(path); this.queryFetch = queryProps != null && queryProps.isQueryFetch(); this.firstBatchSize = initFirstBatchSize(defaultBatchSize, queryProps); this.secondaryBatchSize = initSecondaryBatchSize(defaultBatchSize, firstBatchSize, queryProps); }