public void addValue(String key, Object object) throws TeiidProcessingException { try { startValue(key); if (object == null) { writer.append("null"); //$NON-NLS-1$
public void addValue(String key, Object object) throws TeiidProcessingException { try { startValue(key); if (object == null) { writer.append("null"); //$NON-NLS-1$
public void addValue(String key, Object object) throws TeiidProcessingException { try { startValue(key); if (object == null) { writer.append("null"); //$NON-NLS-1$
private void addValue(List<?> tuple, JSONBuilder builder, String name, Object value) throws TeiidProcessingException, ExpressionEvaluationException, BlockedException, TeiidComponentException, FunctionExecutionException { try { if (value instanceof JSONObject) { builder.startValue(name); evaluateJSONObject(tuple, (JSONObject)value, builder); return; } if (value instanceof Function) { Function f = (Function)value; if (f.getName().equalsIgnoreCase(FunctionLibrary.JSONARRAY)) { builder.startValue(name); jsonArray(context, f, f.getArgs(), builder, this, tuple); return; } } builder.addValue(name, internalEvaluate((Expression)value, tuple)); } catch (BlockedException e) { throw e; } }
private void addValue(List<?> tuple, JSONBuilder builder, String name, Object value) throws TeiidProcessingException, ExpressionEvaluationException, BlockedException, TeiidComponentException, FunctionExecutionException { try { if (value instanceof JSONObject) { builder.startValue(name); evaluateJSONObject(tuple, (JSONObject)value, builder); return; } if (value instanceof Function) { Function f = (Function)value; if (f.getName().equalsIgnoreCase(FunctionLibrary.JSONARRAY)) { builder.startValue(name); jsonArray(context, f, f.getArgs(), builder, this, tuple); return; } } builder.addValue(name, internalEvaluate((Expression)value, tuple)); } catch (BlockedException e) { throw e; } }
private void addValue(List<?> tuple, JSONBuilder builder, String name, Object value) throws TeiidProcessingException, ExpressionEvaluationException, BlockedException, TeiidComponentException, FunctionExecutionException { try { if (value instanceof JSONObject) { builder.startValue(name); evaluateJSONObject(tuple, (JSONObject)value, builder); return; } if (value instanceof Function) { Function f = (Function)value; if (f.getName().equalsIgnoreCase(FunctionLibrary.JSONARRAY)) { builder.startValue(name); jsonArray(context, f, f.getArgs(), builder, this, tuple); return; } } builder.addValue(name, internalEvaluate((Expression)value, tuple)); } catch (BlockedException e) { throw e; } }