public final class AccessCacheOptions
extends java.lang.Object
Remarks
For some features, accessing large dataset requires a lot of repeated and complicated operations such as search, calculation, ...etc and those operations will take a lot of extra time. For common situations, all dependent data remains unchanged during the access, so some caches can be built and used to improve the access performance. For this purpose, we provide this API so that user can specify which kind of data access needs to be optimized by possible caching mechanism.| Modifier and Type | Field and Description |
|---|---|
static int |
ALL
Apply all possible optimizations for all kinds of data access in the workbook.
|
static int |
CALCULATE_FORMULA
Apply possible optimization for calculating formulas.
|
static int |
CELL_DISPLAY
Apply possible optimization for getting display-related results of
cells(
Cell.getDisplayStringValue(), Cell.getStyle(), Cell.getDisplayStyle(), etc.). |
static int |
CELLS_DATA
Apply possible optimization for getting cells' values.
|
static int |
CONDITIONAL_FORMATTING
Apply possible optimization for getting formatting result of conditional formattings.
|
static int |
GET_FORMULA
Apply possible optimization for getting formulas.
|
static int |
NONE
No cache for any data access.
|
static int |
POSITION_AND_SIZE
Apply possible optimization for getting object(such as Shape)'s position and size.
|
static int |
SET_FORMULA
Apply possible optimization for setting formulas.
|
static int |
VALIDATION
Apply possible optimization for getting validation result.
|
public static final int NONE
public static final int ALL
public static final int POSITION_AND_SIZE
public static final int CELLS_DATA
Cells.get(int,int)).public static final int CELL_DISPLAY
Cell.getDisplayStringValue(), Cell.getStyle(), Cell.getDisplayStyle(), etc.).
Cells data and style-related objects(Cell/Row/Column styles, column width, etc.) should not be changed
during the optimized access.public static final int GET_FORMULA
public static final int SET_FORMULA
public static final int CALCULATE_FORMULA
Cells.get(int,int)).public static final int CONDITIONAL_FORMATTING
public static final int VALIDATION
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.