Customer Portal

Extracting gz files

Comments 5

  • Avatar
    slechtaj
    0
    Comment actions Permalink
    Hi Sreehareesh,

    there are basically two options.

    • Write your custom Java code that will extract gzip. It can be run using Reformat component.

    • Call some third party tool from SystemExecute component.


    Hope this helps.
  • Avatar
    kmsrihari
    0
    Comment actions Permalink
    Hello Jan,

    Thanks a lot for the prompt response. I'll try the solutions, even though I'm a bit unclear about the 1st option (Reformat customization)

    Thanks,
    Sreehareesh
  • Avatar
    kmsrihari
    0
    Comment actions Permalink
    Hi All,

    One additional question here.

    How can I create and build a java class in Clover ETL?

    Thanks,
    Sreehareesh
  • Avatar
    slechtaj
    0
    Comment actions Permalink
    Hi,

    You can simply write the transformation in the Transform dialog of reformat component, where you can convert the CTL transformation to Java using button “Convert To Java”. In the newly opened Transform editor, you can modify the Java code as needed.
    ConverToJavaButton.png
    If you want to use the same transformation in multiple graphs, you can create your own class and put it into trans folder. Such a file can be used in another reformat components using Transform URL, or Transform class attributes.

    Other information can be found in our documentation:


    In order to compile your java class you need to work with JDK.

    Hope this helps.
  • Avatar
    kmsrihari
    0
    Comment actions Permalink
    Hi Jan,

    Thanks for the quick reply. It seems to be helpful, we will try this out.

    Cheers,
    Sreehareesh

Please sign in to leave a comment.