public class ClusterBlueprintRenderer extends BaseRenderer implements Renderer
| Constructor and Description |
|---|
ClusterBlueprintRenderer(BlueprintExportType exportType) |
| Modifier and Type | Method and Description |
|---|---|
protected ClusterTopology |
createClusterTopology(TreeNode<Resource> clusterNode) |
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.
|
protected AmbariManagementController |
getController()
Get management controller instance.
|
ResultPostProcessor |
getResultPostProcessor(Request request)
Obtain the associated post processor.
|
boolean |
requiresPropertyProviderInput()
Obtains the property provider requirements of the given
renderer implementation.
|
addKeys, addPrimaryKey, addSubResources, copyPropertiesToResult, ensureRequiredProperties, getSchema, init, isRequestWithNoProperties, populateSubResourceDefaultspublic ClusterBlueprintRenderer(BlueprintExportType exportType)
public TreeNode<Set<String>> finalizeProperties(TreeNode<QueryInfo> queryProperties, boolean isCollection)
RendererfinalizeProperties in interface RendererqueryProperties - tree of query information. Contains query information
for the root query and all sub-queries (children)isCollection - whether the query is a collectionpublic Result finalizeResult(Result queryResult)
RendererfinalizeResult in interface RendererqueryResult - result of query in native (default) formatpublic ResultPostProcessor getResultPostProcessor(Request request)
RenderergetResultPostProcessor in interface Rendererrequest - original requestpublic boolean requiresPropertyProviderInput()
RendererrequiresPropertyProviderInput in interface RendererrequiresPropertyProviderInput in class BaseRendererprotected ClusterTopology createClusterTopology(TreeNode<Resource> clusterNode) throws InvalidTopologyTemplateException, InvalidTopologyException
protected AmbariManagementController getController()
Copyright © 2022 Apache Software Foundation. All rights reserved.