- Diviner Queries
- All Atoms
- Search
- Diviner Search
Diviner All Atoms
All Atoms
All Atoms
- Hook invoked before query execution. Generally, implementations should reset any internal cursors.
- Method
- Get the number of results @{method:loadPage} should load. If the value is 0, @{method:loadPage} should load all available results.
- Method
- Get PHIDs which are currently in flight.
- Method
- Mark PHIDs as in flight.
- Method
- Retrieve objects from the query workspace. For more discussion about the workspace mechanism, see @{method:putObjectsInWorkspace}. This method searches both the current query's workspace and the workspaces of parent queries.
- Method
- Put a map of objects into the query workspace. Many queries perform subqueries, which can eventually end up loading the same objects more than once (often to perform policy checks).
- Method
- Return a map of all object PHIDs which were loaded in the query but filtered out by policy constraints. This allows a caller to distinguish between objects which do not exist (or, at least, were filtered at the content level) and objects which exist but aren't visible.
- Method
- Method
- Method
- Method
- Method
- Method
- Execute the query, loading all visible results.
- Method
- Execute the query, expecting a single result. This method simplifies loading objects for detail pages or edit views.
- Method
- Method
- Hook to configure whether this query should raise policy exceptions.
- Method
- Get the parent query. See @{method:setParentQuery} for discussion.
- Method
- Set the parent query of this query. This is useful for nested queries so that configuration like whether or not to raise policy exceptions is seamlessly passed along to child queries.
- Method
- Get the query's viewer.
- Method
- Set the viewer who is executing the query. Results will be filtered according to the viewer's capabilities. You must set a viewer to execute a policy query.
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Trivial example test case.
- Class
- Method
- Class
- Method
- Method
- Throws unless tests are currently executing. This method can be used to guard code which is specific to unit tests and should not normally be reachable.
- Method
- Method
- Returns an integer seed to use when building unique identifiers (e.g., non-colliding usernames). The seed is unstable and its value will change between test runs, so your tests must not rely on it.
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Used by unit tests to build storage fixtures.
- Class
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Proxy an IO channel to an underlying command, with optional callbacks. This is a mostly a more general version of @{class:PhutilExecPassthru}. This class is used to proxy Git, SVN and Mercurial traffic to the commands which can actually serve it.
- Class
- Method
- Method
Copyright © LEAD Solutions B.V.