if (obj instanceof Float)
return new FloatLiteral((Float)obj);
if (obj instanceof Double)
return new DoubleLiteral((Double)obj);
}
throw new InternalErrorException(this.getTypeSignature().getReturnType().getSimpleName());
}
catch (ResultMissingColumnException e) {
throw new InternalErrorException("Missing column: " + e.getMessage());