public class Operator extends Object implements Serializable, Cloneable
Contains a logical operation for comparing the value of a field with a specified value.
| Constructor and Description | 
|---|
Operator()  | 
| Modifier and Type | Method and Description | 
|---|---|
Operator | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getType()
The logical operation to be performed: equal ( 
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). | 
List<String> | 
getValues()
The value that the actual field value will be compared with. 
 | 
int | 
hashCode()  | 
void | 
setType(OperatorType type)
The logical operation to be performed: equal ( 
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). | 
void | 
setType(String type)
The logical operation to be performed: equal ( 
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). | 
void | 
setValues(Collection<String> values)
The value that the actual field value will be compared with. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
Operator | 
withType(OperatorType type)
The logical operation to be performed: equal ( 
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). | 
Operator | 
withType(String type)
The logical operation to be performed: equal ( 
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). | 
Operator | 
withValues(Collection<String> values)
The value that the actual field value will be compared with. 
 | 
Operator | 
withValues(String... values)
The value that the actual field value will be compared with. 
 | 
public String getType()
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). Equal reference (REF_EQ) can be
 used only with reference fields. The other comparison types can be
 used only with String fields. The comparison types you can use apply
 only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
 comparison operators GE, LE, and
 BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
 Constraints:
 Allowed Values: EQ, REF_EQ, LE, GE, BETWEEN
EQ), equal
         reference (REF_EQ), less than or equal (LE),
         greater than or equal (GE), or between
         (BETWEEN). Equal reference (REF_EQ) can be
         used only with reference fields. The other comparison types can be
         used only with String fields. The comparison types you can use apply
         only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
         comparison operators GE, LE, and
         BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorTypepublic void setType(String type)
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). Equal reference (REF_EQ) can be
 used only with reference fields. The other comparison types can be
 used only with String fields. The comparison types you can use apply
 only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
 comparison operators GE, LE, and
 BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
 Constraints:
 Allowed Values: EQ, REF_EQ, LE, GE, BETWEEN
type - The logical operation to be performed: equal (EQ), equal
         reference (REF_EQ), less than or equal (LE),
         greater than or equal (GE), or between
         (BETWEEN). Equal reference (REF_EQ) can be
         used only with reference fields. The other comparison types can be
         used only with String fields. The comparison types you can use apply
         only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
         comparison operators GE, LE, and
         BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorTypepublic Operator withType(String type)
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). Equal reference (REF_EQ) can be
 used only with reference fields. The other comparison types can be
 used only with String fields. The comparison types you can use apply
 only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
 comparison operators GE, LE, and
 BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: EQ, REF_EQ, LE, GE, BETWEEN
type - The logical operation to be performed: equal (EQ), equal
         reference (REF_EQ), less than or equal (LE),
         greater than or equal (GE), or between
         (BETWEEN). Equal reference (REF_EQ) can be
         used only with reference fields. The other comparison types can be
         used only with String fields. The comparison types you can use apply
         only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
         comparison operators GE, LE, and
         BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorTypepublic void setType(OperatorType type)
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). Equal reference (REF_EQ) can be
 used only with reference fields. The other comparison types can be
 used only with String fields. The comparison types you can use apply
 only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
 comparison operators GE, LE, and
 BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
 Constraints:
 Allowed Values: EQ, REF_EQ, LE, GE, BETWEEN
type - The logical operation to be performed: equal (EQ), equal
         reference (REF_EQ), less than or equal (LE),
         greater than or equal (GE), or between
         (BETWEEN). Equal reference (REF_EQ) can be
         used only with reference fields. The other comparison types can be
         used only with String fields. The comparison types you can use apply
         only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
         comparison operators GE, LE, and
         BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorTypepublic Operator withType(OperatorType type)
EQ), equal
 reference (REF_EQ), less than or equal (LE),
 greater than or equal (GE), or between
 (BETWEEN). Equal reference (REF_EQ) can be
 used only with reference fields. The other comparison types can be
 used only with String fields. The comparison types you can use apply
 only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
 comparison operators GE, LE, and
 BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: EQ, REF_EQ, LE, GE, BETWEEN
type - The logical operation to be performed: equal (EQ), equal
         reference (REF_EQ), less than or equal (LE),
         greater than or equal (GE), or between
         (BETWEEN). Equal reference (REF_EQ) can be
         used only with reference fields. The other comparison types can be
         used only with String fields. The comparison types you can use apply
         only to certain object fields, as detailed below. The comparison operators EQ and REF_EQ act on the following fields:
 The
         comparison operators GE, LE, and
         BETWEEN act on the following fields: 
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
OperatorTypepublic List<String> getValues()
public void setValues(Collection<String> values)
values - The value that the actual field value will be compared with.public Operator withValues(String... values)
Returns a reference to this object so that method calls can be chained together.
values - The value that the actual field value will be compared with.public Operator withValues(Collection<String> values)
Returns a reference to this object so that method calls can be chained together.
values - The value that the actual field value will be compared with.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.