Jump to content

Compute

SnapStore : Web

  • Compute

    Compute

    Delivered as part of SnapLogic Server

    The Compute snap provides the ability to quickly add source code for specific per-record computation tasks to a pipeline, without having to write, document and install a complete new component.

    Support: Send email to Snap Support for SnapLogic Snaps support questions.

    The Compute snap provides the ability to quickly add source code for specific per-record computation tasks to a pipeline, without having to write, document and install a complete new component. The actual computation is provided as a Python function, which is then executed for each record by the Compute component.

    • Compute allows you to output one and only one record for each input record received
    • The python function you write is passed three arguments:
      • compute_component: a handle to the Compute Component object which gives you access to the Component API class methods
      • inrec: A dictionary of input field names and value tuples
      • outrec: A dictionary of output field names and value tuples
    • The output record passed to your function is initialized so that all output fields are initially NULL
    • The Python datatypes of each output record field must be one of unicode, Decimal, or datetime
    • The Compute component supports an additional configuration parameter which can be used to specify the default root location for files. This entry can be added to the Compute component configuration file

    SnapLogic Version 3.1
    Version 1.0 Initial Release

    Company: SnapLogic Inc.

    Background Information: SnapLogic is a visionary Cloud integration company that is transforming the integration market with its innovative, open, and extensible DataFlow architecture and straightforward subscription model.

    SnapLogic Inc. Logo

    Website: http://www.snaplogic.com
    Support: Send email to Snap Support for SnapLogic Snaps support questions.
    Product Sales: 650-525-3551 Fax: 650-525-3555
    Copyright © 2011, SnapLogic Inc.


    Category: SaaS, Enterprise