

# Filter
<a name="API_Filter"></a>

Specifies a transform that splits a dataset into two, based on a filter condition.

## Contents
<a name="API_Filter_Contents"></a>

 ** Filters **   <a name="Glue-Type-Filter-Filters"></a>
Specifies a filter expression.  
Type: Array of [FilterExpression](API_FilterExpression.md) objects  
Required: Yes

 ** Inputs **   <a name="Glue-Type-Filter-Inputs"></a>
The data inputs identified by their node names.  
Type: Array of strings  
Array Members: Fixed number of 1 item.  
Pattern: `[A-Za-z0-9_-]*`   
Required: Yes

 ** LogicalOperator **   <a name="Glue-Type-Filter-LogicalOperator"></a>
The operator used to filter rows by comparing the key value to a specified value.  
Type: String  
Valid Values: `AND | OR`   
Required: Yes

 ** Name **   <a name="Glue-Type-Filter-Name"></a>
The name of the transform node.  
Type: String  
Pattern: `([^\r\n])*`   
Required: Yes

## See Also
<a name="API_Filter_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/glue-2017-03-31/Filter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/glue-2017-03-31/Filter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/glue-2017-03-31/Filter) 