@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that splits a dataset into two, based on a filter condition.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
List<FilterExpression> |
getFilters()
Specifies a filter expression.
|
List<String> |
getInputs()
The data inputs identified by their node names.
|
String |
getLogicalOperator()
The operator used to filter rows by comparing the key value to a specified value.
|
String |
getName()
The name of the transform node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilters(Collection<FilterExpression> filters)
Specifies a filter expression.
|
void |
setInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
void |
setLogicalOperator(String logicalOperator)
The operator used to filter rows by comparing the key value to a specified value.
|
void |
setName(String name)
The name of the transform node.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withFilters(Collection<FilterExpression> filters)
Specifies a filter expression.
|
Filter |
withFilters(FilterExpression... filters)
Specifies a filter expression.
|
Filter |
withInputs(Collection<String> inputs)
The data inputs identified by their node names.
|
Filter |
withInputs(String... inputs)
The data inputs identified by their node names.
|
Filter |
withLogicalOperator(FilterLogicalOperator logicalOperator)
The operator used to filter rows by comparing the key value to a specified value.
|
Filter |
withLogicalOperator(String logicalOperator)
The operator used to filter rows by comparing the key value to a specified value.
|
Filter |
withName(String name)
The name of the transform node.
|
public void setName(String name)
The name of the transform node.
name
- The name of the transform node.public String getName()
The name of the transform node.
public Filter withName(String name)
The name of the transform node.
name
- The name of the transform node.public List<String> getInputs()
The data inputs identified by their node names.
public void setInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public Filter withInputs(String... inputs)
The data inputs identified by their node names.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The data inputs identified by their node names.public Filter withInputs(Collection<String> inputs)
The data inputs identified by their node names.
inputs
- The data inputs identified by their node names.public void setLogicalOperator(String logicalOperator)
The operator used to filter rows by comparing the key value to a specified value.
logicalOperator
- The operator used to filter rows by comparing the key value to a specified value.FilterLogicalOperator
public String getLogicalOperator()
The operator used to filter rows by comparing the key value to a specified value.
FilterLogicalOperator
public Filter withLogicalOperator(String logicalOperator)
The operator used to filter rows by comparing the key value to a specified value.
logicalOperator
- The operator used to filter rows by comparing the key value to a specified value.FilterLogicalOperator
public Filter withLogicalOperator(FilterLogicalOperator logicalOperator)
The operator used to filter rows by comparing the key value to a specified value.
logicalOperator
- The operator used to filter rows by comparing the key value to a specified value.FilterLogicalOperator
public List<FilterExpression> getFilters()
Specifies a filter expression.
public void setFilters(Collection<FilterExpression> filters)
Specifies a filter expression.
filters
- Specifies a filter expression.public Filter withFilters(FilterExpression... filters)
Specifies a filter expression.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Specifies a filter expression.public Filter withFilters(Collection<FilterExpression> filters)
Specifies a filter expression.
filters
- Specifies a filter expression.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.