---
schema_version: "1"
id: f0aaf832d61784e4e9b30fa19c61d79258d4fa45b64a7b57d12f361251292652
title: Wave Namespace
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_namespace_wave.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_wave.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b7faed5fae7a4e37d9b2ae2f04870a93615c6fa76631cbefcbb0dcbcab95cdac
description: The classes in the Wave namespace are part of the CRM Analytics Analytics SDK, designed to facilitate querying CRM Analytics data from Apex code.
---
# Wave Namespace

The classes in the Wave namespace are part of the CRM Analytics Analytics SDK, designed to facilitate querying CRM Analytics data from Apex code.

The following are the classes in the Wave namespace.

- **[QueryBuilder Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_wave_QueryBuilder.htm#apex_class_wave_QueryBuilder)**  
    The QueryBuilder class provides methods for constructing well-formed SAQL queries to pass to CRM Analytics.
- **[QueryNode Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_wave_QueryNode.htm#apex_class_wave_QueryNode)**  
    Define each node of the query - such as projection, groups, order, filters. Execute the query.
- **[ProjectionNode Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_wave_ProjectionNode.htm#apex_class_wave_ProjectionNode)**  
    Add aggregate functions to the query, or define an alias.
- **[Templates Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Wave_Templates.htm#apex_class_Wave_Templates)**  
    The Templates class provides methods for retrieving CRM Analytics template collections, individual templates, and template configurations.
- **[TemplatesSearchOptions Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Wave_TemplatesSearchOptions.htm#apex_class_Wave_TemplatesSearchOptions)**  
    The TemplatesSearchOptions class provides optional properties to filter the template collection.