Package org.olap4j
Interface CellSetListener.CellSetChange
-
- Enclosing interface:
- CellSetListener
public static interface CellSetListener.CellSetChange
Description of changes that have occurred to the cell set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<CellSetListener.AxisChange>
getAxisChanges()
Returns a list of axis changes, or null if server cannot provide detailed changes.java.util.List<CellSetListener.CellChange>
getCellChanges()
Returns a list of cells that have changed, or null if the server cannot provide detailed changes.CellSet
getCellSet()
Returns the cell set affected by this change.
-
-
-
Method Detail
-
getCellSet
CellSet getCellSet()
Returns the cell set affected by this change.- Returns:
- Cell set affected by this change.
-
getCellChanges
java.util.List<CellSetListener.CellChange> getCellChanges()
Returns a list of cells that have changed, or null if the server cannot provide detailed changes.The server is always at liberty to provide a
CellSetChange
without a detailed list of changes, even ifCellSetListener.Granularity.COARSE
was specified when the listener was attached. Here are some typical reasons:- If there are very many changes. (Transmitting these changes over the network would be costly, and the user interface also might struggle to redisplay so many cells.)
- If the axes have changed significantly. (If an axis position has changed, all of the cells at that position will necssarily have changed.)
- If the client did not ask for detailed changes
- If the the provider is not capable of giving detailed changes.
-
getAxisChanges
java.util.List<CellSetListener.AxisChange> getAxisChanges()
Returns a list of axis changes, or null if server cannot provide detailed changes.The reasons why this method returns null are similar to the reasons why
getCellChanges()
returns null.- Returns:
- List of changes to positions on axes, or null if the server cannot provide detailed changes.
-
-