C# Class Amazon.DynamoDBv2.DocumentModel.Filter

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ConvertToAttributeValues ( ) : List

Method Details

AddCondition() public méthode

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
Résultat void

ConvertToAttributeValues() protected static méthode

protected static ConvertToAttributeValues ( ) : List
Résultat List

FromConditions() public static méthode

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

RemoveCondition() public méthode

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

ToConditions() public méthode

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