Package net.sf.jasperreports.data.cache
Class ColumnDataCacheHandler
- java.lang.Object
-
- net.sf.jasperreports.data.cache.ColumnDataCacheHandler
-
- All Implemented Interfaces:
DataCacheHandler
public class ColumnDataCacheHandler extends Object implements DataCacheHandler
Report data cache handler that collects data in column stores.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.data.cache.DataCacheHandler
PARAMETER_DATA_CACHE_HANDLER, PROPERTY_DATA_PERSISTABLE, PROPERTY_DATA_RECORDABLE, PROPERTY_INCLUDED
-
-
Constructor Summary
Constructors Constructor Description ColumnDataCacheHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ColumnStore
createColumnStore(Class<?> type)
protected ColumnStore
createColumnStore(JRField field)
DataRecorder
createDataRecorder()
protected void
disableCaching()
DataSnapshot
getDataSnapshot()
boolean
isRecordingEnabled()
boolean
isSnapshotPopulated()
protected void
setDataSnapshot(DataSnapshot snapshot)
-
-
-
Method Detail
-
isRecordingEnabled
public boolean isRecordingEnabled()
- Specified by:
isRecordingEnabled
in interfaceDataCacheHandler
-
createDataRecorder
public DataRecorder createDataRecorder()
- Specified by:
createDataRecorder
in interfaceDataCacheHandler
-
getDataSnapshot
public DataSnapshot getDataSnapshot()
- Specified by:
getDataSnapshot
in interfaceDataCacheHandler
-
disableCaching
protected void disableCaching()
-
setDataSnapshot
protected void setDataSnapshot(DataSnapshot snapshot)
-
isSnapshotPopulated
public boolean isSnapshotPopulated()
- Specified by:
isSnapshotPopulated
in interfaceDataCacheHandler
-
createColumnStore
protected ColumnStore createColumnStore(JRField field)
-
createColumnStore
protected ColumnStore createColumnStore(Class<?> type)
-
-