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, requiresPropertyProviderInput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, requiresPropertyProviderInput
public TreeNode<Set<String>> finalizeProperties(TreeNode<QueryInfo> queryTree, boolean isCollection)
Renderer
finalizeProperties
in interface Renderer
queryTree
- 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)
Renderer
getResultPostProcessor
in interface Renderer
request
- original requestpublic Result finalizeResult(Result queryResult)
Renderer
finalizeResult
in interface Renderer
queryResult
- result of query in native (default) formatCopyright © 2022 Apache Software Foundation. All rights reserved.