apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PramodSSImmaneni <...@git.apache.org>
Subject [GitHub] incubator-apex-malhar pull request: APEXMALHAR-2025 Move FileLineI...
Date Fri, 25 Mar 2016 13:54:49 GMT
Github user PramodSSImmaneni commented on a diff in the pull request:

    --- 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.&nbsp;
    + * 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

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message