Uses of Interface
net.pricefx.formulaengine.DatamartContext.Table
Package
Description
Provides Formula Engine API classes.
-
Uses of DatamartContext.Table in net.pricefx.formulaengine
Modifier and TypeMethodDescriptionCreates a table, represented by a DMTable object in the PA DB, modelled on and populated from the given source.DatamartContext.getDataFeed
(String name) Gets a table object representing a DataFeed with the given name.DatamartContext.getDatamart
(String name) Gets a table object representing a Datamart with the given name.DatamartContext.getDataSource
(String name) Gets a table object representing a DataSource with the given name.DatamartContext.getFieldCollection
(String sourceName) Get a table object representing the FC with the given source name.Gets a table object representing a Model with the given name.Gets a table object representing a FieldCollection representing a rollup with the given label.DatamartContext.Column.getTable()
DatamartContext.Query.getTable()
Equivalent toModelFormulaContext.getTable(String)
.Gets a table object representing the DMTable with the given name, which was previously created using theModelFormulaContext.addTable(String, Object)
method while calculating the model.Modifier and TypeMethodDescriptionDatamartContext.SqlQuery.addSource
(DatamartContext.Table table) Adds aDatamartContext.Table
as a source for this SQL query.DatamartContext.SqlQuery.addSource
(DatamartContext.Table table, String alias) Adds aDatamartContext.Table
as a source for this SQL query.DatamartContext.fieldSelectionEntry
(String entryName, DatamartContext.Table table, String sType) FC field selector, optionally limited to fields of a given type.DatamartContext.fieldSelectionEntry
(String entryName, DatamartContext.Table table, String sType, Boolean multiple) FC field selector, optionally limited to fields of a given type.long
ModelFormulaContext.loadTable
(DatamartContext.Table table, Object source) Load data into an existing table without truncating it.long
ModelFormulaContext.loadTable
(DatamartContext.Table table, Object source, boolean truncate) Load data into an existing table, optionally truncating it.DatamartContext.newDataLoader
(DatamartContext.Table table) DatamartContext.newDataLoader
(DatamartContext.Table table, List<String> headerFieldNames) DatamartContext.newQuery
(DatamartContext.Table table) Builds a new query on the given table.DatamartContext.newQuery
(DatamartContext.Table table, boolean rollup) Builds a new query on the given table allowing you to disable a rollup aggregation.void
ModelFormulaContext.truncateTable
(DatamartContext.Table table) Truncate the table. -
Uses of DatamartContext.Table in net.pricefx.formulaengine.optimization
Modifier and TypeMethodDescriptionAdd a table in the model.Modifier and TypeMethodDescriptionvoid
ModelFormulaContextReadWrite.dropTable
(DatamartContext.Table table) long
ModelFormulaContextReadWrite.loadTable
(DatamartContext.Table table, DatamartContext.Query query, boolean truncate) Sample code:long
ModelFormulaContextReadWrite.loadTable
(DatamartContext.Table table, DatamartContext.SqlQuery query, boolean truncate) Sample code:long
ModelParallelCalculationFormulaItemContext.loadTable
(DatamartContext.Table table, DatamartContext.Query query) Sample code:long
ModelParallelCalculationFormulaItemContext.loadTable
(DatamartContext.Table table, DatamartContext.SqlQuery query) Sample code:void
ModelFormulaContextReadWrite.truncateTable
(DatamartContext.Table table) -
Uses of DatamartContext.Table in net.pricefx.server.util.metamodel.dm