IRubricator.DefaultDwarf

Fore Syntax

DefaultDwarf: Boolean;

Fore.NET Syntax

DefaultDwarf: boolean;

Description

The DefaultDwarf property determines whether to use optimization on loading time series database data to memory.

Comments

Available values:

Fore Example

Executing the example requires that the repository contains a time series database with the FC identifier. Add links to the Metabase and Cubes system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    Rubr: IRubricator;
Begin
    mb := MetabaseClass.Active;
    Rubr := mb.ItemById("FC").Edit As IRubricator;
    If Not Rubr.DefaultDwarf Then
        Rubr.DefaultDwarf := True;
        (Rubr As IMetabaseObject).Save;
    End If;
End Sub UserProc;

Time series database uses optimization while loading the data to the memory after example execution.

Fore.NET Example

Executing the example requires that the repository contains a time series database with the FC identifier.

Imports Prognoz.Platform.Interop.Cubes;

[STAThread]
Public Shared Sub Main(Params: StartParams);
Var
    mb: IMetabase;
    Rubr: IRubricator;
Begin
    mb := Params.Metabase;
    Rubr := mb.ItemById["FC"].Edit() As IRubricator;
    If Not Rubr.DefaultDwarf Then
        Rubr.DefaultDwarf := True;
        (Rubr As IMetabaseObject).Save();
    End If;
End Sub;

After executing the example the time series database uses optimization on loading data to memory.

See also:

IRubricator