carbondata-issues 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] (CARBONDATA-298) 3. Add InputProcessorStep which should iterate recordreader and parse the data as per the data type.
Date Fri, 21 Oct 2016 13:48:59 GMT

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

ASF GitHub Bot commented on CARBONDATA-298:
-------------------------------------------

Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/240#discussion_r84475566
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/newflow/parser/GenericParser.java
---
    @@ -0,0 +1,22 @@
    +package org.apache.carbondata.processing.newflow.parser;
    +
    +/**
    + * Parse the data according to implementation, The implementation classes can be struct,
array or
    + * map datatypes.
    + */
    +public interface GenericParser<E> {
    +
    +  /**
    +   * Parse the data as per the delimiter
    +   * @param data
    +   * @return
    +   */
    +  E parse(String data);
    +
    +  /**
    +   * Children of the parser.
    +   * @param parser
    +   */
    +  void addChildren(GenericParser parser);
    --- End diff --
    
    Yes, added new interface ComplexParser that extends GenericParser.


> 3. Add InputProcessorStep which should iterate recordreader and parse the data as per
the data type.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-298
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-298
>             Project: CarbonData
>          Issue Type: Sub-task
>            Reporter: Ravindra Pesala
>            Assignee: Ravindra Pesala
>             Fix For: 0.2.0-incubating
>
>
> Add InputProcessorStep which should iterate recordreader/RecordBufferedWriter and parse
the data as per the data types.



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

Mime
View raw message