public class Comparison extends Object
Constructor and Description |
---|
Comparison()
Construct an empty comparison object.
|
Comparison(String field,
ComparisonType op,
String outputField)
Construct a
Comparison object used to configure a field comparison operator. |
Comparison(String field,
ComparisonType op,
String outputField,
Map<String,Object> properties)
Construct a
Comparison object used to configure a field comparison operator. |
Comparison(String leftField,
String rightField,
ComparisonType op,
String outputField)
Construct a
Comparison object used to configure a field comparison operator. |
Comparison(String leftField,
String rightField,
ComparisonType op,
String outputField,
Map<String,Object> properties)
Construct a
Comparison object used to configure a field comparison operator. |
Modifier and Type | Method and Description |
---|---|
String |
getLeft()
Get the left field name value.
|
ComparisonType |
getOp()
Get the comparison operator type.
|
String |
getOutput()
Get the output field name value.
|
Map<String,Object> |
getProperties()
Get the operator specific properties.
|
String |
getRight()
Get the right field name value.
|
void |
setField(String fieldName)
Set the input field name to compare.
|
void |
setLeft(String leftField)
Set the input left field name value.
|
void |
setOp(ComparisonType op)
Set the comparison operator type.
|
void |
setOutput(String outputField)
Set the output field name value.
|
void |
setProperties(Map<String,Object> properties)
Set the operator specific properties.
|
void |
setRight(String rightField)
Set the input right field name value.
|
public Comparison()
public Comparison(String leftField, String rightField, ComparisonType op, String outputField)
Comparison
object used to configure a field comparison operator.leftField
- the name of the left hand side field to comparerightField
- the name of the right hand side field to compareop
- the comparison operation to performoutputField
- the name of the field resulting from the comparisonpublic Comparison(String field, ComparisonType op, String outputField)
Comparison
object used to configure a field comparison operator.
The field is assumed to have the same name on both sides.field
- the name of the field to compare on the left and right hand sidesop
- the comparison operation to performoutputField
- the name of the field resulting from the comparisonpublic Comparison(String leftField, String rightField, ComparisonType op, String outputField, Map<String,Object> properties)
Comparison
object used to configure a field comparison operator.leftField
- the name of the left hand side field to comparerightField
- the name of the right hand side field to compareop
- the comparison operation to performoutputField
- the name of the field resulting from the comparisonproperties
- properties specific to the configured comparison operatorpublic Comparison(String field, ComparisonType op, String outputField, Map<String,Object> properties)
Comparison
object used to configure a field comparison operator.
The field is assumed to have the same name on both sides.field
- the name of the field to compare on the left and right hand sidesop
- the comparison operation to performoutputField
- the name of the field resulting from the comparisonproperties
- properties specific to the configured comparison operatorpublic String getLeft()
public void setLeft(String leftField)
leftField
- left field name valuepublic String getRight()
public void setRight(String rightField)
rightField
- right field name valuepublic void setField(String fieldName)
fieldName
- input field namepublic ComparisonType getOp()
public void setOp(ComparisonType op)
op
- comparison operator typepublic String getOutput()
public void setOutput(String outputField)
outputField
- output field name valuepublic Map<String,Object> getProperties()
Copyright © 2021 Actian Corporation. All rights reserved.