public class ReduceTable
extends org.gridgain.internal.h2.table.TableBase
ReduceTableWrapper instead
and set real ReduceTable through thread-local during query execution. This allow us to have only
very limited number of physical tables in H2 for all user requests.| Constructor and Description |
|---|
ReduceTable(org.gridgain.internal.h2.command.ddl.CreateTableData data) |
| Modifier and Type | Method and Description |
|---|---|
org.gridgain.internal.h2.index.Index |
addIndex(org.gridgain.internal.h2.engine.Session session,
String indexName,
int indexId,
org.gridgain.internal.h2.table.IndexColumn[] cols,
org.gridgain.internal.h2.index.IndexType indexType,
boolean create,
String indexComment) |
void |
addRow(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.Row row) |
boolean |
canDrop() |
boolean |
canGetRowCount() |
void |
checkRename() |
void |
checkSupportAlter() |
void |
close(org.gridgain.internal.h2.engine.Session ses) |
static H2ScanIndex<AbstractReduceIndexAdapter> |
createScanIndex(AbstractReduceIndexAdapter idx,
ReduceTable tbl) |
long |
getDiskSpaceUsed() |
ArrayList<org.gridgain.internal.h2.index.Index> |
getIndexes() |
long |
getMaxDataModificationId() |
org.apache.ignite.internal.processors.query.h2.twostep.Reducer |
getReducer() |
long |
getRowCount(org.gridgain.internal.h2.engine.Session ses) |
long |
getRowCountApproximation(org.gridgain.internal.h2.engine.Session ses) |
org.gridgain.internal.h2.index.Index |
getScanIndex(org.gridgain.internal.h2.engine.Session session) |
org.gridgain.internal.h2.table.TableType |
getTableType() |
org.gridgain.internal.h2.index.Index |
getUniqueIndex() |
void |
indexes(ArrayList<org.gridgain.internal.h2.index.Index> idxs) |
boolean |
isDeterministic() |
boolean |
isLockedExclusively() |
boolean |
lock(org.gridgain.internal.h2.engine.Session session,
boolean exclusive,
boolean force) |
void |
removeRow(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.Row row) |
void |
truncate(org.gridgain.internal.h2.engine.Session session) |
void |
unlock(org.gridgain.internal.h2.engine.Session s) |
getCreateSQL, getDropSQL, getMainIndexColumn, isGlobalTemporaryaddConstraint, addDependencies, addDependentView, addSequence, addSynonym, addTrigger, canReference, canTruncate, checkDeadlock, checkWritingAllowed, compareValues, createRow, doesColumnExist, dropMultipleColumnsConstraintsAndIndexes, findPrimaryKey, fire, fireAfterRow, fireBeforeRow, fireRow, getBestPlanItem, getCheckForeignKeyConstraints, getChildren, getColumn, getColumn, getColumns, getCompareMode, getConstraints, getCreateSQLForCopy, getDefaultValue, getDependentViews, getIndex, getIndexForColumn, getOnCommitDrop, getOnCommitTruncate, getOnUpdateValue, getPrimaryKey, getRow, getRowIdColumn, getScanIndex, getSearchRow, getTemplateRow, getTemplateSimpleRow, getType, getVisibleColums, hasSelectTrigger, isHidden, isLockedExclusivelyBy, isMVStore, isPersistData, isPersistIndexes, isQueryComparable, isTableExpression, isView, lockRow, removeChildrenAndResources, removeConstraint, removeDependentView, removeIndex, removeIndexOrTransferOwnership, removeSequence, removeSynonym, removeTrigger, rename, renameColumn, setCheckForeignKeyConstraints, setColumns, setHidden, setOnCommitDrop, setOnCommitTruncate, setTableExpression, updateRow, updateRows, validateConvertUpdateSequencegetSchema, getSQL, getSQLgetComment, getDatabase, getId, getModificationId, getName, invalidate, isTemporary, isValid, setComment, setModified, setObjectName, setTemporary, toStringpublic ReduceTable(org.gridgain.internal.h2.command.ddl.CreateTableData data)
data - Data.public void indexes(ArrayList<org.gridgain.internal.h2.index.Index> idxs)
idxs - Indexes.public org.apache.ignite.internal.processors.query.h2.twostep.Reducer getReducer()
public static H2ScanIndex<AbstractReduceIndexAdapter> createScanIndex(AbstractReduceIndexAdapter idx, ReduceTable tbl)
idx - Index.public boolean lock(org.gridgain.internal.h2.engine.Session session,
boolean exclusive,
boolean force)
lock in class org.gridgain.internal.h2.table.Tablepublic void close(org.gridgain.internal.h2.engine.Session ses)
close in class org.gridgain.internal.h2.table.Tablepublic void unlock(org.gridgain.internal.h2.engine.Session s)
unlock in class org.gridgain.internal.h2.table.Tablepublic org.gridgain.internal.h2.index.Index addIndex(org.gridgain.internal.h2.engine.Session session,
String indexName,
int indexId,
org.gridgain.internal.h2.table.IndexColumn[] cols,
org.gridgain.internal.h2.index.IndexType indexType,
boolean create,
String indexComment)
addIndex in class org.gridgain.internal.h2.table.Tablepublic void removeRow(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.Row row)
removeRow in class org.gridgain.internal.h2.table.Tablepublic void truncate(org.gridgain.internal.h2.engine.Session session)
truncate in class org.gridgain.internal.h2.table.Tablepublic void addRow(org.gridgain.internal.h2.engine.Session session,
org.gridgain.internal.h2.result.Row row)
addRow in class org.gridgain.internal.h2.table.Tablepublic void checkSupportAlter()
checkSupportAlter in class org.gridgain.internal.h2.table.Tablepublic org.gridgain.internal.h2.table.TableType getTableType()
getTableType in class org.gridgain.internal.h2.table.Tablepublic org.gridgain.internal.h2.index.Index getScanIndex(org.gridgain.internal.h2.engine.Session session)
getScanIndex in class org.gridgain.internal.h2.table.Tablepublic org.gridgain.internal.h2.index.Index getUniqueIndex()
getUniqueIndex in class org.gridgain.internal.h2.table.Tablepublic ArrayList<org.gridgain.internal.h2.index.Index> getIndexes()
getIndexes in class org.gridgain.internal.h2.table.Tablepublic boolean isLockedExclusively()
isLockedExclusively in class org.gridgain.internal.h2.table.Tablepublic long getMaxDataModificationId()
getMaxDataModificationId in class org.gridgain.internal.h2.table.Tablepublic boolean isDeterministic()
isDeterministic in class org.gridgain.internal.h2.table.Tablepublic boolean canGetRowCount()
canGetRowCount in class org.gridgain.internal.h2.table.Tablepublic boolean canDrop()
canDrop in class org.gridgain.internal.h2.table.Tablepublic long getRowCount(org.gridgain.internal.h2.engine.Session ses)
getRowCount in class org.gridgain.internal.h2.table.Tablepublic long getRowCountApproximation(org.gridgain.internal.h2.engine.Session ses)
getRowCountApproximation in class org.gridgain.internal.h2.table.Tablepublic long getDiskSpaceUsed()
getDiskSpaceUsed in class org.gridgain.internal.h2.table.Tablepublic void checkRename()
checkRename in interface org.gridgain.internal.h2.engine.DbObjectcheckRename in class org.gridgain.internal.h2.engine.DbObjectBase
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025