DataSet-Execute method

Methods and instructions by function

Use the DataSet-Execute method to perform data management operations on records defined by data set instances. The DataSet-Execute method's parameters are specific to the type of data set (database table, decision data store, HBase, HDFS, stream or Visual Business Director).

Decision Data Store Type - Method Parameters

This method operates on the specified step page and has the following parameters:

Parameter

Description

Data Set

Enter the name of the Data Set instance used to represent data in decision data stores.

Operation

Select the type of operation:

  • Insert records — Write records to the decision data store.
  • Read by keys — Read records in the decision data store.
  • Remove track — Remove a single track from the decision data store.
  • Truncate — Remove all records from the decision data store.
  • Browse partitions — Read partitions from the decision data store.

Depending on the type of operation, you can refine the way the operation takes place:

Database Table Type - Method Parameters

This method operates on the specified step page and has the following parameters:

Parameter

Description

Data Set

Enter the name of the Data Set instance used to represent data in database tables.

Operation

Select the type of operation:

  • Save — Save records passed by a page or data transform in the database table.
  • Browse — Read records from the database table.
  • Browse by keys — Read records from the database table by a key.
  • Delete by keys — Remove records from the database table by a key.
  • Truncate — Remove all records from the database table.
  • Browse partitions — Read partitions from the database table.

Depending on the type of operation, you can refine the way the operation takes place:

HBase Type - Method Parameters

This method operates on the specified step page and has the following parameters:

Parameter

Description

Data Set

Enter the name of the Data Set instance used to represent an HBase data source.

Operation

Select the type of operation:

  • Browse — Read all the records from the HBase data source.
  • Browse by keys — Read records from the HBase data source by a key.
  • Save — Save records passed by a page or data transform in the HBase data source.

Depending on the type of operation, you can refine the way the operation takes place:

HDFS Type - Method Parameters

This method operates on the specified step page and has the following parameters:

Parameter

Description

Data Set

Enter the name of the Data Set instance used to represent an HDFS data source.

Operation

Select the type of operation:

  • Browse — Read all the records from the HDFS data source.
  • Save — Save records passed by a page or data transform in the HDFS data source.

Depending on the type of operation, you can refine the way the operation takes place:

Stream Type - Method Parameters

This method operates on the specified step page and has the following parameters:

Parameter

Description

Data Set

Enter the name of the Data Set instance used to represent a stream data source.

Operation

Select the type of operation:

  • Browse — Read all the records from the stream data source.
  • Save — Save records passed by a page or data transform in the stream data source.
  • Truncate —Remove all records from the stream data source.

Depending on the type of operation, you can refine the way the operation takes place:

Visual Business Director Type - Method Parameters

This method operates on the specified step page and has the following parameters:

Parameter

Description

Data Set

Enter the name of the Data Set instance used to represent a VBD data source.

Operation

Select the type of operation:

  • Save — Save records passed by a page or data transform in the VBD data source. The data source is now visible in the data sources landing page, and you can use it when writing to VBD in interaction rules and decision data flows.
  • Truncate — Remove all records from the VBD data source.
  • Get statistics — Get the VBD data source statistics.

Internal Types - Method Parameters

You can save records passed by a page or data transform in the corresponding data store:

Checking Method Status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Related topics Data set rules
DNode management landing page

UpMethods and instructions by function