if (in.isExpectingConditional &&
(sig.getReturnType().equals(Type.BOOLEAN_TYPE)
|| sig.getReturnType().equals(Type.getObjectType("java/lang/Boolean"))))
{
return ColumnExpressions.singleColumn(new SimpleRowReader<>(),
new BinaryExpression("=", new ReadFieldExpression(base.getOnlyColumn(), fieldName), new ConstantExpression("TRUE")));
}
return ColumnExpressions.singleColumn(new SimpleRowReader<>(),
new ReadFieldExpression(base.getOnlyColumn(), fieldName));
// SQLColumnValues sql = new SQLColumnValues(base.reader.getReaderForField(fieldName));
// for (int n = 0; n < sql.reader.getNumColumns(); n++)
// sql.columns[n] = base.columns[base.reader.getColumnForField(fieldName) + n];
}
else if (MetamodelUtil.TUPLE_ACCESSORS.containsKey(sig))