Package com.jedox.palojlib.main
Class CellExportContext
java.lang.Object
com.jedox.palojlib.main.CellExportContext
- All Implemented Interfaces:
ICellExportContext
- Author:
- khaddadin
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jedox.palojlib.interfaces.ICellExportContext
ICellExportContext.SkipMode
-
Constructor Summary
ConstructorsConstructorDescriptionCellExportContext
(ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode) CellExportContext
(ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, String condition) -
Method Summary
Modifier and TypeMethodDescriptionint
get the maximum number of cells returned for each server call.get the type of the exportICube.CellsExportType
.Condition value for valuesget whether empty cells should be exported.boolean
get whether the export should contain only base cells.boolean
get whether rule-based cells should be exported.
-
Constructor Details
-
CellExportContext
public CellExportContext(ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode) -
CellExportContext
public CellExportContext(ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, String condition)
-
-
Method Details
-
getCellsExportType
Description copied from interface:ICellExportContext
get the type of the exportICube.CellsExportType
.- Specified by:
getCellsExportType
in interfaceICellExportContext
- Returns:
- type of the export
-
getBlockSize
public int getBlockSize()Description copied from interface:ICellExportContext
get the maximum number of cells returned for each server call.- Specified by:
getBlockSize
in interfaceICellExportContext
- Returns:
- blocksize
-
isOnlyBases
public boolean isOnlyBases()Description copied from interface:ICellExportContext
get whether the export should contain only base cells. true means only numeric/string base cells and string consolidated cells (everything in olap csv files), false means all cells.- Specified by:
isOnlyBases
in interfaceICellExportContext
- Returns:
- onlyBases
-
isUseRules
public boolean isUseRules()Description copied from interface:ICellExportContext
get whether rule-based cells should be exported. true means rule based cells should be exported, otherwise false- Specified by:
isUseRules
in interfaceICellExportContext
- Returns:
- useRules
-
getSkipMode
Description copied from interface:ICellExportContext
get whether empty cells should be exported. true means empty cells are not exported e.g. zero for numeric and "" for string cells, false means all cells.- Specified by:
getSkipMode
in interfaceICellExportContext
- Returns:
- skipEmpty
-
getCondition
Description copied from interface:ICellExportContext
Condition value for values- Specified by:
getCondition
in interfaceICellExportContext
- Returns:
- null if there is none specified
-