Package com.jedox.palojlib.main
Class CellsExporter
java.lang.Object
com.jedox.palojlib.main.CellsExporter
- All Implemented Interfaces:
ICellsExporter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCellsExporter(IElement[][] area, ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, CubeHandler cubehandler, IDimension[] dimensions, int databaseId, int cubeId, int contextId) protectedCellsExporter(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.booleanhasNext()check whether there is still cells to be readnext()get the next cell in the exported cells listvoidreset()
-
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:
PaloExceptionPaloJException
-
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:
PaloExceptionPaloJException
-
-
Method Details
-
next
Description copied from interface:ICellsExporterget the next cell in the exported cells list- Specified by:
nextin interfaceICellsExporter- Returns:
- next cell in queue
- Throws:
PaloException- exception from OLAP server
-
reset
public void reset() -
hasNext
Description copied from interface:ICellsExportercheck whether there is still cells to be read- Specified by:
hasNextin 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:ICellsExporterget the dimensions specified in the cells. In palojlib implementation, it is always the cube dimensions. This is important for the MDX implementation- Specified by:
getDimensionsin interfaceICellsExporter- Returns:
- dimensions specified in the cells
-