}
}
@Override
public String rewriteFilterItem(FilterItem item) {
SelectItem _selectItem = item.getSelectItem();
Object _operand = item.getOperand();
OperatorType _operator = item.getOperator();
if (null != _selectItem && _operand != null) {
ColumnType columnType = _selectItem.getExpectedColumnType();
if (columnType != null) {
if (columnType.isTimeBased()) {
// special logic for DB2 based time operands.
StringBuilder sb = new StringBuilder();
sb.append(_selectItem.getSameQueryAlias(true));
final Object operand = FilterItem.appendOperator(sb, _operand, _operator);
if (operand instanceof SelectItem) {
final String selectItemString = ((SelectItem) operand).getSameQueryAlias(true);
sb.append(selectItemString);