Business Entities

icredit-card-front.svg

General - Business Entity

The number of Business Entities that can be created is not limited.

The Business Entities function represents the Depots modeling step. It allows to define sets of characteristics.

String of values

pipeline

Business Entities combine data from one or more repositories to create new consistent datasets.

They can also be linked to each other to allow the cross-referencing of data. (similar to the link between tables)

This section explains their structure and functionality.

Creation of a Business Entity

There are several methods for creating a Business Entity

  • Direct creation

  • Created from Repository

  • Creation by duplicating an existing Business Entity

Direct creation of a Business Entity

  • Access GenericsData module Logo GenericsData

  • Left menu of GenericsData to access the Business Entities function

  • Click on the icon credit-card-front

  • The list of existing Business Entities is displayed

  • Click on the New button

Like all DataChain elements, it is mandatory to specify the metadata that will be associated with the Business Entity

New entity

Entering a label is Required. Optional input fields such as a description, information on the user license and tags allow you to refine the information related to a Business Entity.

Once this information has been entered, save the metadata using the Save button located at the top left of the screen.

Creating a Business Entity from an Depot

Creating a Business Entity from an depot is fast. This creation mode makes it possible to automatically create

  • the creation of the set of characteristics based on the headers of the Repository

  • the mapping of each feature on the headers.

For it :

  • Access the GenericsData module Logo GenericsData.

  • Left menu of GenericsData to access the deposits function. boxes

  • Click on the icon boxes

  • The list of existing repositories is displayed.

  • Search for the desired repository

    information The list function offers filter functions, sorting by column and global search on all columns.

  • Once the Deposit found in the table, click on the icon image:ROOT:credit-card-front.svg in the Actions column.

  • A dialog box presents all the characteristics that will be created and offers to enter the metadata information of the Business Entity that will be created. Note that only the label is mandatory

  • Use the Create button located on the top banner of the dialog box.

The new Business Entity is created.

Creation by duplicating an existing Business Entity

Creating a Business Entity from the duplicate of a pre-existing Business Entity is fast. This function is used to duplicate the structure of the Business Entity.

Warning The duplication function of a Business Entity does not duplicate the assignments of Deposits and links to other Entities Job. Only the structure is duplicated.

  • Access GenericsData module Logo GenericsData

  • Left menu of GenericsData to access the Business Entity function

  • Click on the icon credit-card-front.svg

  • The list of existing Business Entities is displayed

  • Search for the desired Business Entity

    information The list function offers filter functions, sorting by column and global search on all columns

  • Once the Business Entity is found in the table, click on the duplicate.png icon in the Actions column

  • Complete the metadata panel information (Label Required)

  • Save with button duplicate.png

  • The Business Entity is created

Presentation of the Business Entity screen

Entity page tabs

  • 1 Characteristics tab: Management of characteristics and mapping to attached Deposits

  • 2 Links tab: Management of Business Entity links to other Business Entities.

  • 3 Tab Deposits linked: Lists the repositories linked to this Business Entity. Functions allow to act on the activation of each Deposit or the consumption of their extractions.

  • 4 Tab DataBlocks linked: Lists the DataBlocks linked to this Business Entity. It is possible to create an DataBlock initialized by the Business Entity from this tab.

  • 5 Values tab: Displays the data of all the values of all the characteristics.

  • 6 Tab Persistence parameters: In case of persistence, the specified parameters will be taken into account.

Features Tab

Details of the list of characteristics of an entity

  • 1 Specifies the type of the characteristic (Here a Strin)

  • 2 Description of the characteristic

  • 3 Hyperlink indicating the number of mappings for this feature to the linked repository(s). A click on the link opens the mappings configuration popup for this characteristic

  • 4 Edit feature information

  • 5 Edits the parameter mapping of the characteristic with the header(s) of its linked Deposits

  • 6 Remove feature

    Attention Note that during the deletion, an impact study of this deletion on the entire value chain is carried out. Deletion may be blocked.

  • 7 Access to characteristic statistics

  • 8 Allows access to the global settings popup for the mapping of all characteristics

  • 9 Create new feature

Creation of a feature

To create a simple feature:

  • click on the icon add_chart.svg located in 9

  • a popup appears:

Characteristic creation - Detail

  • 1 Metadata: Enter a mandatory label (and optional information if needed)

  • 1 Choose a type: Different types are available

    • String of characters

    • Whole number (< 2Md)

    • Large integer

    • Decimal number

    • Timestamp (Date)

    • Boolean

    • Words

    • File

    • Binary file

  • 1 Choose format

  • 4 Specifies whether the feature will contain a list of values

A feature can be

  • 1 Simple

  • 2 Formula (or Virtual): Fed by a user-defined formula.

Entity Characteristic Type

Simple feature

1 A simple characteristic is fed by a mapping on one or more headers from the depot linked to the Business Entity

Virtual characteristic

Warning A virtual feature is fed by a user-defined formulator. 2. It corresponds to the creation of a new value absent at the level of deposits.

Warning Unlike the formula on mapping, the formula described to supply a virtual characteristic applies identically to all the repositories linked to the Business Entity.

The description of a formula is required. The creation or editing of the formula associated with the virtual characteristic is defined from the list of characteristics by clicking on the icon Formula icon (Cf Formula settings ).

Mapping settings

The mapping makes it possible to link a characteristic to the header of an Depot.

A feature can have several mappings to different Repositories.

A mapping can be based on a user-generated formula. In this case, the formula described applies only to the deposit concerned. This is an important difference compared to the functioning of the formula applied to a virtual characteristic.

The data feeding the characteristic will be 'deduced' from the parameters of the mapping. (direct reference to a header of a deposit, to a formula applied by deposit or by the definition of a formula on a virtual characteristic.

Mapping editing

  • The mapping settings are made from the Characteristics tab

  • Click on the icon Icon Mapping Repository

  • Define mapping

Add mapping

1 Simple mapping: choose one of the headers.

Attention For characteristics of the Date type, it is Mandatory, to fill in the mask for reading the date in the Deposit. It also allows retrieving data of type Date with reliability, if several Deposits are mapped on the same characteristic.

de Mapping on formula: click on the hypertext link to define the formula.

Link tab

1 The Links tab presents in the form of a table, the links of the Current Business Entity to other Business Entities.

From this tab, it is possible to edit or create a link between Business Entities

To create a link, click on the button add_chart.svg 2

Creating a new link

Specify the following:

  • 1 the metadata (the label is required)

  • 2 the weight (at 100 default)

  • 3 the type of join it is (Left, Inner, Right, Cross)

  • 4 the source Business Entity

  • 5 the target Business Entity

  • 6 for the source business entity, define whether it is a value (choose the characteristic from the list) or a formula (click on Add a formula in this case)

  • 7 an operator defining the link

  • 8 for the target business entity, define whether it is a value (choose the characteristic from the list) or a formula (click on Add a formula in this case)

  • 9 Displays a popup on the statistics of the link

  • 10 Click on the icon to add a criterion to the link

Attention Note that to be linked together, the columns must be of the same type (Character string, Integer, Decimal,…​). Formulas are used to perform transformations on the target and source columns when defining the link.

Warning Several links can be created between a Business Entity A and a Business Entity B

Tab Repositories linked

Repository tab

  • 1 The Linked repositories tab presents, in the form of a table, the repositories that feed the Business Entity. Actions are available to act on the link between the depot and the Business Entity.

  • 2 Enable or disable the powering of an repository for the Business Entity

  • 3 Enable or disable the direct read (live) mode of a repository

  • 4 Use a filter allowing to consume one or n extractions of the depot.

  • 3 Opens a new tab to edit the linked repository

  • 6 Remove linked repository

  • 7 Opens a popup to modify the mapping with the linked repository

  • 8 Refreshes the list of repositories

  • 9 Create New Link

This link will allow DataChain to build a Graph type network of all the Business Entities and propose a connection of various Business Entities between them. (See Graph View)

Tab DataBlocks linked

Datablock Tab

1 The Linked Datablocks tab presents in the form of a table, the DataBlocks which consume the Business Entity. This array provides access to each DataBlock in the list by clicking on its label. 2 An add_chart.svg button is used to create an DataBlock from the 'Business Entity.

Values tab

Value Tab

1 The Values tab allows you to view the structure and data that will be provided when consumed by another element of this Business Entity. 2 To display the data, click on 1

Persistence Settings Tab

Persistence Tab

1 The Persistence parameters tab is used to define the parameters consumed when carrying out the persistence of the Business Entity. Two parameters can be set.

  • 2 number of partitions

    information If no value is entered, DataChain will assign a standard value.

  • 3 the columns used to make the partitions.

    information Assigning columns is not mandatory for performing persistence.

Column statistics

At the level of the Values tab, it is possible to activate the option Statistics on the columns 1

This option allows you to perform a nullability study (% non-null values - % null values) 2 as well as different basic statistics depending on the type of column. These statistics are visible in an 4 tooltip that is displayed when hovering the mouse over the Sigma icon Σ 3 Click to open statistics popup

  • 5 View for columns of type String

  • 5 View for Numeric type columns

Statistics on values in the entity

Editing a Business Entity

  • Module GenericsData Logo GenericsData

  • Business Entity Menu credit-card-front

  • In the list of Business Entities, find the desired Business Entity.

    information It is possible to use the search and sort functions present at the level of each column.

  • Select line

  • Click on the Business Entity label or on the edit icon at the end of the line.

Deleting a Business Entity

An impact check is performed when deleting a Business Entity. Depending on the impact on the value chain, DataChain may block deletion.

The deletion of a Business Entity is carried out:

  • Either from the list of Business Entities

    • At the level of the targeted Business Entity line, click on the icon suppression to carry out the deletion.

  • Either in edition of a Business Entity

    • Use the six button located on the top left banner.

Warning When deleting a Business Entity, an impact check is carried out. If the Business Entity is consumed (used in a Datablock like), then deletion is impossible. A message will indicate to the user, Datablock consuming the concerned Business Entity.