public class SQLField extends Object
Constructor and Description |
---|
SQLField(String tableAlias,
String fieldClause,
RowMetaInterface serviceFields) |
SQLField(String tableAlias,
String fieldClause,
RowMetaInterface serviceFields,
boolean orderField) |
SQLField(String tableAlias,
String fieldClause,
RowMetaInterface serviceFields,
boolean orderField,
SQLFields selectFields) |
SQLField(String tableAlias,
String field,
String alias,
SQLAggregation aggregation,
ValueMetaInterface valueMeta) |
public SQLField(String tableAlias, String field, String alias, SQLAggregation aggregation, ValueMetaInterface valueMeta)
field
- alias
- aggregation
- valueMeta
- public SQLField(String tableAlias, String fieldClause, RowMetaInterface serviceFields) throws KettleSQLException
KettleSQLException
public SQLField(String tableAlias, String fieldClause, RowMetaInterface serviceFields, boolean orderField) throws KettleSQLException
KettleSQLException
public SQLField(String tableAlias, String fieldClause, RowMetaInterface serviceFields, boolean orderField, SQLFields selectFields) throws KettleSQLException
KettleSQLException
public String getName()
public void setName(String name)
name
- the name to setpublic String getAlias()
public void setAlias(String alias)
alias
- the alias to setpublic SQLAggregation getAggregation()
public void setAggregation(SQLAggregation aggregation)
aggregation
- the aggregation to setpublic ValueMetaInterface getValueMeta()
public void setValueMeta(ValueMetaInterface valueMeta)
valueMeta
- the valueMeta to setpublic String getField()
public void setField(String field)
field
- the field to setpublic boolean isCountStar()
public void setCountStar(boolean countStar)
countStar
- the countStar to setpublic boolean isCountDistinct()
public void setCountDistinct(boolean countDistinct)
countDistinct
- the countDistinct to setpublic boolean isOrderField()
public void setOrderField(boolean orderField)
orderField
- the orderField to setpublic boolean isAscending()
public void setAscending(boolean ascending)
ascending
- the ascending to setpublic String getExpression()
public void setExpression(String expression)
expression
- the expression to setpublic SQLFields getSelectFields()
public void setSelectFields(SQLFields selectFields)
selectFields
- the selectFields to setpublic IifFunction getIif()
public Object getValueData()
public void setValueData(Object valueData)
valueData
- the valueData to setpublic void setIif(IifFunction iif)
iif
- the iif to setpublic String getTableAlias()
public void setTableAlias(String tableAlias)
tableAlias
- the tableAlias to setpublic int getFieldIndex()
public void setFieldIndex(int fieldIndex)
fieldIndex
- the fieldIndex to set