Difference between revisions of "Retriever Config"

From GreenVulcano Wiki
Jump to: navigation, search
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
==Description==
 +
 
The RetrieverConfig element allows you to define helper for use in DataHandler data transformations.  
 
The RetrieverConfig element allows you to define helper for use in DataHandler data transformations.  
  
 +
=={{GVESB}} Configuration==
  
 
This element does not have attributes but accepts the following children:
 
This element does not have attributes but accepts the following children:
 
+
* [[Description]]
* '''Description'''
+
* [[GenericRetriever]]
 
+
* [[TableRetriever]]
* '''GenericRetriever''':
+
* [[JavaScriptRetriever]]
: Allows you to define helper running SQL select and return the first field of the first selected record as string.
 
: It has two parameters:
 
:* ''type'': retriever (unmodifiable)
 
:* ''class'': it.greenvulcano.gvesb.datahandling.utils.GenericRetriever
 
: and two subelements:
 
:* Description
 
:* [[DataRetriever]]  
 
 
 
 
 
* '''TableRetriever''':
 
: Allows you to define helper running SQL select and return the result as an XML string in following form:
 
<syntaxhighlight lang="XML"><?xml version="1.0" encoding="UTF-8"?>
 
<RowSet>
 
  <data>
 
    <row>
 
        <col>value1</col>
 
        <col>value2</col>
 
        <col>value3</col>
 
    </row>
 
    <row>
 
        <col>value4</col>
 
        <col>value5</col>
 
        <col>value6</col>
 
    </row>
 
        ..
 
    <row>
 
        <col>valuex</col>
 
        <col>valuey</col>
 
        <col>valuez</col>
 
    </row>
 
  </data>
 
</RowSet>
 
</syntaxhighlight>
 
: It has two parameters:
 
:* ''type'': retriever (unmodifiable)
 
:* ''class'': it.greenvulcano.gvesb.datahandling.utils.TableRetriever
 
: and two subelements:
 
:* Description
 
:* [[DataRetriever]]  
 
 
 
 
 
* '''JavaScriptRetriever''':
 
: Allows you to define helper running JavaScript code and return a string.
 
: It has two parameters:
 
:* ''type'': retriever (unmodifiable)
 
:* ''class'': it.greenvulcano.gvesb.datahandling.utils.JavaScriptRetriever
 
: and two subelements:
 
:* Description
 
:* [[DataRetriever]]
 

Latest revision as of 14:26, 22 May 2012

Description

The RetrieverConfig element allows you to define helper for use in DataHandler data transformations.

GreenVulcano® ESB Configuration

This element does not have attributes but accepts the following children: