public class HierarchyNavigator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IQuery |
iQuery
available query service
|
| Modifier | Constructor and Description |
|---|---|
protected |
HierarchyNavigator(IQuery iQuery)
Construct a new hierarchy navigator.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.collect.ImmutableSet<Long> |
doLookup(String toType,
String fromType,
Long fromId)
Look up which objects of a given type relate to the given query object.
|
protected void |
prepareLookups(String toType,
String fromType,
Collection<Long> fromIds)
Batch bulk database queries to prime the cache for
doLookup(String, String, Long). |
protected final IQuery iQuery
protected HierarchyNavigator(IQuery iQuery)
iQuery - the query serviceprotected void prepareLookups(String toType, String fromType, Collection<Long> fromIds)
doLookup(String, String, Long).
It is not necessary to call this method, but it is advised if many lookups are anticipated.toType - the type of the objects to which the query objects may be related, not nullfromType - the query object's type, not nullfromIds - the query objects' database IDs, none nullprotected com.google.common.collect.ImmutableSet<Long> doLookup(String toType, String fromType, Long fromId)
prepareLookups(String, String, Collection).toType - the type of the objects to which the query object may be related, not nullfromType - the query object's type, not nullfromId - the query object's database ID, not nullnull
Version: 5.3.4-ice35-b69
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.