APISonar


com.ibm.bi.dml.hops.Hop.FileFormatTypes.CSV

> com > ibm > bi > dml > hops > Hop > FileFormatTypes > CSV
com APIs ibm APIs bi APIs dml APIs hops APIs Hop APIs FileFormatTypes APIs CSV APIs

Example 1
public void setFileFormatType(FileFormatTypes type) throws LopsException 
	{
		this.formatType = type ;
		if(type == FileFormatTypes.BINARY)
			this.outParams.setFormat(Format.BINARY) ;
		else if(type == FileFormatTypes.TEXT)
			this.outParams.setFormat(Format.TEXT) ;
		else if (type == FileFormatTypes.MM)
			this.outParams.setFormat(Format.MM);
		else if (type == FileFormatTypes.CSV )
			this.outParams.setFormat(Format.CSV);
		else 
			throw new LopsException("Unexpected format: " + type);
	}