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());
}
catch (NullColumnValueException e) {
throw new InternalErrorException("Null value: " + e.getMessage());
}
}