protected Schema getSchema(Resource.Type type) {
    return m_schemaFactory.getSchema(type);
  }
Obtain a schema instance based on resource type.

@param type  resource type

@return schema instance for the provided resource type
ambari-server/src/main/java/org/apache/ambari/server/api/query/render/BaseRenderer.java