public class DefaultRenderer extends BaseRenderer implements Renderer
| Constructor and Description |
|---|
DefaultRenderer() |
| Modifier and Type | Method and Description |
|---|---|
TreeNode<Set<String>> |
finalizeProperties(TreeNode<QueryInfo> queryTree,
boolean isCollection)
Finalize which properties are requested by the query.
|
Result |
finalizeResult(Result queryResult)
Finalize the query results.
|
ResultPostProcessor |
getResultPostProcessor(Request request)
Obtain the associated post processor.
|
addKeys, addPrimaryKey, addSubResources, copyPropertiesToResult, ensureRequiredProperties, getSchema, init, isRequestWithNoProperties, populateSubResourceDefaults, requiresPropertyProviderInputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, requiresPropertyProviderInputpublic TreeNode<Set<String>> finalizeProperties(TreeNode<QueryInfo> queryTree, boolean isCollection)
RendererfinalizeProperties in interface RendererqueryTree - tree of query information. Contains query information
for the root query and all sub-queries (children)isCollection - whether the query is a collectionpublic ResultPostProcessor getResultPostProcessor(Request request)
RenderergetResultPostProcessor in interface Rendererrequest - original requestpublic Result finalizeResult(Result queryResult)
RendererfinalizeResult in interface RendererqueryResult - result of query in native (default) formatCopyright © 2022 Apache Software Foundation. All rights reserved.