Java API for Building Cube
Applies to: Kyvos Enterprise Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace
Kyvos Azure Marketplace  Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)
Overview
process a semantic model object
Process semantic model with NOW option
Process semantic model with ONCE option
Cancel semantic model process if currently running
Resume semantic model process
Replace partitions
Data profile for Semantic model with ONCE option
Data profile for Semantic model with NOW option
Examples
Process semantic model with NOW option
/** * method to process semantic model Object * @param cubeName: name of the semantic model * @param folderName: name of the folder containing semantic model * @param buildType: type of the process , FULL or INCREMENTAL * @param additionalParams: JSONObject containing fields: userParams, replacePartition, consolidationType, buildSourceDatasets, * recommendationParamsJson, minimalAggregation, minimalAggregation, factDataPartitionSize, * factDataPartitionCount, incrementalJobProcessType * factDataPartitionCount, incrementalJobProcessType, buildConnectionName */ public void buildCubeNow(String cubeName, String folderName, String buildType, UserInfo userInfo, JSONObject additionalParams);
Process semantic model with ONCE option
/** * method to process semantic model Object * @param cubeName: name of the semantic model * @param folderName: name of the folder containing semantic model * @param buildType: type of the process , FULL or INCREMENTAL * @param additionalParams: JSONObject containing fields: userParams, onceDateTime, replacePartition, consolidationType, buildSourceDatasets, * recommendationParamsJson, minimalAggregation, minimalAggregation, factDataPartitionSize, * factDataPartitionCount, incrementalJobProcessType, buildConnectionName */ public void buildCubeOnce(String cubeName, String folderName, String buildType, UserInfo userInfo, JSONObject additionalParams);
Cancel semantic model process if currently running.
/** * Method to add ONCE process schedule for semantic model object * @param cubeName: name of the semantic model * @param folderName: name of the folder containing semantic model * @param buildType: type of the process, FULL or INCREMENTAL * @param onceDateTime: date time in format mm/dd/yyyy hh:mm * @param userInfo: Object of type UserInfo containing information about logged in user * @param incrementalJobProcessType: type of process: FACT_ADJUSTMENTS */ public void buildCubeOnce(String cubeName, String folderName, String buildType, String onceDateTime, UserInfo userInfo, String incrementalJobProcessType);
Resume semantic model process
Replace partitions.
Data profile for a semantic model with ONCE option
Data profile for a semantic model with NOW option.
Parse connectionXML and set internal properties of DBConnection.Â
Set a property in a DBConnection object.
Set a property in a DBConnection. It is useful when a value is encrypted.
Sample code
Copyright Kyvos, Inc. All rights reserved.