apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-2025) Move FileLineInputOperator out of AbstractFileInputOperator
Date Fri, 25 Mar 2016 13:55:25 GMT

    [ https://issues.apache.org/jira/browse/APEXMALHAR-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211820#comment-15211820
] 

ASF GitHub Bot commented on APEXMALHAR-2025:
--------------------------------------------

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.&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
weird.


> Move FileLineInputOperator out of AbstractFileInputOperator
> -----------------------------------------------------------
>
>                 Key: APEXMALHAR-2025
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2025
>             Project: Apache Apex Malhar
>          Issue Type: Improvement
>            Reporter: Chandni Singh
>            Assignee: Pramod Immaneni
>
> It is hard to find this operator and is used widely.
> Please put it in a file of its own.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message