public class Condition extends Object
Constructor and Description |
---|
Condition() |
Modifier and Type | Method and Description |
---|---|
String |
getColumn() |
Condition |
getLhs() |
String |
getOperator() |
Condition |
getRhs() |
String |
getValue() |
Map<Integer,DataRow> |
process(DataTable dataTable)
Processes the condition by traversing through the binary tree of conditions that it
creates while parsing the WHERE clause of a conditional SQL statement.
|
void |
setColumn(String column) |
void |
setLhs(Condition lhs) |
void |
setOperator(String operator) |
void |
setRhs(Condition rhs) |
void |
setValue(String value) |
public Map<Integer,DataRow> process(DataTable dataTable) throws SQLException
Processes the condition by traversing through the binary tree of conditions that it creates while parsing the WHERE clause of a conditional SQL statement.
dataTable
- Input dataSQLException
public String getColumn()
public void setColumn(String column)
public String getOperator()
public void setOperator(String operator)
public String getValue()
public void setValue(String value)
public Condition getLhs()
public void setLhs(Condition lhs)
public Condition getRhs()
public void setRhs(Condition rhs)
Copyright © 2017 WSO2. All rights reserved.