Class TransformationQueryBuilder
A class that builds and executes a query to return a set of transformations.
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public class TransformationQueryBuilder
Methods
ExecuteAsync(CancellationToken)
Executes the query and returns the results.
Declaration
public IAsyncEnumerable<ITransformation> ExecuteAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | A token that can be used to cancel the request. |
Returns
Type | Description |
---|---|
IAsyncEnumerable<ITransformation> | An async enumeration of ITransformation. |
LimitTo(Range)
Sets the range of results to return.
Declaration
public TransformationQueryBuilder LimitTo(Range range)
Parameters
Type | Name | Description |
---|---|---|
Range | range | The range of results. |
Returns
Type | Description |
---|---|
TransformationQueryBuilder | The calling TransformationQueryBuilder. |
SelectWhereMatchesFilter(TransformationSearchFilter)
Sets the filter to use for the query.
Declaration
public TransformationQueryBuilder SelectWhereMatchesFilter(TransformationSearchFilter searchFilter)
Parameters
Type | Name | Description |
---|---|---|
TransformationSearchFilter | searchFilter | The search criteria. |
Returns
Type | Description |
---|---|
TransformationQueryBuilder | The calling TransformationQueryBuilder. |
WithCacheConfiguration(TransformationCacheConfiguration)
Sets an override to the default cache configuration for the query.
Declaration
public TransformationQueryBuilder WithCacheConfiguration(TransformationCacheConfiguration transformationCacheConfiguration)
Parameters
Type | Name | Description |
---|---|---|
TransformationCacheConfiguration | transformationCacheConfiguration | The configuration to apply when populating the transformations. |
Returns
Type | Description |
---|---|
TransformationQueryBuilder | The calling TransformationQueryBuilder. |