public class SystemViewLocal<R>
extends org.apache.ignite.internal.processors.query.h2.sys.view.SqlAbstractLocalSystemView
SystemView data.| Modifier and Type | Field and Description |
|---|---|
protected SystemView<R> |
sysView
System view for export.
|
| Modifier | Constructor and Description |
|---|---|
|
SystemViewLocal(org.apache.ignite.internal.GridKernalContext ctx,
SystemView<R> sysView) |
protected |
SystemViewLocal(org.apache.ignite.internal.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 static String |
sqlName(String name)
Build SQL-like name from Java code style name.
|
protected Iterator<R> |
viewIterator(org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
System view iterator.
|
conditionForColumn, createRow, getColumnIndex, isDistributed, nodeFilter, toStringSafe, uuidFromValue, valueTimestampFromMillisprotected final SystemView<R> sysView
protected SystemViewLocal(org.apache.ignite.internal.GridKernalContext ctx,
SystemView<R> sysView,
String[] indexes)
ctx - Kernal context.sysView - View to export.indexes - Indexed fields.public SystemViewLocal(org.apache.ignite.internal.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 org.apache.ignite.internal.processors.query.h2.sys.view.SqlSystemViewgetRowCount in class org.apache.ignite.internal.processors.query.h2.sys.view.SqlAbstractSystemViewpublic long getRowCountApproximation()
getRowCountApproximation in interface org.apache.ignite.internal.processors.query.h2.sys.view.SqlSystemViewgetRowCountApproximation in class org.apache.ignite.internal.processors.query.h2.sys.view.SqlAbstractSystemViewpublic boolean canGetRowCount()
canGetRowCount in interface org.apache.ignite.internal.processors.query.h2.sys.view.SqlSystemViewcanGetRowCount in class org.apache.ignite.internal.processors.query.h2.sys.view.SqlAbstractSystemView
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020