The Data Source step brings allows you to bring data into the Query Object from various sources:
RDBMS
...
: Using SQL or stored
...
procedures.
File/IOT Stream: From a file system or IoT stream source.
Web Service: By accessing web service data.
Another Query Object: Using an existing Query Object as input.
Big Data/Non-
...
Kyvos
...
Relational Databases: For large-scale or unstructured data.
Kyvos Reporting: Integrating with Kyvos Reporting to fetch data.
You can include multiple Data Source steps in a Query Object. Each Data Source step has the following properties to be setstep requires you to set specific properties.
Property |
---|
Value
Description |
---|
New Source |
/Existing |
New Source -Existing QO
Query Object | Choose whether to create a new SQL or file source |
or |
use an existing Query Object. | |
Connection |
|
|
|
|
|
|
|
|
SQL |
Create a complete SQL statement |
using the |
SQL Wizard |
. This |
option is |
available when the selected connection points to an RDBMS. |
Open the SQL Designer window |
to write or edit SQL queries. |
File/Stream Source |
Specify the file name, file type, and parsing details |
using the File Selector Wizard |
. This |
option is |
available when the selected connection points to a file system |
. |
Web Service |
Specify the web service name, port, method, and record pattern using the Web Service Selector |
Wizard. This |
option is |
available when the selected connection points to a |
web service |
. |
Existing |
Query Object |
Use an existing Query Object |
. The output of the |
selected Query Object becomes the input |
for this Data Source. |
Fields |
View and configure all fields available in |
the Data Source |
, including field properties (discussed in Field Properties below). |
File as a Data Source
This The File Selector wizard allows you to select fetch records from a file and provide parsing properties to fetch records from that file.by specifying the file name, file type, and parsing properties.
Steps:
On the Query Object Editor
...
Figure 6: File as a data source
...
, select a connection or file
...
source.
Click Select next to File/Stream Source
...
.
Configure the required file details in the displayed wizard.
Web Service as a Data Source
This The Web Service Selector wizard allows you to select fetch data from a connected web service available from the connected Web Service provider and provides method, record pattern details.On theĀ .
Steps:
On the Query Object Editor
...
Figure 7: Web Service as a Data Source
...
, select a connection or web source
...
.
Click Select under Web Service.
...
By reading the WSDL, it also prompts for parameters required to request the Web Service.
...
Specify the web service name, port, method, and record pattern in the displayed wizard.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Note Kyvos Reporting supports JSON as a file type for File and Web Service data sources |
...
. |
...
Figure 8: Field Level Properties
...
Kyvos Reporting as a Data Source
When you select the connection created using Kyvos Reporting as a provider, you can write/edit :
Select the required
...
connection.
Click
...
Design to open the SQL Editor
...
.
...
In the SQL Editor, select a Semantic Model
...
.
Search for and select the desired model from the available categories.
View the dimensions and measures for the selected semantic
...
model in the bottom-left pane.
Write the required query using the listed dimensions and measures
...
.
Click Result to view the
...
Note
...
You will only view the folders and underlying semantic models you have access to in Kyvos viz.
...
output.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Note
|
Field Properties
...
for Data Source
...
Steps
Property |
---|
Values
Description |
---|
Data Type |
CHAR,NUMBER,
DATE,
BINARYSelect the data type of the incoming data: CHAR, NUMBER, DATE, or BINARY. | |
Data Format |
Format String
Specify the format of the incoming data. |
Useful for converting CHAR fields to Date or Number types. |
Database Time Zone |
Select Time zone from the list
Specify the time zone in which the incoming date data is stored. |
Scale
Enter
Useful for converting data (e.g., from GMT to EDT) based on reporting requirements. |
Length/Precision |
Enter
Length of field for Char data typePrecision or length of field for Number data type
Set the field length for CHAR types or precision for NUMBER types. | |
Scale | Define the number of digits after the decimal point for numeric data. |
Locale |
Select from the list
Specify the language |
Sort Criteria
Ascending/Descending
or country in which the incoming date data is stored. |
Sort Priority |
Number 0-N
If the data is sorted on multiple fields then specify sort priority number of this field.Primary sort field should be the lowest number
Specify the sort priority for the field (lower numbers indicate higher priority). | |
Sort Criteria | Choose whether to sort the data in ascending or descending order. |
Qualified Name |
Enter
Provide a custom name to resolve field name ambiguity when the same field is fetched from |
multiple tables or expressions. |