@Override
	public ReadableTable getObject() throws Exception {
		ReadableTable w = new ReadableTable();
		w.setLocations(locations);
		w.setColumns(columns);
		w.setLike(like);
		w.setLogErrorsInto(logErrorsInto);
		w.setSegmentRejectLimit(segmentRejectLimit);
		w.setSegmentRejectType(segmentRejectType);

		if (format == Format.TEXT) {
			Character delim = delimiter != null ? delimiter : Character.valueOf('\t');
			w.setTextFormat(delim, nullString, escape);
		}
		else if (format == Format.CSV) {
			Character delim = delimiter != null ? delimiter : Character.valueOf(',');
			w.setCsvFormat(quote, delim, nullString, forceQuote, escape);
		}

		return w;
	}
@since 1.2
@author Janne Valkealahti
@author Gary Russell
extensions/spring-xd-extension-gpfdist/src/main/java/org/springframework/xd/greenplum/support/ReadableTableFactoryBean.java