public class SystemViewLocal<R> extends SqlAbstractLocalSystemView
SystemView data.| Modifier and Type | Field and Description |
|---|---|
protected SystemView<R> |
sysView
System view for export.
|
cols, ctx, DEFAULT_ROW_COUNT_APPROXIMATION, desc, indexes, log, tblName| Modifier | Constructor and Description |
|---|---|
|
SystemViewLocal(GridKernalContext ctx,
SystemView<R> sysView) |
protected |
SystemViewLocal(GridKernalContext ctx,
SystemView<R> sysView,
String[] indexes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGetRowCount()
Check if the row count can be retrieved quickly.
|
long |
getRowCount()
Gets row count for this view (or approximated row count, if real value can't be calculated quickly).
|
long |
getRowCountApproximation()
Gets approximated row count (required to build execution plan).
|
Iterator<org.h2.result.Row> |
getRows(org.h2.engine.Session ses,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
Gets view content.
|
protected Iterator<R> |
viewIterator(org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
System view iterator.
|
conditionForColumn, createRow, getColumnIndex, isDistributed, nodeFilter, toStringSafe, uuidFromValue, valueTimestampFromMillisgetColumns, getCreateSQL, getDescription, getIndexes, getTableName, newColumn, newColumnprotected final SystemView<R> sysView
protected SystemViewLocal(GridKernalContext ctx, SystemView<R> sysView, String[] indexes)
ctx - Kernal context.sysView - View to export.indexes - Indexed fields.public SystemViewLocal(GridKernalContext ctx, SystemView<R> sysView)
ctx - Kernal context.sysView - View to export.protected Iterator<R> viewIterator(org.h2.result.SearchRow first, org.h2.result.SearchRow last)
public Iterator<org.h2.result.Row> getRows(org.h2.engine.Session ses, org.h2.result.SearchRow first, org.h2.result.SearchRow last)
ses - Session.first - First.last - Last.public long getRowCount()
getRowCount in interface SqlSystemViewgetRowCount in class SqlAbstractSystemViewpublic long getRowCountApproximation()
getRowCountApproximation in interface SqlSystemViewgetRowCountApproximation in class SqlAbstractSystemViewpublic boolean canGetRowCount()
canGetRowCount in interface SqlSystemViewcanGetRowCount in class SqlAbstractSystemView
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023