public abstract class SqlAbstractLocalSystemView extends SqlAbstractSystemView
cols, ctx, DEFAULT_ROW_COUNT_APPROXIMATION, desc, indexes, log, tblName| Constructor and Description |
|---|
SqlAbstractLocalSystemView(String tblName,
String desc,
GridKernalContext ctx,
org.h2.table.Column... cols) |
SqlAbstractLocalSystemView(String tblName,
String desc,
GridKernalContext ctx,
String[] indexes,
org.h2.table.Column... cols) |
| Modifier and Type | Method and Description |
|---|---|
protected SqlSystemViewColumnCondition |
conditionForColumn(String colName,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
Parse condition for column.
|
protected org.h2.result.Row |
createRow(org.h2.engine.Session ses,
long key,
Object... data) |
protected int |
getColumnIndex(String colName)
Gets column index by name.
|
boolean |
isDistributed() |
protected static UUID |
uuidFromValue(org.h2.value.Value val)
Converts value to UUID safe (suppressing exceptions).
|
protected static org.h2.value.Value |
valueTimeFromMillis(long millis)
Converts millis to ValueTime
|
protected static org.h2.value.Value |
valueTimestampFromMillis(long millis)
Converts millis to ValueTimestamp
|
canGetRowCount, getColumns, getCreateSQL, getDescription, getIndexes, getRowCount, getTableName, newColumn, newColumnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRowspublic SqlAbstractLocalSystemView(String tblName, String desc, GridKernalContext ctx, String[] indexes, org.h2.table.Column... cols)
tblName - Table name.desc - Description.ctx - Context.indexes - Indexed columns.cols - Columns.public SqlAbstractLocalSystemView(String tblName, String desc, GridKernalContext ctx, org.h2.table.Column... cols)
tblName - Table name.desc - Description.ctx - Context.cols - Columns.protected org.h2.result.Row createRow(org.h2.engine.Session ses,
long key,
Object... data)
ses - Session.key - Key.data - Data for each column.protected int getColumnIndex(String colName)
colName - Column name.public boolean isDistributed()
True if view is distributed.protected SqlSystemViewColumnCondition conditionForColumn(String colName, org.h2.result.SearchRow first, org.h2.result.SearchRow last)
colName - Column name.first - First.last - Last.protected static UUID uuidFromValue(org.h2.value.Value val)
val - UUID.protected static org.h2.value.Value valueTimeFromMillis(long millis)
millis - Millis.protected static org.h2.value.Value valueTimestampFromMillis(long millis)
millis - Millis.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019