Package com.tibco.patterns.deduplication

## Interface QueryBuilder<SourceRecordType extends Keyed>

- Type Parameters:
    `SourceRecordType` - Queries are built from records of this type.
  All Known Implementing Classes:
    `GenericCompoundQueryBuilder`, `GenericQueryBuilder`

      public interface QueryBuilder<SourceRecordType extends Keyed>

  Interface to build a query from a record.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `KeyedQuery` | `buildQuery​(SourceRecordType record)` | Builds a query from a TIBCO Patterns - Search record.

- - ### Method Detail

    - #### buildQuery

          KeyedQuery buildQuery​(SourceRecordType record)
                         throws QueryBuildException

      Builds a query from a TIBCO Patterns - Search record.
      Parameters:
        `record` - The record to build the query from.
      Returns:
        The query. null may be returned if no query is desired.
      Throws:
        `QueryBuildException` - if the query could not be built