public interface Renderer
Modifier and Type | Method and Description |
---|---|
TreeNode<Set<String>> |
finalizeProperties(TreeNode<QueryInfo> queryProperties,
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.
|
void |
init(SchemaFactory schemaFactory)
Set a schema factory on the renderer.
|
boolean |
requiresPropertyProviderInput()
Obtains the property provider requirements of the given
renderer implementation.
|
void init(SchemaFactory schemaFactory)
schemaFactory
- factory of schema instancesTreeNode<Set<String>> finalizeProperties(TreeNode<QueryInfo> queryProperties, boolean isCollection)
queryProperties
- tree of query information. Contains query information
for the root query and all sub-queries (children)isCollection
- whether the query is a collectionResult finalizeResult(Result queryResult)
queryResult
- result of query in native (default) formatResultPostProcessor getResultPostProcessor(Request request)
request
- original requestboolean requiresPropertyProviderInput()
Copyright © 2022 Apache Software Foundation. All rights reserved.