cascading.scheme.hadoop.TextLine Java Examples
The following examples show how to use
cascading.scheme.hadoop.TextLine.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FlinkTestPlatform.java From cascading-flink with Apache License 2.0 | 5 votes |
@Override public Tap getTextFile(Fields sourceFields, Fields sinkFields, String filename, SinkMode mode) { if( sourceFields == null ) { return new Hfs(new TextLine(), filename, mode); } return new Hfs( new TextLine( sourceFields, sinkFields ), filename, mode ); }