public class SQLCondition extends Object
Constructor and Description |
---|
SQLCondition(String tableAlias,
String conditionSql,
RowMetaInterface serviceFields) |
SQLCondition(String tableAlias,
String conditionSql,
RowMetaInterface serviceFields,
SQLFields selectFields) |
Modifier and Type | Method and Description |
---|---|
List<SQLField> |
extractHavingFields(List<SQLField> selectFields,
List<SQLField> aggFields,
RowMetaInterface rowMeta)
Extract the list of having fields from this having condition
|
Condition |
getCondition() |
String |
getConditionClause() |
SQLFields |
getSelectFields() |
RowMetaInterface |
getServiceFields() |
String |
getTableAlias() |
boolean |
isEmpty() |
void |
setCondition(Condition condition) |
void |
setConditionClause(String conditionClause) |
void |
setServiceFields(RowMetaInterface serviceFields) |
public SQLCondition(String tableAlias, String conditionSql, RowMetaInterface serviceFields) throws KettleSQLException
KettleSQLException
public SQLCondition(String tableAlias, String conditionSql, RowMetaInterface serviceFields, SQLFields selectFields) throws KettleSQLException
KettleSQLException
public RowMetaInterface getServiceFields()
public void setServiceFields(RowMetaInterface serviceFields)
serviceFields
- the serviceFields to setpublic Condition getCondition()
public void setCondition(Condition condition)
condition
- the condition to setpublic String getConditionClause()
public void setConditionClause(String conditionClause)
conditionClause
- the conditionClause to setpublic boolean isEmpty()
public SQLFields getSelectFields()
public String getTableAlias()
public List<SQLField> extractHavingFields(List<SQLField> selectFields, List<SQLField> aggFields, RowMetaInterface rowMeta) throws KettleSQLException
aggFields
- rowMeta
- KettleSQLException