Package com.jedox.palojlib.main
Class CellsExporter
java.lang.Object
com.jedox.palojlib.main.CellsExporter
- All Implemented Interfaces:
ICellsExporter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CellsExporter
(IElement[][] area, ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, CubeHandler cubehandler, IDimension[] dimensions, int databaseId, int cubeId, int contextId) protected
CellsExporter
(IElement[][] area, ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, CubeHandler cubehandler, IDimension[] dimensions, String condition, int databaseId, int cubeId, int contextId) -
Method Summary
Modifier and TypeMethodDescriptionextractCellsFromPath
(StringBuilder request, String path) get the dimensions specified in the cells.boolean
hasNext()
check whether there is still cells to be readnext()
get the next cell in the exported cells listvoid
reset()
-
Constructor Details
-
CellsExporter
protected CellsExporter(IElement[][] area, ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, CubeHandler cubehandler, IDimension[] dimensions, int databaseId, int cubeId, int contextId) throws PaloException, PaloJException - Throws:
PaloException
PaloJException
-
CellsExporter
protected CellsExporter(IElement[][] area, ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, CubeHandler cubehandler, IDimension[] dimensions, String condition, int databaseId, int cubeId, int contextId) throws PaloException, PaloJException - Throws:
PaloException
PaloJException
-
-
Method Details
-
next
Description copied from interface:ICellsExporter
get the next cell in the exported cells list- Specified by:
next
in interfaceICellsExporter
- Returns:
- next cell in queue
- Throws:
PaloException
- exception from OLAP server
-
reset
public void reset() -
hasNext
Description copied from interface:ICellsExporter
check whether there is still cells to be read- Specified by:
hasNext
in interfaceICellsExporter
- Returns:
- true if there is a cell to be read, false otherwise.
- Throws:
PaloException
- exception from OLAP server
-
extractCellsFromPath
protected ArrayList<ICell> extractCellsFromPath(StringBuilder request, String path) throws PaloException - Throws:
PaloException
-
getDimensions
Description copied from interface:ICellsExporter
get the dimensions specified in the cells. In palojlib implementation, it is always the cube dimensions. This is important for the MDX implementation- Specified by:
getDimensions
in interfaceICellsExporter
- Returns:
- dimensions specified in the cells
-