C# Class Amazon.DynamoDBv2.DocumentModel.Filter

Filter for use with scan and query operations
Datei anzeigen Open project: scopely/aws-sdk-net Class Usage Examples

Public Methods

Method Description
AddCondition ( string attributeName, Condition condition ) : void

Adds a condition for a specified attribute. If a condition for the attribute already exists, it will be replaced with the new condition.

FromConditions ( Condition>.Dictionary conditions ) : Filter

Creates a Filter from a conditions map

RemoveCondition ( string attributeName ) : void

Removes a condition for a specific attribute name.

ToConditions ( ) : Condition>.Dictionary

Converts filter to a map of conditions

Protected Methods

Method Description
ConvertToAttributeValues ( ) : List

Method Details

AddCondition() public method

Adds a condition for a specified attribute. If a condition for the attribute already exists, it will be replaced with the new condition.
public AddCondition ( string attributeName, Condition condition ) : void
attributeName string Target attribute name
condition Condition Condition to be added
return void

ConvertToAttributeValues() protected static method

protected static ConvertToAttributeValues ( ) : List
return List

FromConditions() public static method

Creates a Filter from a conditions map
public static FromConditions ( Condition>.Dictionary conditions ) : Filter
conditions Condition>.Dictionary Map from attribute name to condition
return Filter

RemoveCondition() public method

Removes a condition for a specific attribute name.
public RemoveCondition ( string attributeName ) : void
attributeName string Target attribute
return void

ToConditions() public method

Converts filter to a map of conditions
public ToConditions ( ) : Condition>.Dictionary
return Condition>.Dictionary