public abstract class SqlAbstractSystemView extends Object implements SqlSystemView
| Modifier and Type | Field and Description |
|---|---|
protected org.gridgain.internal.h2.table.Column[] |
cols
Columns.
|
protected GridKernalContext |
ctx
Grid context.
|
protected static long |
DEFAULT_ROW_COUNT_APPROXIMATION
Default row count approximation.
|
protected String |
desc
Description.
|
protected String[] |
indexes
Indexed column names.
|
protected IgniteLogger |
log
Logger.
|
protected String |
tblName
Table name.
|
| Constructor and Description |
|---|
SqlAbstractSystemView(String tblName,
String desc,
GridKernalContext ctx,
org.gridgain.internal.h2.table.Column[] cols,
String[] indexes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGetRowCount()
Check if the row count can be retrieved quickly.
|
org.gridgain.internal.h2.table.Column[] |
getColumns()
Gets columns.
|
String |
getCreateSQL()
Gets SQL script for creating table.
|
String |
getDescription()
Gets description.
|
String[] |
getIndexes()
Gets indexed column names.
|
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).
|
String |
getTableName()
Gets table name.
|
protected static org.gridgain.internal.h2.table.Column |
newColumn(String name) |
protected static org.gridgain.internal.h2.table.Column |
newColumn(String name,
int type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRows, isDistributedprotected static final long DEFAULT_ROW_COUNT_APPROXIMATION
protected final String tblName
protected final String desc
protected final GridKernalContext ctx
protected final IgniteLogger log
protected final org.gridgain.internal.h2.table.Column[] cols
protected final String[] indexes
public SqlAbstractSystemView(String tblName, String desc, GridKernalContext ctx, org.gridgain.internal.h2.table.Column[] cols, String[] indexes)
tblName - Table name.desc - Descriptor.ctx - Context.cols - Columns.indexes - Indexes.protected static org.gridgain.internal.h2.table.Column newColumn(String name)
name - Name.protected static org.gridgain.internal.h2.table.Column newColumn(String name, int type)
name - Name.type - Type.public String getTableName()
getTableName in interface SqlSystemViewpublic String getDescription()
getDescription in interface SqlSystemViewpublic org.gridgain.internal.h2.table.Column[] getColumns()
getColumns in interface SqlSystemViewpublic String[] getIndexes()
getIndexes in interface SqlSystemViewpublic long getRowCount()
getRowCount in interface SqlSystemViewpublic long getRowCountApproximation()
getRowCountApproximation in interface SqlSystemViewpublic boolean canGetRowCount()
canGetRowCount in interface SqlSystemViewpublic String getCreateSQL()
getCreateSQL in interface SqlSystemView
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025