<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gvwiki.greenvulcano.com/gvwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=M.deluca</id>
	<title>GreenVulcano Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://gvwiki.greenvulcano.com/gvwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=M.deluca"/>
	<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Special:Contributions/M.deluca"/>
	<updated>2026-04-13T08:37:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOInsert&amp;diff=4493</id>
		<title>DBOInsert</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOInsert&amp;diff=4493"/>
		<updated>2016-01-26T17:23:04Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* {{GVESB}} configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
The DBOInsert element represents the DBO optimized for insert operations.&lt;br /&gt;
&lt;br /&gt;
=={{GVESB}} configuration==&lt;br /&gt;
[[File:DBOInsert.jpg|thumb|DBOInsert with VulCon]]&lt;br /&gt;
DBOInsert allows you to make insert data into the database.&lt;br /&gt;
&lt;br /&gt;
Each statement is identified by the id.&lt;br /&gt;
&lt;br /&gt;
Actions can be defined in two ways:&lt;br /&gt;
* Single execution of a statement&lt;br /&gt;
* Complex execution guided by XML&lt;br /&gt;
&lt;br /&gt;
In the first modality any input is ignored and the code executes the first statement configured.&lt;br /&gt;
&lt;br /&gt;
In the second mode, the input XML (or its transformation) must contain the command (row) valid with all parameters (COL) required by the statement.&lt;br /&gt;
&lt;br /&gt;
It is used by [[DBOBuilder]]. &lt;br /&gt;
&lt;br /&gt;
The following table shows the DBOInsert attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''dbo'''&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.datahandling.dbo.DBOInsert'''&lt;br /&gt;
|-&lt;br /&gt;
| name || required || DBOInsert name&lt;br /&gt;
|-&lt;br /&gt;
| transformation || optional || Transformation to be applied on the input data to obtain the internal XML commands.&lt;br /&gt;
|-&lt;br /&gt;
| force-mode || optional || (caller or xml2db): Force mode of the DBO, can be used in [[DBOBuilder]] whit more heterogeneous DBO. &amp;lt;br/&amp;gt; Mode:&amp;lt;br/&amp;gt; caller - inherit the mode of the caller&amp;lt;br/&amp;gt; xml2db - data entry mode&lt;br /&gt;
|-&lt;br /&gt;
| jdbc-connection-name || optional || DataSource JNDI name. &amp;lt;br/&amp;gt;  Override connection defined in [[DBOBuilder]].&lt;br /&gt;
|-&lt;br /&gt;
| ignore-input || optional || (true or false):  Tells the engine do not use the input data.&lt;br /&gt;
|-&lt;br /&gt;
| input-data || optional || The default is the value of @name-Input.&amp;lt;br/&amp;gt;  Can be set as the @output-data of a preceding DBO to use its output as input.&lt;br /&gt;
|-&lt;br /&gt;
| output-data || optional || The default is the value of @name-Output.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.4.0.6&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| autogenerate-keys || optional || Tell the engine to handle auto generated keys at runtime (ex. autoincrement primary key fields). Default to false.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
It's possible to use positional parameters ''?'' notation or named parameters '':name'' notation into statement definition, but not mixed in the same statement.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, given the following table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;SQL&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE &amp;quot;TEST_GV&amp;quot;.&amp;quot;TEST_TABLE_A&amp;quot; (&lt;br /&gt;
  &amp;quot;C1&amp;quot; VARCHAR2(50 CHAR),&lt;br /&gt;
  &amp;quot;C2&amp;quot; VARCHAR2(20 CHAR),&lt;br /&gt;
  &amp;quot;C3&amp;quot; NUMBER,&lt;br /&gt;
  &amp;quot;C4&amp;quot; NUMBER(10,3),&lt;br /&gt;
  &amp;quot;C5&amp;quot; NUMBER(5,4),&lt;br /&gt;
  &amp;quot;C6&amp;quot; DATE,&lt;br /&gt;
  &amp;quot;C7&amp;quot; TIMESTAMP (6)&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
using the following input XML:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ser:load xmlns:ser=&amp;quot;http://www.gvtest.com/services&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;ser:c1&amp;gt;text field&amp;lt;/ser:c1&amp;gt;&lt;br /&gt;
    &amp;lt;ser:c2&amp;gt;another text field&amp;lt;/ser:c2&amp;gt;&lt;br /&gt;
    &amp;lt;ser:c3&amp;gt;123456&amp;lt;/ser:c3&amp;gt;&lt;br /&gt;
    &amp;lt;ser:c4&amp;gt;123456.789&amp;lt;/ser:c4&amp;gt;&lt;br /&gt;
    &amp;lt;ser:c5&amp;gt;1.2345&amp;lt;/ser:c5&amp;gt;&lt;br /&gt;
    &amp;lt;ser:c6&amp;gt;2014-10-17T10:12:23&amp;lt;/ser:c6&amp;gt;&lt;br /&gt;
    &amp;lt;ser:c7&amp;gt;2014-10-17T10:13:00.123&amp;lt;/ser:c7&amp;gt;&lt;br /&gt;
&amp;lt;/ser:load&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
the following DBOInsert can load records into the table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;ds.test&amp;quot; name=&amp;quot;Insert&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;DBOInsert class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOInsert&amp;quot;&lt;br /&gt;
               name=&amp;quot;Insert&amp;quot; transformation=&amp;quot;Insert&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;statement id=&amp;quot;0&amp;quot; type=&amp;quot;insert&amp;quot;&amp;gt;insert into TEST_TABLE_A (C1, C2, C3, C4, C5, C6, C7)&lt;br /&gt;
values (?, ?, ?, ?, ?, ?, ?)&amp;lt;/statement&amp;gt;&lt;br /&gt;
    &amp;lt;/DBOInsert&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
using the following XSL transformation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot; exclude-result-prefixes=&amp;quot;xsl fs java gvt&amp;quot; version=&amp;quot;2.0&amp;quot;&lt;br /&gt;
                xmlns:fs=&amp;quot;http://www.w3.org/2005/xpath-functions&amp;quot;&lt;br /&gt;
                xmlns:java=&amp;quot;http://xml.apache.org/xalan/java&amp;quot;&lt;br /&gt;
                xmlns:gvt=&amp;quot;http://www.gvtest.com/services&amp;quot;&lt;br /&gt;
                xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;xsl:output encoding=&amp;quot;utf-8&amp;quot; indent=&amp;quot;yes&amp;quot; method=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/gvt:load&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;RowSet&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:value-of select=&amp;quot;gvt:c1&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:value-of select=&amp;quot;gvt:c2&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;number&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:value-of select=&amp;quot;gvt:c3&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;decimal-separator&amp;quot;&amp;gt;.&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;grouping-separator&amp;quot;&amp;gt;,&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:value-of select=&amp;quot;gvt:c4&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;decimal-separator&amp;quot;&amp;gt;.&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;grouping-separator&amp;quot;&amp;gt;,&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:value-of select=&amp;quot;gvt:c5&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;timestamp&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;format&amp;quot;&amp;gt;yyyy-MM-dd'T'HH:mm:ss&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:value-of select=&amp;quot;gvt:c6&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;timestamp&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:attribute name=&amp;quot;format&amp;quot;&amp;gt;yyyy-MM-dd'T'HH:mm:ss.SSS&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                        &amp;lt;xsl:value-of select=&amp;quot;gvt:c7&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
DBOInsert can also be used to make insert on a local or remote neo4j graph database. &lt;br /&gt;
The statement must be written using the cypher (Cypher Query Language) language [http://neo4j.com/docs/stable/cypher-query-lang.html] as detailed in the following example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;openejb:Resource/testDHDataSourceN4J&amp;quot; &lt;br /&gt;
            name=&amp;quot;GVESB::TestInsertWithInputDataN4J&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;DBOInsert class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOInsert&amp;quot; &lt;br /&gt;
	        name=&amp;quot;TestInsertWithInputDataN4J-InputData&amp;quot; type=&amp;quot;dbo&amp;quot;  &amp;gt;&lt;br /&gt;
            &amp;lt;statement id=&amp;quot;0&amp;quot; type=&amp;quot;insert&amp;quot;&amp;gt;CREATE (Movie: Movie { title: {1}, released: {2}, tagline: {3} } )&amp;lt;/statement&amp;gt;&lt;br /&gt;
     &amp;lt;/DBOInsert&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
As you can see in the above section you can make any queries insert achievable with cypher language using the parameters in input. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Might contain the following sub-elements:&lt;br /&gt;
* [[Description]]&lt;br /&gt;
* [[DHVariables]]&lt;br /&gt;
* [[statement]]&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOUpdate&amp;diff=4492</id>
		<title>DBOUpdate</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOUpdate&amp;diff=4492"/>
		<updated>2016-01-26T16:57:54Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* {{GVESB}} configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
The DBOUpdate element represents the DBO optimized for update operations.&lt;br /&gt;
&lt;br /&gt;
=={{GVESB}} configuration==&lt;br /&gt;
[[File:DBOUpdate.jpg|thumb|DBOUpdate with VulCon]]&lt;br /&gt;
DBOUpdate allows you to update data into the database.&lt;br /&gt;
&lt;br /&gt;
Each statement is identified by the id.&lt;br /&gt;
&lt;br /&gt;
Actions can be defined in two ways:&lt;br /&gt;
* Single execution of a statement&lt;br /&gt;
* Complex execution guided by XML&lt;br /&gt;
&lt;br /&gt;
In the first modality any input is ignored and the code executes the first statement configured.&lt;br /&gt;
&lt;br /&gt;
In the second mode, the input XML (or its transformation) must contain the command (row) valid with all parameters (COL) required by the statement.&lt;br /&gt;
&lt;br /&gt;
It is used by [[DBOBuilder]]. &lt;br /&gt;
&lt;br /&gt;
The following table shows the DBOUpdate attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''dbo'''&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate'''&lt;br /&gt;
|-&lt;br /&gt;
| name || required || DBOUpdate name&lt;br /&gt;
|-&lt;br /&gt;
| transformation || required || Transformation to be applied on the input data to obtain the internal XML commands.&lt;br /&gt;
|-&lt;br /&gt;
| force-mode || optional || (caller or xml2db) Force mode of the [[DBOBuilder#DBOs|DBO]], can be used in [[DBOBuilder]] whit more heterogeneous [[DBOBuilder#DBOs|DBOs]]. &amp;lt;br/&amp;gt; Mode:&amp;lt;br/&amp;gt; caller - inherit the mode of the caller&amp;lt;br/&amp;gt; xml2db - data entry mode&lt;br /&gt;
|-&lt;br /&gt;
| jdbc-connection-name || optional || DataSource JNDI name. &amp;lt;br/&amp;gt;  Override connection defined in [[DBOBuilder]].&lt;br /&gt;
|-&lt;br /&gt;
| ignore-input || optional || (true or false)  Tells the engine do not use the input data.&lt;br /&gt;
|-&lt;br /&gt;
| input-data || optional || The default is the value of @name-Input.&amp;lt;br/&amp;gt;  Can be set as the @output-data of a preceding [[DBOBuilder#DBOs|DBO]] to use its output as input.&lt;br /&gt;
|-&lt;br /&gt;
| output-data || optional || The default is the value of @name-Output.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.4.0.6&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| autogenerate-keys || optional || Tell the engine to handle auto generated keys at runtime (ex. autoincrement primary key fields). Default to false.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
It's possible to use positional parameters ''?'' notation or named parameters '':name'' notation into statement definition, but not mixed in the same statement.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, given the following table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;SQL&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE &amp;quot;TEST_GV&amp;quot;.&amp;quot;CREDIT_CARD&amp;quot; (&lt;br /&gt;
  &amp;quot;ID&amp;quot;       NUMBER NOT NULL,&lt;br /&gt;
  &amp;quot;ID_OWNER&amp;quot; NUMBER NOT NULL,&lt;br /&gt;
  &amp;quot;CNUMBER&amp;quot;  VARCHAR2(20 CHAR) NOT NULL,&lt;br /&gt;
  &amp;quot;CREDIT&amp;quot;   NUMBER(15,5) NOT NULL,&lt;br /&gt;
  &amp;quot;ENABLED&amp;quot;  VARCHAR2(1 CHAR) NOT NULL,&lt;br /&gt;
  CONSTRAINT &amp;quot;CCRED_PK&amp;quot; PRIMARY KEY (&amp;quot;ID&amp;quot;)&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
the following input XML:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ser:Pay xmlns:ser=&amp;quot;http://www.credit.com/services&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;ser:cnumber&amp;gt;1111222233334444&amp;lt;/ser:cnumber&amp;gt;&lt;br /&gt;
    &amp;lt;ser:amount&amp;gt;10&amp;lt;/ser:amount&amp;gt;&lt;br /&gt;
&amp;lt;/ser:Pay&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
the following DBOUpdate can update the table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;gv_test&amp;quot; name=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;DHVariables&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;decimal-separator&amp;quot; value=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;grouping-separator&amp;quot; value=&amp;quot;,&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;format&amp;quot; value=&amp;quot;#0.00&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/DHVariables&amp;gt;&lt;br /&gt;
    &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot;&lt;br /&gt;
                name=&amp;quot;CCardPay&amp;quot; transformation=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;statement id=&amp;quot;1&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;&amp;lt;![CDATA[update CREDIT_CARD  set CREDIT= CREDIT - ?&lt;br /&gt;
where CNUMBER=?&lt;br /&gt;
and ENABLED='Y'&lt;br /&gt;
and CREDIT &amp;gt;= ?]]&amp;gt;&amp;lt;/statement&amp;gt;&lt;br /&gt;
    &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
through the following XSL transformation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot; exclude-result-prefixes=&amp;quot;xsl int fs&amp;quot; version=&amp;quot;2.0&amp;quot;&lt;br /&gt;
                xmlns:fs=&amp;quot;http://www.w3.org/2005/xpath-functions&amp;quot;&lt;br /&gt;
                xmlns:int=&amp;quot;http://www.credit.com/services&amp;quot;&lt;br /&gt;
                xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:output encoding=&amp;quot;utf-8&amp;quot; indent=&amp;quot;yes&amp;quot; method=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;RowSet&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:apply-templates select=&amp;quot;/int:Pay&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/int:Pay&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;id&amp;quot;&amp;gt;1&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:cnumber&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
Using named parameters, the following DBOUpdate can update the table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;gv_test&amp;quot; name=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;DHVariables&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;decimal-separator&amp;quot; value=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;grouping-separator&amp;quot; value=&amp;quot;,&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;format&amp;quot; value=&amp;quot;#0.00&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/DHVariables&amp;gt;&lt;br /&gt;
    &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot;&lt;br /&gt;
                name=&amp;quot;CCardPay&amp;quot; transformation=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;statement id=&amp;quot;1&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;&amp;lt;![CDATA[update CREDIT_CARD  set CREDIT= CREDIT - :amount&lt;br /&gt;
where CNUMBER=:cnumber&lt;br /&gt;
and ENABLED='Y'&lt;br /&gt;
and CREDIT &amp;gt;= :amount]]&amp;gt;&amp;lt;/statement&amp;gt;&lt;br /&gt;
    &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
through the following XSL transformation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot; exclude-result-prefixes=&amp;quot;xsl fs&amp;quot; version=&amp;quot;2.0&amp;quot;&lt;br /&gt;
                xmlns:fs=&amp;quot;http://www.w3.org/2005/xpath-functions&amp;quot;&lt;br /&gt;
                xmlns:int=&amp;quot;http://www.credit.com/services&amp;quot;&lt;br /&gt;
                xmlns:ns0=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&lt;br /&gt;
                xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&lt;br /&gt;
                xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:output encoding=&amp;quot;utf-8&amp;quot; indent=&amp;quot;yes&amp;quot; method=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;RowSet&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;data&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:apply-templates select=&amp;quot;/int:Pay&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/int:Pay&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;row&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:attribute name=&amp;quot;id&amp;quot;&amp;gt;1&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;cnumber&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;int:cnumber&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;amount&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
DBOUpdate can be used to make update on a local or remote neo4j graph database. &lt;br /&gt;
The statement must be write using the cypher (Cypher Query Language) language [http://neo4j.com/docs/stable/cypher-query-lang.html] as detailed in the following example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot; &lt;br /&gt;
            jdbc-connection-name=&amp;quot;openejb:Resource/testDHDataSourceN4J&amp;quot; &lt;br /&gt;
	    name=&amp;quot;GVESB::TestUpdateWithInputDataN4J&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot; &lt;br /&gt;
	         name=&amp;quot;TestUpdateWithInputDataN4J-InputData&amp;quot;&lt;br /&gt;
	         type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;statement id=&amp;quot;0&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;MATCH (n { title: {1} }) SET n.tagline = {2}&amp;lt;/statement&amp;gt;&lt;br /&gt;
      &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
As you can see in the above section you can make any queries update achievable with cypher language using the parameters in input. &lt;br /&gt;
&lt;br /&gt;
This DBO can be used also to delete elements present in the neo4j graph database usign the keyword and the related cypher language syntax.&lt;br /&gt;
In the following example is shown a cypher query used to delete all nodes and the related relationships that meet the MATCH condition:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;openejb:Resource/testDHDataSourceN4J&amp;quot; &lt;br /&gt;
            name=&amp;quot;GVESB::TestDeleteWithPropsN4J&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot; &lt;br /&gt;
	         name=&amp;quot;TestDeleteWithPropsN4J-Props&amp;quot; type=&amp;quot;dbo&amp;quot;  &amp;gt;&lt;br /&gt;
            &amp;lt;statement id=&amp;quot;0&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;MATCH (n { title: '@{{TITLE_INPUT}}' }) OPTIONAL MATCH (n)-[r]-() DELETE n&amp;lt;/statement&amp;gt;&lt;br /&gt;
      &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DBOUpdate might contain the following sub-elements:&lt;br /&gt;
* [[Description]]&lt;br /&gt;
* [[DHVariables]]&lt;br /&gt;
* [[statement]]&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOUpdate&amp;diff=4491</id>
		<title>DBOUpdate</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOUpdate&amp;diff=4491"/>
		<updated>2016-01-25T22:53:55Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* {{GVESB}} configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
The DBOUpdate element represents the DBO optimized for update operations.&lt;br /&gt;
&lt;br /&gt;
=={{GVESB}} configuration==&lt;br /&gt;
[[File:DBOUpdate.jpg|thumb|DBOUpdate with VulCon]]&lt;br /&gt;
DBOUpdate allows you to update data into the database.&lt;br /&gt;
&lt;br /&gt;
Each statement is identified by the id.&lt;br /&gt;
&lt;br /&gt;
Actions can be defined in two ways:&lt;br /&gt;
* Single execution of a statement&lt;br /&gt;
* Complex execution guided by XML&lt;br /&gt;
&lt;br /&gt;
In the first modality any input is ignored and the code executes the first statement configured.&lt;br /&gt;
&lt;br /&gt;
In the second mode, the input XML (or its transformation) must contain the command (row) valid with all parameters (COL) required by the statement.&lt;br /&gt;
&lt;br /&gt;
It is used by [[DBOBuilder]]. &lt;br /&gt;
&lt;br /&gt;
The following table shows the DBOUpdate attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''dbo'''&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate'''&lt;br /&gt;
|-&lt;br /&gt;
| name || required || DBOUpdate name&lt;br /&gt;
|-&lt;br /&gt;
| transformation || required || Transformation to be applied on the input data to obtain the internal XML commands.&lt;br /&gt;
|-&lt;br /&gt;
| force-mode || optional || (caller or xml2db) Force mode of the [[DBOBuilder#DBOs|DBO]], can be used in [[DBOBuilder]] whit more heterogeneous [[DBOBuilder#DBOs|DBOs]]. &amp;lt;br/&amp;gt; Mode:&amp;lt;br/&amp;gt; caller - inherit the mode of the caller&amp;lt;br/&amp;gt; xml2db - data entry mode&lt;br /&gt;
|-&lt;br /&gt;
| jdbc-connection-name || optional || DataSource JNDI name. &amp;lt;br/&amp;gt;  Override connection defined in [[DBOBuilder]].&lt;br /&gt;
|-&lt;br /&gt;
| ignore-input || optional || (true or false)  Tells the engine do not use the input data.&lt;br /&gt;
|-&lt;br /&gt;
| input-data || optional || The default is the value of @name-Input.&amp;lt;br/&amp;gt;  Can be set as the @output-data of a preceding [[DBOBuilder#DBOs|DBO]] to use its output as input.&lt;br /&gt;
|-&lt;br /&gt;
| output-data || optional || The default is the value of @name-Output.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.4.0.6&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| autogenerate-keys || optional || Tell the engine to handle auto generated keys at runtime (ex. autoincrement primary key fields). Default to false.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
It's possible to use positional parameters ''?'' notation or named parameters '':name'' notation into statement definition, but not mixed in the same statement.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, given the following table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;SQL&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE &amp;quot;TEST_GV&amp;quot;.&amp;quot;CREDIT_CARD&amp;quot; (&lt;br /&gt;
  &amp;quot;ID&amp;quot;       NUMBER NOT NULL,&lt;br /&gt;
  &amp;quot;ID_OWNER&amp;quot; NUMBER NOT NULL,&lt;br /&gt;
  &amp;quot;CNUMBER&amp;quot;  VARCHAR2(20 CHAR) NOT NULL,&lt;br /&gt;
  &amp;quot;CREDIT&amp;quot;   NUMBER(15,5) NOT NULL,&lt;br /&gt;
  &amp;quot;ENABLED&amp;quot;  VARCHAR2(1 CHAR) NOT NULL,&lt;br /&gt;
  CONSTRAINT &amp;quot;CCRED_PK&amp;quot; PRIMARY KEY (&amp;quot;ID&amp;quot;)&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
the following input XML:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ser:Pay xmlns:ser=&amp;quot;http://www.credit.com/services&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;ser:cnumber&amp;gt;1111222233334444&amp;lt;/ser:cnumber&amp;gt;&lt;br /&gt;
    &amp;lt;ser:amount&amp;gt;10&amp;lt;/ser:amount&amp;gt;&lt;br /&gt;
&amp;lt;/ser:Pay&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
the following DBOUpdate can update the table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;gv_test&amp;quot; name=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;DHVariables&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;decimal-separator&amp;quot; value=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;grouping-separator&amp;quot; value=&amp;quot;,&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;format&amp;quot; value=&amp;quot;#0.00&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/DHVariables&amp;gt;&lt;br /&gt;
    &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot;&lt;br /&gt;
                name=&amp;quot;CCardPay&amp;quot; transformation=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;statement id=&amp;quot;1&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;&amp;lt;![CDATA[update CREDIT_CARD  set CREDIT= CREDIT - ?&lt;br /&gt;
where CNUMBER=?&lt;br /&gt;
and ENABLED='Y'&lt;br /&gt;
and CREDIT &amp;gt;= ?]]&amp;gt;&amp;lt;/statement&amp;gt;&lt;br /&gt;
    &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
through the following XSL transformation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot; exclude-result-prefixes=&amp;quot;xsl int fs&amp;quot; version=&amp;quot;2.0&amp;quot;&lt;br /&gt;
                xmlns:fs=&amp;quot;http://www.w3.org/2005/xpath-functions&amp;quot;&lt;br /&gt;
                xmlns:int=&amp;quot;http://www.credit.com/services&amp;quot;&lt;br /&gt;
                xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:output encoding=&amp;quot;utf-8&amp;quot; indent=&amp;quot;yes&amp;quot; method=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;RowSet&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:apply-templates select=&amp;quot;/int:Pay&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/int:Pay&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;id&amp;quot;&amp;gt;1&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:cnumber&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
Using named parameters, the following DBOUpdate can update the table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;gv_test&amp;quot; name=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;DHVariables&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;decimal-separator&amp;quot; value=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;grouping-separator&amp;quot; value=&amp;quot;,&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;format&amp;quot; value=&amp;quot;#0.00&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/DHVariables&amp;gt;&lt;br /&gt;
    &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot;&lt;br /&gt;
                name=&amp;quot;CCardPay&amp;quot; transformation=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;statement id=&amp;quot;1&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;&amp;lt;![CDATA[update CREDIT_CARD  set CREDIT= CREDIT - :amount&lt;br /&gt;
where CNUMBER=:cnumber&lt;br /&gt;
and ENABLED='Y'&lt;br /&gt;
and CREDIT &amp;gt;= :amount]]&amp;gt;&amp;lt;/statement&amp;gt;&lt;br /&gt;
    &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
through the following XSL transformation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot; exclude-result-prefixes=&amp;quot;xsl fs&amp;quot; version=&amp;quot;2.0&amp;quot;&lt;br /&gt;
                xmlns:fs=&amp;quot;http://www.w3.org/2005/xpath-functions&amp;quot;&lt;br /&gt;
                xmlns:int=&amp;quot;http://www.credit.com/services&amp;quot;&lt;br /&gt;
                xmlns:ns0=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&lt;br /&gt;
                xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&lt;br /&gt;
                xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:output encoding=&amp;quot;utf-8&amp;quot; indent=&amp;quot;yes&amp;quot; method=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;RowSet&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;data&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:apply-templates select=&amp;quot;/int:Pay&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/int:Pay&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;row&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:attribute name=&amp;quot;id&amp;quot;&amp;gt;1&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;cnumber&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;int:cnumber&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;amount&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
DBOUpdate can be used to make update on a local or remote neo4j graph database. &lt;br /&gt;
The statement must be write using the cypher (Cypher Query Language) language [http://neo4j.com/docs/stable/cypher-query-lang.html] as detailed in the following example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot; &lt;br /&gt;
            jdbc-connection-name=&amp;quot;openejb:Resource/testDHDataSourceN4J&amp;quot; &lt;br /&gt;
	    name=&amp;quot;GVESB::TestUpdateWithInputDataN4J&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot; &lt;br /&gt;
	         name=&amp;quot;TestUpdateWithInputDataN4J-InputData&amp;quot;&lt;br /&gt;
	         type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;statement id=&amp;quot;0&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;MATCH (n { title: {1} }) SET n.tagline = {2}&amp;lt;/statement&amp;gt;&lt;br /&gt;
      &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
As you can see in the above section you can make any queries update achievable with cypher language using the parameters in input. &lt;br /&gt;
&lt;br /&gt;
This DBO can be used also to delete elements present in the neo4j graph database usign the keyword and the related syntax of the cypher language.&lt;br /&gt;
In the following example is shown a cypher query used to delete all nodes that meet the MATCH conditions and the related relationship:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;openejb:Resource/testDHDataSourceN4J&amp;quot; &lt;br /&gt;
            name=&amp;quot;GVESB::TestDeleteWithPropsN4J&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot; &lt;br /&gt;
	         name=&amp;quot;TestDeleteWithPropsN4J-Props&amp;quot; type=&amp;quot;dbo&amp;quot;  &amp;gt;&lt;br /&gt;
            &amp;lt;statement id=&amp;quot;0&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;MATCH (n { title: '@{{TITLE_INPUT}}' }) OPTIONAL MATCH (n)-[r]-() DELETE n&amp;lt;/statement&amp;gt;&lt;br /&gt;
      &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DBOUpdate might contain the following sub-elements:&lt;br /&gt;
* [[Description]]&lt;br /&gt;
* [[DHVariables]]&lt;br /&gt;
* [[statement]]&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOUpdate&amp;diff=4490</id>
		<title>DBOUpdate</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOUpdate&amp;diff=4490"/>
		<updated>2016-01-25T22:45:15Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* {{GVESB}} configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
The DBOUpdate element represents the DBO optimized for update operations.&lt;br /&gt;
&lt;br /&gt;
=={{GVESB}} configuration==&lt;br /&gt;
[[File:DBOUpdate.jpg|thumb|DBOUpdate with VulCon]]&lt;br /&gt;
DBOUpdate allows you to update data into the database.&lt;br /&gt;
&lt;br /&gt;
Each statement is identified by the id.&lt;br /&gt;
&lt;br /&gt;
Actions can be defined in two ways:&lt;br /&gt;
* Single execution of a statement&lt;br /&gt;
* Complex execution guided by XML&lt;br /&gt;
&lt;br /&gt;
In the first modality any input is ignored and the code executes the first statement configured.&lt;br /&gt;
&lt;br /&gt;
In the second mode, the input XML (or its transformation) must contain the command (row) valid with all parameters (COL) required by the statement.&lt;br /&gt;
&lt;br /&gt;
It is used by [[DBOBuilder]]. &lt;br /&gt;
&lt;br /&gt;
The following table shows the DBOUpdate attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''dbo'''&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate'''&lt;br /&gt;
|-&lt;br /&gt;
| name || required || DBOUpdate name&lt;br /&gt;
|-&lt;br /&gt;
| transformation || required || Transformation to be applied on the input data to obtain the internal XML commands.&lt;br /&gt;
|-&lt;br /&gt;
| force-mode || optional || (caller or xml2db) Force mode of the [[DBOBuilder#DBOs|DBO]], can be used in [[DBOBuilder]] whit more heterogeneous [[DBOBuilder#DBOs|DBOs]]. &amp;lt;br/&amp;gt; Mode:&amp;lt;br/&amp;gt; caller - inherit the mode of the caller&amp;lt;br/&amp;gt; xml2db - data entry mode&lt;br /&gt;
|-&lt;br /&gt;
| jdbc-connection-name || optional || DataSource JNDI name. &amp;lt;br/&amp;gt;  Override connection defined in [[DBOBuilder]].&lt;br /&gt;
|-&lt;br /&gt;
| ignore-input || optional || (true or false)  Tells the engine do not use the input data.&lt;br /&gt;
|-&lt;br /&gt;
| input-data || optional || The default is the value of @name-Input.&amp;lt;br/&amp;gt;  Can be set as the @output-data of a preceding [[DBOBuilder#DBOs|DBO]] to use its output as input.&lt;br /&gt;
|-&lt;br /&gt;
| output-data || optional || The default is the value of @name-Output.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.4.0.6&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| autogenerate-keys || optional || Tell the engine to handle auto generated keys at runtime (ex. autoincrement primary key fields). Default to false.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
It's possible to use positional parameters ''?'' notation or named parameters '':name'' notation into statement definition, but not mixed in the same statement.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, given the following table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;SQL&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE &amp;quot;TEST_GV&amp;quot;.&amp;quot;CREDIT_CARD&amp;quot; (&lt;br /&gt;
  &amp;quot;ID&amp;quot;       NUMBER NOT NULL,&lt;br /&gt;
  &amp;quot;ID_OWNER&amp;quot; NUMBER NOT NULL,&lt;br /&gt;
  &amp;quot;CNUMBER&amp;quot;  VARCHAR2(20 CHAR) NOT NULL,&lt;br /&gt;
  &amp;quot;CREDIT&amp;quot;   NUMBER(15,5) NOT NULL,&lt;br /&gt;
  &amp;quot;ENABLED&amp;quot;  VARCHAR2(1 CHAR) NOT NULL,&lt;br /&gt;
  CONSTRAINT &amp;quot;CCRED_PK&amp;quot; PRIMARY KEY (&amp;quot;ID&amp;quot;)&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
the following input XML:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ser:Pay xmlns:ser=&amp;quot;http://www.credit.com/services&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;ser:cnumber&amp;gt;1111222233334444&amp;lt;/ser:cnumber&amp;gt;&lt;br /&gt;
    &amp;lt;ser:amount&amp;gt;10&amp;lt;/ser:amount&amp;gt;&lt;br /&gt;
&amp;lt;/ser:Pay&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
the following DBOUpdate can update the table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;gv_test&amp;quot; name=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;DHVariables&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;decimal-separator&amp;quot; value=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;grouping-separator&amp;quot; value=&amp;quot;,&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;format&amp;quot; value=&amp;quot;#0.00&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/DHVariables&amp;gt;&lt;br /&gt;
    &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot;&lt;br /&gt;
                name=&amp;quot;CCardPay&amp;quot; transformation=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;statement id=&amp;quot;1&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;&amp;lt;![CDATA[update CREDIT_CARD  set CREDIT= CREDIT - ?&lt;br /&gt;
where CNUMBER=?&lt;br /&gt;
and ENABLED='Y'&lt;br /&gt;
and CREDIT &amp;gt;= ?]]&amp;gt;&amp;lt;/statement&amp;gt;&lt;br /&gt;
    &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
through the following XSL transformation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot; exclude-result-prefixes=&amp;quot;xsl int fs&amp;quot; version=&amp;quot;2.0&amp;quot;&lt;br /&gt;
                xmlns:fs=&amp;quot;http://www.w3.org/2005/xpath-functions&amp;quot;&lt;br /&gt;
                xmlns:int=&amp;quot;http://www.credit.com/services&amp;quot;&lt;br /&gt;
                xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:output encoding=&amp;quot;utf-8&amp;quot; indent=&amp;quot;yes&amp;quot; method=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;RowSet&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:apply-templates select=&amp;quot;/int:Pay&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/int:Pay&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;row&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;id&amp;quot;&amp;gt;1&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:cnumber&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:element name=&amp;quot;col&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
Using named parameters, the following DBOUpdate can update the table:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;&lt;br /&gt;
            jdbc-connection-name=&amp;quot;gv_test&amp;quot; name=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;DHVariables&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;decimal-separator&amp;quot; value=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;grouping-separator&amp;quot; value=&amp;quot;,&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;DHVariable name=&amp;quot;format&amp;quot; value=&amp;quot;#0.00&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/DHVariables&amp;gt;&lt;br /&gt;
    &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot;&lt;br /&gt;
                name=&amp;quot;CCardPay&amp;quot; transformation=&amp;quot;CCardPay&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;statement id=&amp;quot;1&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;&amp;lt;![CDATA[update CREDIT_CARD  set CREDIT= CREDIT - :amount&lt;br /&gt;
where CNUMBER=:cnumber&lt;br /&gt;
and ENABLED='Y'&lt;br /&gt;
and CREDIT &amp;gt;= :amount]]&amp;gt;&amp;lt;/statement&amp;gt;&lt;br /&gt;
    &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
through the following XSL transformation:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot; exclude-result-prefixes=&amp;quot;xsl fs&amp;quot; version=&amp;quot;2.0&amp;quot;&lt;br /&gt;
                xmlns:fs=&amp;quot;http://www.w3.org/2005/xpath-functions&amp;quot;&lt;br /&gt;
                xmlns:int=&amp;quot;http://www.credit.com/services&amp;quot;&lt;br /&gt;
                xmlns:ns0=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&lt;br /&gt;
                xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&lt;br /&gt;
                xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:output encoding=&amp;quot;utf-8&amp;quot; indent=&amp;quot;yes&amp;quot; method=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;RowSet&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;data&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:apply-templates select=&amp;quot;/int:Pay&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:template match=&amp;quot;/int:Pay&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:element name=&amp;quot;row&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:attribute name=&amp;quot;id&amp;quot;&amp;gt;1&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;cnumber&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;int:cnumber&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:element name=&amp;quot;amount&amp;quot; namespace=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:attribute name=&amp;quot;type&amp;quot;&amp;gt;float&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;int:amount&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:element&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
DBOUpdate can be used to make update on a local or remote neo4j graph database. &lt;br /&gt;
The statement must be write using the cypher (Cypher Query Language) language [http://neo4j.com/docs/stable/cypher-query-lang.html] as detailed in the following example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot; &lt;br /&gt;
            jdbc-connection-name=&amp;quot;openejb:Resource/testDHDataSourceN4J&amp;quot; &lt;br /&gt;
	    name=&amp;quot;GVESB::TestUpdateWithInputDataN4J&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;DBOUpdate class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOUpdate&amp;quot; &lt;br /&gt;
	         name=&amp;quot;TestUpdateWithInputDataN4J-InputData&amp;quot;&lt;br /&gt;
	         type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;statement id=&amp;quot;0&amp;quot; type=&amp;quot;update&amp;quot;&amp;gt;MATCH (n { title: {1} }) SET n.tagline = {2}&amp;lt;/statement&amp;gt;&lt;br /&gt;
      &amp;lt;/DBOUpdate&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
As you can see in the above section you can make any queries update achievable with cypher language using the parameters in input. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DBOUpdate might contain the following sub-elements:&lt;br /&gt;
* [[Description]]&lt;br /&gt;
* [[DHVariables]]&lt;br /&gt;
* [[statement]]&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOSelect&amp;diff=4489</id>
		<title>DBOSelect</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=DBOSelect&amp;diff=4489"/>
		<updated>2016-01-25T20:33:53Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* {{GVESB}} configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
The DBOSelect element represents the DBO optimized for select operations.&lt;br /&gt;
&lt;br /&gt;
=={{GVESB}} configuration==&lt;br /&gt;
[[File:DBOSelect.jpg|thumb|DBOSelect with VulCon]]&lt;br /&gt;
&lt;br /&gt;
DBOSelect allows you to perform a select on database.&lt;br /&gt;
&lt;br /&gt;
The result of the select(s) is an XML document in internal format that can then be transformed into a useful document for the client.&lt;br /&gt;
&lt;br /&gt;
Can be executed more select statements, each one associated to an id, with the possibility of aggregating, using keys, the extracted data.&lt;br /&gt;
&lt;br /&gt;
Can be defined, for every statement and field, the FieldFormatter that allows you to force the formatting of the values ​​extracted from the database.&lt;br /&gt;
&lt;br /&gt;
It is used by [[DBOBuilder]].&lt;br /&gt;
&lt;br /&gt;
The following table shows the DBOSelect attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''dbo'''&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.datahandling.dbo.DBOSelect'''&lt;br /&gt;
|-&lt;br /&gt;
| name || required || DOSelect name&lt;br /&gt;
|-&lt;br /&gt;
| transformation || optional || Transformation to be used for converting internal rowset representation in user desired XML document.&lt;br /&gt;
|-&lt;br /&gt;
| force-mode || required || (caller or db2xml): Force mode of the DBO, can be used in [[DBOBuilder]] whit more heterogeneous [[DBOBuilder#DBO|DBO]]. &amp;lt;br/&amp;gt; Mode:&amp;lt;br/&amp;gt; caller - inherit the mode of the caller&amp;lt;br/&amp;gt; db2xml - data extraction mode&lt;br /&gt;
|-&lt;br /&gt;
| jdbc-connection-name || required || DataSource JNDI name. &amp;lt;br/&amp;gt;  Override connection defined in [[DBOBuilder]].&lt;br /&gt;
|-&lt;br /&gt;
| ignore-input || optional || (true or false): Tells the engine do not use the input data.&lt;br /&gt;
|-&lt;br /&gt;
| output-data || optional || The default is the value of @name-Output.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.4&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowset-builder || optional || Defines how-to build the output RowSet XML document:&lt;br /&gt;
* standard (default)&lt;br /&gt;
* extended&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;   &lt;br /&gt;
            jdbc-connection-name=&amp;quot;ds.gv_test&amp;quot; &lt;br /&gt;
            name=&amp;quot;SearchPerson&amp;quot;   type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;DHVariables&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;decimal-separator&amp;quot; value=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;grouping-separator&amp;quot; value=&amp;quot;,&amp;quot;/&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;format&amp;quot; value=&amp;quot;#0.00&amp;quot;/&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;NAME&amp;quot; value=&amp;quot;NULL&amp;quot;/&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;CITY&amp;quot; value=&amp;quot;NULL&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/DHVariables&amp;gt;&lt;br /&gt;
      &amp;lt;DBOSelect class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOSelect&amp;quot;  &lt;br /&gt;
                 name=&amp;quot;SearchPerson&amp;quot; &lt;br /&gt;
                 transformation=&amp;quot;SearchPerson&amp;quot;   type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;statement id=&amp;quot;1&amp;quot; keys=&amp;quot;1,2,3&amp;quot; type=&amp;quot;select&amp;quot;&amp;gt;&lt;br /&gt;
                  select p.NAME, p.BIRTHDATE, c.NAME, cc.CNUMBER, cc.CREDIT, cc.ENABLED&lt;br /&gt;
                  from PERSON p, CITY c, CREDIT_CARD cc&lt;br /&gt;
                  where p.ID_CITY = c.ID&lt;br /&gt;
                  and p.ID = cc.ID_OWNER&lt;br /&gt;
                  decode{{@{{NAME}}::NULL::::and p.NAME like ‘%@{{NAME}}%’}}&lt;br /&gt;
                  decode{{@{{CITY}}::NULL::::and c.NAME like ‘%@{{CITY}}%’}}&lt;br /&gt;
                  order by c.NAME, p.NAME&lt;br /&gt;
             &amp;lt;/statement&amp;gt;&lt;br /&gt;
       &amp;lt;/DBOSelect&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to the data present into the DB we obtain as output the following XML (also known as 'standard' RowSet mode):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;RowSet&amp;gt;&lt;br /&gt;
    &amp;lt;data id=&amp;quot;1&amp;quot; key_1=&amp;quot;ANTONIO ROSSI&amp;quot; key_2=&amp;quot;19800205 00:00:00&amp;quot; key_3=&amp;quot;MILANO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;row id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;1111222233338888&amp;lt;/col&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;48.32000&amp;lt;/col&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;Y&amp;lt;/col&amp;gt;&lt;br /&gt;
        &amp;lt;/row&amp;gt;&lt;br /&gt;
        &amp;lt;row id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;1234123414444789&amp;lt;/col&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;600.00000&amp;lt;/col&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;Y&amp;lt;/col&amp;gt;&lt;br /&gt;
        &amp;lt;/row&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;data id=&amp;quot;1&amp;quot; key_1=&amp;quot;MARIO BIANCHI&amp;quot; key_2=&amp;quot;19700815 00:00:00&amp;quot; key_3=&amp;quot;MILANO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;row id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;1234123412341234&amp;lt;/col&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;100.00000&amp;lt;/col&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;Y&amp;lt;/col&amp;gt;&lt;br /&gt;
        &amp;lt;/row&amp;gt;&lt;br /&gt;
        &amp;lt;row id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;1234123415555666&amp;lt;/col&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;300.00000&amp;lt;/col&amp;gt;&lt;br /&gt;
            &amp;lt;col type=&amp;quot;string&amp;quot;&amp;gt;Y&amp;lt;/col&amp;gt;&lt;br /&gt;
        &amp;lt;/row&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/RowSet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.4&amp;quot;&amp;gt;&lt;br /&gt;
To enable 'extended' RowSet mode:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot;   &lt;br /&gt;
            jdbc-connection-name=&amp;quot;ds.gv_test&amp;quot; &lt;br /&gt;
            name=&amp;quot;SearchPerson&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;DHVariables&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;decimal-separator&amp;quot; value=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;grouping-separator&amp;quot; value=&amp;quot;,&amp;quot;/&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;format&amp;quot; value=&amp;quot;#0.00&amp;quot;/&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;NAME&amp;quot; value=&amp;quot;NULL&amp;quot;/&amp;gt;&lt;br /&gt;
             &amp;lt;DHVariable name=&amp;quot;CITY&amp;quot; value=&amp;quot;NULL&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/DHVariables&amp;gt;&lt;br /&gt;
      &amp;lt;DBOSelect class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOSelect&amp;quot;  &lt;br /&gt;
                 name=&amp;quot;SearchPerson&amp;quot; rowset-builder=&amp;quot;extended&amp;quot;&lt;br /&gt;
                 transformation=&amp;quot;SearchPerson&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
             &amp;lt;statement id=&amp;quot;1&amp;quot; keys=&amp;quot;1,2,3&amp;quot; type=&amp;quot;select&amp;quot;&amp;gt;&lt;br /&gt;
                  select p.NAME, p.BIRTHDATE, c.NAME, cc.CNUMBER, cc.CREDIT, cc.ENABLED&lt;br /&gt;
                  from PERSON p, CITY c, CREDIT_CARD cc&lt;br /&gt;
                  where p.ID_CITY = c.ID&lt;br /&gt;
                  and p.ID = cc.ID_OWNER&lt;br /&gt;
                  decode{{@{{NAME}}::NULL::::and p.NAME like ‘%@{{NAME}}%’}}&lt;br /&gt;
                  decode{{@{{CITY}}::NULL::::and c.NAME like ‘%@{{CITY}}%’}}&lt;br /&gt;
                  order by c.NAME, p.NAME&lt;br /&gt;
             &amp;lt;/statement&amp;gt;&lt;br /&gt;
       &amp;lt;/DBOSelect&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
According to the data present into the DB we obtain as output the following XML (also known as 'extended' RowSet mode):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;RowSet xmlns=&amp;quot;http://www.greenvulcano.com/database&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;data id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;&lt;br /&gt;
            &amp;lt;NAME id=&amp;quot;1&amp;quot; isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;ANTONIO ROSSI&amp;lt;/NAME&amp;gt;&lt;br /&gt;
            &amp;lt;BIRTHDATE format=&amp;quot;yyyyMMdd HH:mm:ss&amp;quot; id=&amp;quot;2&amp;quot; isNull=&amp;quot;false&amp;quot; type=&amp;quot;timestamp&amp;quot;&amp;gt;19800205 00:00:00&amp;lt;/BIRTHDATE&amp;gt;&lt;br /&gt;
            &amp;lt;CITY id=&amp;quot;3&amp;quot; isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;MILANO&amp;lt;/CITY&amp;gt;&lt;br /&gt;
        &amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;row id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;CNUMBER isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;1111222233338888&amp;lt;/CNUMBER&amp;gt;&lt;br /&gt;
            &amp;lt;CREDIT isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;500.57000&amp;lt;/CREDIT&amp;gt;&lt;br /&gt;
            &amp;lt;ENABLED isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;Y&amp;lt;/ENABLED&amp;gt;&lt;br /&gt;
        &amp;lt;/row&amp;gt;&lt;br /&gt;
        &amp;lt;row id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;CNUMBER isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;1234123414444789&amp;lt;/CNUMBER&amp;gt;&lt;br /&gt;
            &amp;lt;CREDIT isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;600.00000&amp;lt;/CREDIT&amp;gt;&lt;br /&gt;
            &amp;lt;ENABLED isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;Y&amp;lt;/ENABLED&amp;gt;&lt;br /&gt;
        &amp;lt;/row&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
    &amp;lt;data id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;&lt;br /&gt;
            &amp;lt;NAME id=&amp;quot;1&amp;quot; isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;MARIO BIANCHI&amp;lt;/NAME&amp;gt;&lt;br /&gt;
            &amp;lt;BIRTHDATE format=&amp;quot;yyyyMMdd HH:mm:ss&amp;quot; id=&amp;quot;2&amp;quot; isNull=&amp;quot;false&amp;quot; type=&amp;quot;timestamp&amp;quot;&amp;gt;19700815 00:00:00&amp;lt;/BIRTHDATE&amp;gt;&lt;br /&gt;
            &amp;lt;CITY id=&amp;quot;3&amp;quot; isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;MILANO&amp;lt;/CITY&amp;gt;&lt;br /&gt;
        &amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;row id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;CNUMBER isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;1234123412341234&amp;lt;/CNUMBER&amp;gt;&lt;br /&gt;
            &amp;lt;CREDIT isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;100.00000&amp;lt;/CREDIT&amp;gt;&lt;br /&gt;
            &amp;lt;ENABLED isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;Y&amp;lt;/ENABLED&amp;gt;&lt;br /&gt;
        &amp;lt;/row&amp;gt;&lt;br /&gt;
        &amp;lt;row id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;CNUMBER isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;1234123415555666&amp;lt;/CNUMBER&amp;gt;&lt;br /&gt;
            &amp;lt;CREDIT isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;300.00000&amp;lt;/CREDIT&amp;gt;&lt;br /&gt;
            &amp;lt;ENABLED isNull=&amp;quot;false&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;Y&amp;lt;/ENABLED&amp;gt;&lt;br /&gt;
        &amp;lt;/row&amp;gt;&lt;br /&gt;
    &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/RowSet&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
It's possible to make a query also on a local or remote neo4j graph database using the related cypher (Cypher Query Language) language [http://neo4j.com/docs/stable/cypher-query-lang.html].&lt;br /&gt;
To enable this type of query it needs to set the jdbc-connection-name using the neo4j driver jdbc and write a query using the cypher syntax:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;DBOBuilder class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbobuilder.DBOBuilder&amp;quot; &lt;br /&gt;
           jdbc-connection-name=&amp;quot;openejb:Resource/testDHDataSourceN4J&amp;quot; &lt;br /&gt;
		   name=&amp;quot;GVESB::TestSelectWithPropsN4J&amp;quot; type=&amp;quot;dbobuilder&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;DBOSelect class=&amp;quot;it.greenvulcano.gvesb.datahandling.dbo.DBOSelect&amp;quot; &lt;br /&gt;
	            name=&amp;quot;TestSelectWithPropsN4J-select&amp;quot;&lt;br /&gt;
                transformation=&amp;quot;identityXML&amp;quot; type=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;statement id=&amp;quot;0&amp;quot; type=&amp;quot;select&amp;quot;&amp;gt;MATCH (n {title: '@{{PARAM_TITLE}}'}) RETURN n&amp;lt;/statement&amp;gt;&lt;br /&gt;
     &amp;lt;/DBOSelect&amp;gt;&lt;br /&gt;
&amp;lt;/DBOBuilder&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
As you can see in the above section you can make any queries achievable with cypher language.&lt;br /&gt;
According to the data present into neo4j DB we obtain as output the same XML structure as returned with the use of the standard jdbc driver SQL.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DBOSelect might contain the following sub-elements:&lt;br /&gt;
* [[Description]]&lt;br /&gt;
* [[DHVariables]]&lt;br /&gt;
* [[FieldFormatters]]&lt;br /&gt;
* [[statement]]&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4375</id>
		<title>HDFSRemoteManager</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4375"/>
		<updated>2015-03-01T22:00:29Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
Use this element for encapsulating the parameters required to connect to an Hadoop Distributed File System (HDFS) [http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html] .&lt;br /&gt;
Hadoop Distributed File System is a Java-based distributed file system that provides scalable and reliable data storage that is designed to span large clusters of commodity servers. It allows to store and process big data in a distributed environment across clusters of computers. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.&lt;br /&gt;
HDFS follows the master-slave architecture and it has the following elements:&lt;br /&gt;
&lt;br /&gt;
* Namenode: acts as the &amp;quot;master&amp;quot; server. It manages the file system namespace and regulates client’s access to files stored in the datanodes.&lt;br /&gt;
* Datanode: where HDFS stores the data that are replicated in the nodes of the cluster. Datanodes perform read-write operations on the file systems and perform operations such as block creation, deletion, and replication according to the instructions of the namenode.&lt;br /&gt;
* Secondary Namenode: is a separate service that keeps a copy of both the edit logs, and filesystem image, merging them periodically to keep the size reasonable.&lt;br /&gt;
&lt;br /&gt;
HDFSRemoteManager allows to execute the [[remotemanager-call]] on the HDFS filesystem.&lt;br /&gt;
&lt;br /&gt;
=={{VULCON}} / {{GVCONSOLE}} Configuration==&lt;br /&gt;
&lt;br /&gt;
If the target directory is on a HDFS file system, you can define the parameters for connection.&lt;br /&gt;
&lt;br /&gt;
The HDFSRemoteManager Element is used by [[Fsmonitor-call#RemoteFileSystemMonitor|RemoteFileSystemMonitor]] and [[remotemanager-call]]. It has the following attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-manager'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.util.remotefs.hdfs.HDFSRemoteManager.&lt;br /&gt;
|-&lt;br /&gt;
| connectionURL || required ||  Server host name and port to contact HDFS. The entire URI is passed to the FileSystem instance's initialize method. Example: hdfs://[IP_NAME_NOME]:[PORT_NAME_NODE]. [http://wiki.apache.org/hadoop/NameNode] &lt;br /&gt;
|-&lt;br /&gt;
| username || required || User name used to access to the HDFS file system.&lt;br /&gt;
|-&lt;br /&gt;
| password || required || User password. #Encrypted&lt;br /&gt;
|-&lt;br /&gt;
| autoConnect || optional || If true the instance use autoconnect/disconnect at each method invocation. Default: false.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4374</id>
		<title>HDFSRemoteManager</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4374"/>
		<updated>2015-03-01T21:55:08Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
Use this element for encapsulating the parameters required to connect to an Hadoop Distributed File System (HDFS) [http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html] .&lt;br /&gt;
Hadoop Distributed File System is a Java-based distributed file system that provides scalable and reliable data storage that is designed to span large clusters of commodity servers. It allows to store and process big data in a distributed environment across clusters of computers. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.&lt;br /&gt;
HDFS follows the master-slave architecture and it has the following elements:&lt;br /&gt;
&lt;br /&gt;
* Namenode: acts as the &amp;quot;master&amp;quot; server. It manages the file system namespace and regulates client’s access to files stored in the datanodes.&lt;br /&gt;
* Datanode: where HDFS stores the data that are replicated in the nodes of the cluster. Datanodes perform read-write operations on the file systems and perform operations such as block creation, deletion, and replication according to the instructions of the namenode.&lt;br /&gt;
* Secondary Namenode: is a separate service that keeps a copy of both the edit logs, and filesystem image, merging them periodically to keep the size reasonable.&lt;br /&gt;
&lt;br /&gt;
=={{VULCON}} / {{GVCONSOLE}} Configuration==&lt;br /&gt;
&lt;br /&gt;
If the target directory is on a HDFS file system, you can define the parameters for connection.&lt;br /&gt;
&lt;br /&gt;
The HDFSRemoteManager Element is used by [[Fsmonitor-call#RemoteFileSystemMonitor|RemoteFileSystemMonitor]] and [[remotemanager-call]]. It has the following attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-manager'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.util.remotefs.hdfs.HDFSRemoteManager.&lt;br /&gt;
|-&lt;br /&gt;
| connectionURL || required ||  Server host name and port to contact HDFS. The entire URI is passed to the FileSystem instance's initialize method. Example: hdfs://[IP_NAME_NOME]:[PORT_NAME_NODE]. [http://wiki.apache.org/hadoop/NameNode] &lt;br /&gt;
|-&lt;br /&gt;
| username || required || User name used to access to the HDFS file system.&lt;br /&gt;
|-&lt;br /&gt;
| password || required || User password. #Encrypted&lt;br /&gt;
|-&lt;br /&gt;
| autoConnect || optional || If true the instance use autoconnect/disconnect at each method invocation. Default: false.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4373</id>
		<title>HDFSRemoteManager</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4373"/>
		<updated>2015-03-01T21:46:09Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
Use this element for encapsulating the parameters required to connect to an Hadoop Distributed File System (HDFS).&lt;br /&gt;
Hadoop Distributed File System is a Java-based distributed file system that provides scalable and reliable data storage that is designed to span large clusters of commodity servers. It allows to store and process big data in a distributed environment across clusters of computers. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.&lt;br /&gt;
HDFS follows the master-slave architecture and it has the following elements:&lt;br /&gt;
&lt;br /&gt;
* Namenode: acts as the &amp;quot;master&amp;quot; server. It manages the file system namespace and regulates client’s access to files stored in the datanodes.&lt;br /&gt;
* Datanode: where HDFS stores the data that are replicated in the nodes of the cluster. Datanodes perform read-write operations on the file systems and perform operations such as block creation, deletion, and replication according to the instructions of the namenode.&lt;br /&gt;
* Secondary Namenode: is a separate service that keeps a copy of both the edit logs, and filesystem image, merging them periodically to keep the size reasonable.&lt;br /&gt;
&lt;br /&gt;
=={{VULCON}} / {{GVCONSOLE}} Configuration==&lt;br /&gt;
&lt;br /&gt;
If the target directory is on a HDFS file system, you can define the parameters for connection.&lt;br /&gt;
&lt;br /&gt;
The HDFSRemoteManager Element is used by [[Fsmonitor-call#RemoteFileSystemMonitor|RemoteFileSystemMonitor]] and [[remotemanager-call]]. It has the following attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-manager'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.util.remotefs.hdfs.HDFSRemoteManager.&lt;br /&gt;
|-&lt;br /&gt;
| connectionURL || required ||  Server host name and port to contact HDFS. The entire URI is passed to the FileSystem instance's initialize method. Example: hdfs://[IP_NAME_NOME]:[PORT_NAME_NODE]. [http://wiki.apache.org/hadoop/NameNode] &lt;br /&gt;
|-&lt;br /&gt;
| username || required || User name used to access to the HDFS file system.&lt;br /&gt;
|-&lt;br /&gt;
| password || required || User password. #Encrypted&lt;br /&gt;
|-&lt;br /&gt;
| autoConnect || optional || If true the instance use autoconnect/disconnect at each method invocation. Default: false.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4372</id>
		<title>HDFSRemoteManager</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4372"/>
		<updated>2015-03-01T21:45:13Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
Use this element for encapsulating the parameters required to connect to an Hadoop Distributed File System (HDFS).&lt;br /&gt;
Hadoop Distributed File System is a Java-based distributed file system that provides scalable and reliable data storage that is designed to span large clusters of commodity servers. It allows to store and process big data in a distributed environment across clusters of computers. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.&lt;br /&gt;
HDFS follows the master-slave architecture and it has the following elements:&lt;br /&gt;
&lt;br /&gt;
- Namenode: acts as the &amp;quot;master&amp;quot; server. It manages the file system namespace and regulates client’s access to files stored in the datanodes.&lt;br /&gt;
- Datanode: where HDFS stores the data that are replicated in the nodes of the cluster. Datanodes perform read-write operations on the file systems and perform operations such as block creation, deletion, and replication according to the instructions of the namenode.&lt;br /&gt;
- Secondary Namenode: is a separate service that keeps a copy of both the edit logs, and filesystem image, merging them periodically to keep the size reasonable.&lt;br /&gt;
&lt;br /&gt;
=={{VULCON}} / {{GVCONSOLE}} Configuration==&lt;br /&gt;
&lt;br /&gt;
If the target directory is on a HDFS file system, you can define the parameters for connection.&lt;br /&gt;
&lt;br /&gt;
The HDFSRemoteManager Element is used by [[Fsmonitor-call#RemoteFileSystemMonitor|RemoteFileSystemMonitor]] and [[remotemanager-call]]. It has the following attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-manager'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.util.remotefs.hdfs.HDFSRemoteManager.&lt;br /&gt;
|-&lt;br /&gt;
| connectionURL || required ||  Server host name and port to contact HDFS. The entire URI is passed to the FileSystem instance's initialize method. Example: hdfs://[IP_NAME_NOME]:[PORT_NAME_NODE]. [http://wiki.apache.org/hadoop/NameNode] &lt;br /&gt;
|-&lt;br /&gt;
| username || required || User name used to access to the HDFS file system.&lt;br /&gt;
|-&lt;br /&gt;
| password || required || User password. #Encrypted&lt;br /&gt;
|-&lt;br /&gt;
| autoConnect || optional || If true the instance use autoconnect/disconnect at each method invocation. Default: false.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Remotemanager-call&amp;diff=4361</id>
		<title>Remotemanager-call</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Remotemanager-call&amp;diff=4361"/>
		<updated>2015-01-14T13:24:51Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* RemoteMoveCommand */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
This {{GVESB}} plug-in allows you to perform a sequence of file operations in a remote file system accessible via various protocols.&lt;br /&gt;
&lt;br /&gt;
=={{VULCON}} / {{GVCONSOLE}} Configuration==&lt;br /&gt;
&lt;br /&gt;
The operations allowed are: &lt;br /&gt;
* Download a file/directory from a remote directory to a local directory &lt;br /&gt;
* Upload a file/directory from a local directory to a remote directory &lt;br /&gt;
* Control of one or more files (whose name corresponds to a date regular expressions) in a remote directory&lt;br /&gt;
* Deleting a file/directory from a remote directory &lt;br /&gt;
* Rename/move a file/directory in a remote directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The remotemanager-call Element is used by [[Channel]] and [[routed-call]]. It has the attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''call'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.RemoteManagerCall'''.&lt;br /&gt;
|-&lt;br /&gt;
| name || required || Operation name. Used in the [[Flow]] section to associate workflow nodes to VCL operations.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and the subelements:&lt;br /&gt;
&lt;br /&gt;
* Description&lt;br /&gt;
* [[FTPManager]] | [[FTPSManager]] | [[SFTPManager]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
| [[HDFSRemoteManager]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* RemoteCommands&lt;br /&gt;
&lt;br /&gt;
===RemoteCommands===&lt;br /&gt;
&lt;br /&gt;
The RemoteCommands element contains the sequence of FTP operations to be carried out. These operations will be performed in the order they were configured. An error in one of the operation marked as critical will terminate the execution of the entire&lt;br /&gt;
sequence.&lt;br /&gt;
&lt;br /&gt;
The RemoteCommands Element is used by [[remotemanager-call]] and, internally, it is possible to configure the following operations:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Remote Command !! Use this for...&lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteSearchCommand | RemoteSearchCommand]] || Controlling one or more files (whose name corresponds to a regular expressions) in a remote directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteMoveCommand |RemoteMoveCommand]] || Renaming/moving a file/directory in a remote directory&lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteDeleteCommand |RemoteDeleteCommand]] || Deleting a file/directory from a remote directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteDownloadCommand |RemoteDownloadCommand]] || Downloading a file/directory from a remote directory to a local directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteUploadCommand|RemoteUploadCommand]] || Uploading a file/directory from a local directory to a remote directory &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The remote commands can have the following subelements:&lt;br /&gt;
* Description&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
* [[PropertyDef]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====RemoteSearchCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteSearchCommand''' checks if one or more files, whose name conforms to a given regular expression, exists within the specified directory.&lt;br /&gt;
&lt;br /&gt;
On completion and in the absence of errors the following properties of output GVBuffer are setted:&lt;br /&gt;
# GVRM_FIND_FILES_NUM Number of files found (&amp;gt;= 0)&lt;br /&gt;
# GVRM_FIND_FILES_LIST List of names of found files, separated by ','. Set only if the value of field 'GVRM_FIND_FILES_NUM' is greater than 0. &amp;lt;br/&amp;gt; Both the pattern of the file and that the directory can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVSearch'''.&lt;br /&gt;
|-&lt;br /&gt;
| sourcePath || required || Absolute path of the directory to search in.&lt;br /&gt;
|-&lt;br /&gt;
| filePattern || required || File name to search for. Can be a regular expression.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====RemoteMoveCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteMoveCommand''' moves/renames a file/directory. &lt;br /&gt;
&lt;br /&gt;
The file name, the source and destination directory names can be static or contain [[placeholders]] that are replaced at runtime. After the replacement of the [[placeholders|placeholder]], the value of the ''filename'' may contain a regular expression, in which case, all files of the source directory, whose name is in accordance with the corresponding pattern, will be moved to the destination directory. If the destination directory already contains files with the same name, they will be overwritten.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVMove'''.&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || required || Absolute path of the file/directory where is the file to move. &lt;br /&gt;
|-&lt;br /&gt;
| oldName || required || Name of the file to be moved. &lt;br /&gt;
|-&lt;br /&gt;
| newName || required || Name of the file moved. &lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
The following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Property !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.overwrite || true/false; default=false&lt;br /&gt;
|}&lt;br /&gt;
This parameter can be used to owerwrite the target destination with the source one when a move operation is used on the HDFS file system.&lt;br /&gt;
&lt;br /&gt;
====RemoteDeleteCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteDeleteCommand''' deletes a file or directory. &lt;br /&gt;
&lt;br /&gt;
Both the file name and the directory can be static or contain [[placeholders]] that are replaced at runtime. After the replacement of the [[placeholders|placeholder]], the value of the ''filename'' may contain a regular expression, in which case, will erase all files in the specified directory whose name is consistent with the corresponding pattern.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVDelete'''&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || required || Absolute path of the file/directory to remove.&lt;br /&gt;
|-&lt;br /&gt;
| filePattern || optional || File name to remove. Might contain a regular expression. It is used only if ''targetPath'' is a directory, and if empty the filter is ignored.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====RemoteDownloadCommand==== &lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteDownloadCommand''' downloads a file or directory from a remote directory and saved in the local directory you specified (or in GVBuffer). &lt;br /&gt;
&lt;br /&gt;
File names and directories can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVDownload'''.&lt;br /&gt;
|-&lt;br /&gt;
| remotePath || required || Pathname of remote directory containing the file to download. It can be an absolute pathname or relative, in the second case it is relative to home directory of ftp user.&lt;br /&gt;
|-&lt;br /&gt;
| remoteFilePattern || required || The name of the file to download.&lt;br /&gt;
|-&lt;br /&gt;
| toGVBufferExpression || optional || GVBuffer OGNL expression used to specify how to handle the current downloaded file. In the expression, the downloaded file will be referenced by the variable #input, and will be a byte [].&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || optional || Pathname of the local directory to save the downloaded file. Must be an absolute pathname.&lt;br /&gt;
|-&lt;br /&gt;
|  isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
The following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Property !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.delete-source || fixed=false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.raw-local-filesystem || fixed=true&lt;br /&gt;
|-&lt;br /&gt;
| dfs.stream-buffer-size || default: 4096&lt;br /&gt;
|}&lt;br /&gt;
These parameters can be used to specify the related action when a download operation is used on the HDFS file system.&lt;br /&gt;
&lt;br /&gt;
====RemoteUploadCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteUploadCommand''' uploads a file from a local directory (or [[GVBuffer]]) to the remote directory specified. &lt;br /&gt;
&lt;br /&gt;
File and/or directory names can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVUpload'''.&lt;br /&gt;
|-&lt;br /&gt;
| sourcePath || optional || Pathname of the local directory where the file is transferred. Must be an absolute pathname.&lt;br /&gt;
|-&lt;br /&gt;
| sourceFilePattern || optional || The name of the file to transfer. &lt;br /&gt;
|-&lt;br /&gt;
| fromGVBufferExpression || optional || OGNL Expression  applied to the current [[GVBuffer]] that specifies how to build the file content. In the expression, the [[GVBuffer]] is associated with #object, and must return a byte[]. &lt;br /&gt;
|-&lt;br /&gt;
| remotePath || required || Pathname of remote directory where upload the file. It can be an absolute pathname or relative, in the second case it is relative to home directory of ftp user.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
The following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Property !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.delete-source || true/false; default=false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.overwrite || true/false; default=false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.path || Unix-like permission Example: 777; default 700&lt;br /&gt;
|-&lt;br /&gt;
| dfs.stream-buffer-size || default: 8192&lt;br /&gt;
|-&lt;br /&gt;
| dfs.replication || default: 1&lt;br /&gt;
|-&lt;br /&gt;
| dfs.blocksize || default: 4194304&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.user || hdfs user owner&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.group || hdfs user group&lt;br /&gt;
|}&lt;br /&gt;
These parameters can be used to owerwrite the target destination with the source one, set the replication, permissions and the other properties on destination target when an upload operation is used on the HDFS file system.&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Remotemanager-call&amp;diff=4360</id>
		<title>Remotemanager-call</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Remotemanager-call&amp;diff=4360"/>
		<updated>2015-01-14T13:20:19Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* RemoteDownloadCommand */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
This {{GVESB}} plug-in allows you to perform a sequence of file operations in a remote file system accessible via various protocols.&lt;br /&gt;
&lt;br /&gt;
=={{VULCON}} / {{GVCONSOLE}} Configuration==&lt;br /&gt;
&lt;br /&gt;
The operations allowed are: &lt;br /&gt;
* Download a file/directory from a remote directory to a local directory &lt;br /&gt;
* Upload a file/directory from a local directory to a remote directory &lt;br /&gt;
* Control of one or more files (whose name corresponds to a date regular expressions) in a remote directory&lt;br /&gt;
* Deleting a file/directory from a remote directory &lt;br /&gt;
* Rename/move a file/directory in a remote directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The remotemanager-call Element is used by [[Channel]] and [[routed-call]]. It has the attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''call'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.RemoteManagerCall'''.&lt;br /&gt;
|-&lt;br /&gt;
| name || required || Operation name. Used in the [[Flow]] section to associate workflow nodes to VCL operations.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and the subelements:&lt;br /&gt;
&lt;br /&gt;
* Description&lt;br /&gt;
* [[FTPManager]] | [[FTPSManager]] | [[SFTPManager]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
| [[HDFSRemoteManager]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* RemoteCommands&lt;br /&gt;
&lt;br /&gt;
===RemoteCommands===&lt;br /&gt;
&lt;br /&gt;
The RemoteCommands element contains the sequence of FTP operations to be carried out. These operations will be performed in the order they were configured. An error in one of the operation marked as critical will terminate the execution of the entire&lt;br /&gt;
sequence.&lt;br /&gt;
&lt;br /&gt;
The RemoteCommands Element is used by [[remotemanager-call]] and, internally, it is possible to configure the following operations:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Remote Command !! Use this for...&lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteSearchCommand | RemoteSearchCommand]] || Controlling one or more files (whose name corresponds to a regular expressions) in a remote directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteMoveCommand |RemoteMoveCommand]] || Renaming/moving a file/directory in a remote directory&lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteDeleteCommand |RemoteDeleteCommand]] || Deleting a file/directory from a remote directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteDownloadCommand |RemoteDownloadCommand]] || Downloading a file/directory from a remote directory to a local directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteUploadCommand|RemoteUploadCommand]] || Uploading a file/directory from a local directory to a remote directory &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The remote commands can have the following subelements:&lt;br /&gt;
* Description&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
* [[PropertyDef]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====RemoteSearchCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteSearchCommand''' checks if one or more files, whose name conforms to a given regular expression, exists within the specified directory.&lt;br /&gt;
&lt;br /&gt;
On completion and in the absence of errors the following properties of output GVBuffer are setted:&lt;br /&gt;
# GVRM_FIND_FILES_NUM Number of files found (&amp;gt;= 0)&lt;br /&gt;
# GVRM_FIND_FILES_LIST List of names of found files, separated by ','. Set only if the value of field 'GVRM_FIND_FILES_NUM' is greater than 0. &amp;lt;br/&amp;gt; Both the pattern of the file and that the directory can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVSearch'''.&lt;br /&gt;
|-&lt;br /&gt;
| sourcePath || required || Absolute path of the directory to search in.&lt;br /&gt;
|-&lt;br /&gt;
| filePattern || required || File name to search for. Can be a regular expression.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====RemoteMoveCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteMoveCommand''' moves/renames a file/directory. &lt;br /&gt;
&lt;br /&gt;
The file name, the source and destination directory names can be static or contain [[placeholders]] that are replaced at runtime. After the replacement of the [[placeholders|placeholder]], the value of the ''filename'' may contain a regular expression, in which case, all files of the source directory, whose name is in accordance with the corresponding pattern, will be moved to the destination directory. If the destination directory already contains files with the same name, they will be overwritten.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVMove'''.&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || required || Absolute path of the file/directory where is the file to move. &lt;br /&gt;
|-&lt;br /&gt;
| oldName || required || Name of the file to be moved. &lt;br /&gt;
|-&lt;br /&gt;
| newName || required || Name of the file moved. &lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====RemoteDeleteCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteDeleteCommand''' deletes a file or directory. &lt;br /&gt;
&lt;br /&gt;
Both the file name and the directory can be static or contain [[placeholders]] that are replaced at runtime. After the replacement of the [[placeholders|placeholder]], the value of the ''filename'' may contain a regular expression, in which case, will erase all files in the specified directory whose name is consistent with the corresponding pattern.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVDelete'''&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || required || Absolute path of the file/directory to remove.&lt;br /&gt;
|-&lt;br /&gt;
| filePattern || optional || File name to remove. Might contain a regular expression. It is used only if ''targetPath'' is a directory, and if empty the filter is ignored.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====RemoteDownloadCommand==== &lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteDownloadCommand''' downloads a file or directory from a remote directory and saved in the local directory you specified (or in GVBuffer). &lt;br /&gt;
&lt;br /&gt;
File names and directories can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVDownload'''.&lt;br /&gt;
|-&lt;br /&gt;
| remotePath || required || Pathname of remote directory containing the file to download. It can be an absolute pathname or relative, in the second case it is relative to home directory of ftp user.&lt;br /&gt;
|-&lt;br /&gt;
| remoteFilePattern || required || The name of the file to download.&lt;br /&gt;
|-&lt;br /&gt;
| toGVBufferExpression || optional || GVBuffer OGNL expression used to specify how to handle the current downloaded file. In the expression, the downloaded file will be referenced by the variable #input, and will be a byte [].&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || optional || Pathname of the local directory to save the downloaded file. Must be an absolute pathname.&lt;br /&gt;
|-&lt;br /&gt;
|  isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
The following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Property !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.delete-source || fixed=false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.raw-local-filesystem || fixed=true&lt;br /&gt;
|-&lt;br /&gt;
| dfs.stream-buffer-size || default: 4096&lt;br /&gt;
|}&lt;br /&gt;
These parameters can be used to specify the related action when a download operation is used on the HDFS file system.&lt;br /&gt;
&lt;br /&gt;
====RemoteUploadCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteUploadCommand''' uploads a file from a local directory (or [[GVBuffer]]) to the remote directory specified. &lt;br /&gt;
&lt;br /&gt;
File and/or directory names can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVUpload'''.&lt;br /&gt;
|-&lt;br /&gt;
| sourcePath || optional || Pathname of the local directory where the file is transferred. Must be an absolute pathname.&lt;br /&gt;
|-&lt;br /&gt;
| sourceFilePattern || optional || The name of the file to transfer. &lt;br /&gt;
|-&lt;br /&gt;
| fromGVBufferExpression || optional || OGNL Expression  applied to the current [[GVBuffer]] that specifies how to build the file content. In the expression, the [[GVBuffer]] is associated with #object, and must return a byte[]. &lt;br /&gt;
|-&lt;br /&gt;
| remotePath || required || Pathname of remote directory where upload the file. It can be an absolute pathname or relative, in the second case it is relative to home directory of ftp user.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
The following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Property !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.delete-source || true/false; default=false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.overwrite || true/false; default=false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.path || Unix-like permission Example: 777; default 700&lt;br /&gt;
|-&lt;br /&gt;
| dfs.stream-buffer-size || default: 8192&lt;br /&gt;
|-&lt;br /&gt;
| dfs.replication || default: 1&lt;br /&gt;
|-&lt;br /&gt;
| dfs.blocksize || default: 4194304&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.user || hdfs user owner&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.group || hdfs user group&lt;br /&gt;
|}&lt;br /&gt;
These parameters can be used to owerwrite the target destination with the source one, set the replication, permissions and the other properties on destination target when an upload operation is used on the HDFS file system.&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Remotemanager-call&amp;diff=4359</id>
		<title>Remotemanager-call</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=Remotemanager-call&amp;diff=4359"/>
		<updated>2015-01-14T13:17:09Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* RemoteUploadCommand */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
This {{GVESB}} plug-in allows you to perform a sequence of file operations in a remote file system accessible via various protocols.&lt;br /&gt;
&lt;br /&gt;
=={{VULCON}} / {{GVCONSOLE}} Configuration==&lt;br /&gt;
&lt;br /&gt;
The operations allowed are: &lt;br /&gt;
* Download a file/directory from a remote directory to a local directory &lt;br /&gt;
* Upload a file/directory from a local directory to a remote directory &lt;br /&gt;
* Control of one or more files (whose name corresponds to a date regular expressions) in a remote directory&lt;br /&gt;
* Deleting a file/directory from a remote directory &lt;br /&gt;
* Rename/move a file/directory in a remote directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The remotemanager-call Element is used by [[Channel]] and [[routed-call]]. It has the attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''call'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.RemoteManagerCall'''.&lt;br /&gt;
|-&lt;br /&gt;
| name || required || Operation name. Used in the [[Flow]] section to associate workflow nodes to VCL operations.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and the subelements:&lt;br /&gt;
&lt;br /&gt;
* Description&lt;br /&gt;
* [[FTPManager]] | [[FTPSManager]] | [[SFTPManager]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
| [[HDFSRemoteManager]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* RemoteCommands&lt;br /&gt;
&lt;br /&gt;
===RemoteCommands===&lt;br /&gt;
&lt;br /&gt;
The RemoteCommands element contains the sequence of FTP operations to be carried out. These operations will be performed in the order they were configured. An error in one of the operation marked as critical will terminate the execution of the entire&lt;br /&gt;
sequence.&lt;br /&gt;
&lt;br /&gt;
The RemoteCommands Element is used by [[remotemanager-call]] and, internally, it is possible to configure the following operations:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Remote Command !! Use this for...&lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteSearchCommand | RemoteSearchCommand]] || Controlling one or more files (whose name corresponds to a regular expressions) in a remote directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteMoveCommand |RemoteMoveCommand]] || Renaming/moving a file/directory in a remote directory&lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteDeleteCommand |RemoteDeleteCommand]] || Deleting a file/directory from a remote directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteDownloadCommand |RemoteDownloadCommand]] || Downloading a file/directory from a remote directory to a local directory &lt;br /&gt;
|-&lt;br /&gt;
| [[Remotemanager-call#RemoteUploadCommand|RemoteUploadCommand]] || Uploading a file/directory from a local directory to a remote directory &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The remote commands can have the following subelements:&lt;br /&gt;
* Description&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
* [[PropertyDef]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====RemoteSearchCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteSearchCommand''' checks if one or more files, whose name conforms to a given regular expression, exists within the specified directory.&lt;br /&gt;
&lt;br /&gt;
On completion and in the absence of errors the following properties of output GVBuffer are setted:&lt;br /&gt;
# GVRM_FIND_FILES_NUM Number of files found (&amp;gt;= 0)&lt;br /&gt;
# GVRM_FIND_FILES_LIST List of names of found files, separated by ','. Set only if the value of field 'GVRM_FIND_FILES_NUM' is greater than 0. &amp;lt;br/&amp;gt; Both the pattern of the file and that the directory can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVSearch'''.&lt;br /&gt;
|-&lt;br /&gt;
| sourcePath || required || Absolute path of the directory to search in.&lt;br /&gt;
|-&lt;br /&gt;
| filePattern || required || File name to search for. Can be a regular expression.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====RemoteMoveCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteMoveCommand''' moves/renames a file/directory. &lt;br /&gt;
&lt;br /&gt;
The file name, the source and destination directory names can be static or contain [[placeholders]] that are replaced at runtime. After the replacement of the [[placeholders|placeholder]], the value of the ''filename'' may contain a regular expression, in which case, all files of the source directory, whose name is in accordance with the corresponding pattern, will be moved to the destination directory. If the destination directory already contains files with the same name, they will be overwritten.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVMove'''.&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || required || Absolute path of the file/directory where is the file to move. &lt;br /&gt;
|-&lt;br /&gt;
| oldName || required || Name of the file to be moved. &lt;br /&gt;
|-&lt;br /&gt;
| newName || required || Name of the file moved. &lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====RemoteDeleteCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteDeleteCommand''' deletes a file or directory. &lt;br /&gt;
&lt;br /&gt;
Both the file name and the directory can be static or contain [[placeholders]] that are replaced at runtime. After the replacement of the [[placeholders|placeholder]], the value of the ''filename'' may contain a regular expression, in which case, will erase all files in the specified directory whose name is consistent with the corresponding pattern.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVDelete'''&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || required || Absolute path of the file/directory to remove.&lt;br /&gt;
|-&lt;br /&gt;
| filePattern || optional || File name to remove. Might contain a regular expression. It is used only if ''targetPath'' is a directory, and if empty the filter is ignored.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====RemoteDownloadCommand==== &lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteDownloadCommand''' downloads a file or directory from a remote directory and saved in the local directory you specified (or in GVBuffer). &lt;br /&gt;
&lt;br /&gt;
File names and directories can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVDownload'''.&lt;br /&gt;
|-&lt;br /&gt;
| remotePath || required || Pathname of remote directory containing the file to download. It can be an absolute pathname or relative, in the second case it is relative to home directory of ftp user.&lt;br /&gt;
|-&lt;br /&gt;
| remoteFilePattern || required || The name of the file to download.&lt;br /&gt;
|-&lt;br /&gt;
| toGVBufferExpression || optional || GVBuffer OGNL expression used to specify how to handle the current downloaded file. In the expression, the downloaded file will be referenced by the variable #input, and will be a byte [].&lt;br /&gt;
|-&lt;br /&gt;
| targetPath || optional || Pathname of the local directory to save the downloaded file. Must be an absolute pathname.&lt;br /&gt;
|-&lt;br /&gt;
|  isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
The following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Property !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.delete-source || true/false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.raw-local-filesystem || true/false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.stream-buffer-size || default: 8192&lt;br /&gt;
|}&lt;br /&gt;
These parameters can be used to specify the related action when a download operation is used on the HDFS file system.&lt;br /&gt;
&lt;br /&gt;
====RemoteUploadCommand====&lt;br /&gt;
&lt;br /&gt;
The {{GVESB}} operation '''RemoteUploadCommand''' uploads a file from a local directory (or [[GVBuffer]]) to the remote directory specified. &lt;br /&gt;
&lt;br /&gt;
File and/or directory names can be static or contain [[placeholders]] that are replaced at runtime.&lt;br /&gt;
&lt;br /&gt;
The following table shows its attributes:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-command'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVUpload'''.&lt;br /&gt;
|-&lt;br /&gt;
| sourcePath || optional || Pathname of the local directory where the file is transferred. Must be an absolute pathname.&lt;br /&gt;
|-&lt;br /&gt;
| sourceFilePattern || optional || The name of the file to transfer. &lt;br /&gt;
|-&lt;br /&gt;
| fromGVBufferExpression || optional || OGNL Expression  applied to the current [[GVBuffer]] that specifies how to build the file content. In the expression, the [[GVBuffer]] is associated with #object, and must return a byte[]. &lt;br /&gt;
|-&lt;br /&gt;
| remotePath || required || Pathname of remote directory where upload the file. It can be an absolute pathname or relative, in the second case it is relative to home directory of ftp user.&lt;br /&gt;
|-&lt;br /&gt;
| isCritical || optional || If true an internal error interrupt the command sequence. Default true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;version_ge3.5&amp;quot;&amp;gt;&lt;br /&gt;
The following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Property !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.delete-source || true/false; default=false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.file.overwrite || true/false; default=false&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.path || Unix-like permission Example: 777; default 700&lt;br /&gt;
|-&lt;br /&gt;
| dfs.stream-buffer-size || default: 8192&lt;br /&gt;
|-&lt;br /&gt;
| dfs.replication || default: 1&lt;br /&gt;
|-&lt;br /&gt;
| dfs.blocksize || default: 4194304&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.user || hdfs user owner&lt;br /&gt;
|-&lt;br /&gt;
| dfs.permissions.group || hdfs user group&lt;br /&gt;
|}&lt;br /&gt;
These parameters can be used to owerwrite the target destination with the source one, set the replication, permissions and the other properties on destination target when an upload operation is used on the HDFS file system.&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=PropertyDef&amp;diff=4356</id>
		<title>PropertyDef</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=PropertyDef&amp;diff=4356"/>
		<updated>2015-01-13T20:45:18Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* PropertyDef */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==PropertyDef==&lt;br /&gt;
&lt;br /&gt;
Defines a property to set in [[GVBuffer]]. &lt;br /&gt;
&lt;br /&gt;
The PropertyDef Element is used by: [[ChangeGVBuffer]], [[GVSavePointNode#SpProperties|SpProperties]], [[JbProperties]], [[Remotemanager-call#RemoteCommandsRemoteCommands|RemoteCommands]].&lt;br /&gt;
&lt;br /&gt;
The following table shows the PropertyDef element's attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| name || required || Property name. &lt;br /&gt;
|-&lt;br /&gt;
| value || required || Property value. Can contains [[Placeholders|metadata]]&lt;br /&gt;
|-&lt;br /&gt;
| overwrite-body || optional || If &amp;quot;yes&amp;quot; the [[GVBuffer]] body is overwitten with the GVBuffer's property value or with the current property value, or is set to null.&lt;br /&gt;
The body overwrite is execute prior of 'compress', 'crypto' or 'base64' operations.&lt;br /&gt;
WARNING!!!!!!! The 'clear-data' operation is still performed invalidating the body overwriting.&lt;br /&gt;
The attribute's admitted values are:&lt;br /&gt;
* yes&lt;br /&gt;
* no&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Might contain the sub-element [[Description]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following table shows the PropertyDef possible elements that can be set when a RemoteCommand is executed on the HDFS file system:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! RemoteCommand !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| GVDownload || * dfs.file.delete-source [true|false]&lt;br /&gt;
* dfs.file.raw-local-filesystem [true|false]&lt;br /&gt;
* dfs.stream-buffer-size [default: 8192]&lt;br /&gt;
&lt;br /&gt;
These parameters can be used to specify the related action when a download operation is used on the HDFS file system. &lt;br /&gt;
|-&lt;br /&gt;
| GVUpload || * dfs.file.delete-source [true|false]&lt;br /&gt;
* dfs.file.overwrite [true|false]&lt;br /&gt;
* dfs.permissions.path [Unix-like permission Example: 777]&lt;br /&gt;
* dfs.stream-buffer-size&lt;br /&gt;
* dfs.replication [default 1:]&lt;br /&gt;
* dfs.blocksize [default: 1048576]&lt;br /&gt;
* dfs.permissions.user [hdfs user owner]&lt;br /&gt;
* dfs.permissions.group [hdfs user group]&lt;br /&gt;
These parameters can be used to owerwrite the target destination with the source one, set the replication, permissions and the other properties on destination target when a download operation is used on the HDFS file system.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=PropertyDef&amp;diff=4355</id>
		<title>PropertyDef</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=PropertyDef&amp;diff=4355"/>
		<updated>2015-01-13T20:39:14Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* PropertyDef */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==PropertyDef==&lt;br /&gt;
&lt;br /&gt;
Defines a property to set in [[GVBuffer]]. &lt;br /&gt;
&lt;br /&gt;
The PropertyDef Element is used by: [[ChangeGVBuffer]], [[GVSavePointNode#SpProperties|SpProperties]], [[JbProperties]], [[Remotemanager-call#RemoteCommandsRemoteCommands|RemoteCommands]].&lt;br /&gt;
&lt;br /&gt;
The following table shows the PropertyDef element's attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| name || required || Property name. &lt;br /&gt;
|-&lt;br /&gt;
| value || required || Property value. Can contains [[Placeholders|metadata]]&lt;br /&gt;
|-&lt;br /&gt;
| overwrite-body || optional || If &amp;quot;yes&amp;quot; the [[GVBuffer]] body is overwitten with the GVBuffer's property value or with the current property value, or is set to null.&lt;br /&gt;
The body overwrite is execute prior of 'compress', 'crypto' or 'base64' operations.&lt;br /&gt;
WARNING!!!!!!! The 'clear-data' operation is still performed invalidating the body overwriting.&lt;br /&gt;
The attribute's admitted values are:&lt;br /&gt;
* yes&lt;br /&gt;
* no&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Might contain the sub-element [[Description]].&lt;br /&gt;
&lt;br /&gt;
-&lt;br /&gt;
&lt;br /&gt;
When is used a connection to an HDFS file system these are the PropertyDef based on the type of RemoteCommands:&lt;br /&gt;
The following table shows the PropertyDef element's attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! RemoteCommand !! Possible Values&lt;br /&gt;
|-&lt;br /&gt;
| GVDownload || * dfs.file.delete-source [true|false]&lt;br /&gt;
* dfs.file.raw-local-filesystem [true|false]&lt;br /&gt;
* dfs.stream-buffer-size [default: 8192]&lt;br /&gt;
&lt;br /&gt;
These parameters can be used to specify the related action when a download operation is used on the HDFS file system. &lt;br /&gt;
|-&lt;br /&gt;
| GVUpload || * dfs.file.delete-source [true|false]&lt;br /&gt;
* dfs.file.overwrite [true|false]&lt;br /&gt;
* dfs.permissions.path [Unix-like permission Example: 777]&lt;br /&gt;
* dfs.stream-buffer-size&lt;br /&gt;
* dfs.replication [default 1:]&lt;br /&gt;
* dfs.blocksize [default: 1048576]&lt;br /&gt;
* dfs.permissions.user [hdfs user owner]&lt;br /&gt;
* dfs.permissions.group [hdfs user group]&lt;br /&gt;
These parameters can be used owerwrite the target destination with the source one, set the replication, permissions and the other properties on destination target when a download operation is used on the HDFS file system.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4354</id>
		<title>HDFSRemoteManager</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4354"/>
		<updated>2015-01-13T19:58:37Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
Use this element for encapsulating the parameters required to connect to an Hadoop Distributed File System (HDFS).&lt;br /&gt;
&lt;br /&gt;
=={{VULCON}} / {{GVCONSOLE}} Configuration==&lt;br /&gt;
&lt;br /&gt;
If the target directory is on a HDFS file system, you can define the parameters for connection.&lt;br /&gt;
&lt;br /&gt;
The HDFSRemoteManager Element is used by [[Fsmonitor-call#RemoteFileSystemMonitor|RemoteFileSystemMonitor]] and [[remotemanager-call]]. It has the following attributes:&lt;br /&gt;
{|class=&amp;quot;gvtable&amp;quot;&lt;br /&gt;
! Attribute !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| type || fixed || This attribute must assume the value '''remote-manager'''.&lt;br /&gt;
|-&lt;br /&gt;
| class || fixed || This attribute must assume the value '''it.greenvulcano.util.remotefs.hdfs.HDFSRemoteManager.&lt;br /&gt;
|-&lt;br /&gt;
| connectionURL || required ||  Server host name and port to contact HDFS. The entire URI is passed to the FileSystem instance's initialize method. Example: hdfs://[IP_NAME_NOME]:[PORT_NAME_NODE]. [http://wiki.apache.org/hadoop/NameNode] &lt;br /&gt;
|-&lt;br /&gt;
| username || required || User name used to access to the HDFS file system.&lt;br /&gt;
|-&lt;br /&gt;
| password || required || User password. #Encrypted&lt;br /&gt;
|-&lt;br /&gt;
| autoConnect || optional || If true the instance use autoconnect/disconnect at each method invocation. Default: false.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4353</id>
		<title>HDFSRemoteManager</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=HDFSRemoteManager&amp;diff=4353"/>
		<updated>2015-01-13T19:28:17Z</updated>

		<summary type="html">&lt;p&gt;M.deluca: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
Use this element for encapsulating the parameters required to connect to an Hadoop Distributed File System (HDFS).&lt;/div&gt;</summary>
		<author><name>M.deluca</name></author>
		
	</entry>
</feed>