public class Selector
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A comparision that is used to determine whether a query should return this object.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fieldName
The name of the field that the operator will be applied to.
|
private Operator |
operator |
Constructor and Description |
---|
Selector() |
Modifier and Type | Method and Description |
---|---|
Selector |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFieldName()
The name of the field that the operator will be applied to.
|
Operator |
getOperator() |
int |
hashCode() |
void |
setFieldName(java.lang.String fieldName)
The name of the field that the operator will be applied to.
|
void |
setOperator(Operator operator) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Selector |
withFieldName(java.lang.String fieldName)
The name of the field that the operator will be applied to.
|
Selector |
withOperator(Operator operator) |
private java.lang.String fieldName
The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
private Operator operator
public void setFieldName(java.lang.String fieldName)
The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
fieldName
- The name of the field that the operator will be applied to. The
field name is the "key" portion of the field definition in the
pipeline definition syntax that is used by the AWS Data Pipeline
API. If the field is not set on the object, the condition fails.public java.lang.String getFieldName()
The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
public Selector withFieldName(java.lang.String fieldName)
The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
fieldName
- The name of the field that the operator will be applied to. The
field name is the "key" portion of the field definition in the
pipeline definition syntax that is used by the AWS Data Pipeline
API. If the field is not set on the object, the condition fails.public void setOperator(Operator operator)
operator
- public Operator getOperator()
public Selector withOperator(Operator operator)
operator
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Selector clone()
clone
in class java.lang.Object