Github user PramodSSImmaneni commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/220#discussion_r57445390
--- Diff:
library/src/main/java/com/datatorrent/lib/io/fs/LineByLineFileInputOperator.java
---
@@ -0,0 +1,55 @@
+package com.datatorrent.lib.io.fs;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+
+import org.apache.hadoop.fs.Path;
+
+import com.datatorrent.api.DefaultOutputPort;
+
+/**
+ * This is an extension of the {@link AbstractFileInputOperator} that
outputs the contents of a file line by line.
+ * Each line is emitted as a separate tuple in string format.
+ * <p>
+ * The directory path where to scan and read files from should be
specified using the {@link #directory} property.
+ * </p>
+ * @displayName File Line Input
+ * @category Input
+ * @tags fs, file, line, lines, input operator
+ */
+public class LineByLineFileInputOperator extends
AbstractFileInputOperator<String>
--- End diff --
Thought this might be more clearer.. FileLine words next to each other
always felt a little weird.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---