com.smartgwt.client.docs

## Interface Criteria

-     public interface Criteria

  Criteria for selecting only a matching set of records from a DataSource. Criteria can be applied on the client and server. Unless configured otherwise, criteria will generally be applied client-side by `ResultSet`s via `ResultSet.applyFilter()`.

  Client- and server-side systems built into Smart GWT understand two criteria formats by default: simple key-value pairs (Criteria) or the `AdvancedCriteria` format.

  Use `DataSource.combineCriteria()` to combine two Criteria objects (including Criteria and AdvancedCriteria) or `DataSource.convertCriteria()` to convert simple Criteria to the AdvancedCriteria format.

  When sent to the Smart GWT server, the Java representation of the criteria is described `here`. When sent to other servers, the `operationBinding.dataProtocol` affects the format.