Class GridH2MetaTable
- java.lang.Object
-
- org.h2.engine.DbObjectBase
-
- org.h2.schema.SchemaObjectBase
-
- org.h2.table.Table
-
- org.h2.table.TableBase
-
- org.apache.ignite.internal.processors.query.h2.opt.GridH2MetaTable
-
- All Implemented Interfaces:
org.h2.engine.DbObject,org.h2.schema.SchemaObject
public class GridH2MetaTable extends org.h2.table.TableBaseMeta table.
-
-
Constructor Summary
Constructors Constructor Description GridH2MetaTable(org.h2.command.ddl.CreateTableData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.h2.index.IndexaddIndex(org.h2.engine.Session session, String indexName, int indexId, org.h2.table.IndexColumn[] cols, org.h2.index.IndexType indexType, boolean create, String indexComment)voidaddRow(org.h2.engine.Session session, org.h2.result.Row row)booleancanDrop()booleancanGetRowCount()voidcheckRename()voidcheckSupportAlter()voidclose(org.h2.engine.Session session)longgetDiskSpaceUsed()ArrayList<org.h2.index.Index>getIndexes()longgetMaxDataModificationId()longgetRowCount(org.h2.engine.Session session)longgetRowCountApproximation()org.h2.index.IndexgetScanIndex(org.h2.engine.Session session)org.h2.table.TableTypegetTableType()org.h2.result.RowgetTemplateRow()org.h2.result.SearchRowgetTemplateSimpleRow(boolean singleColumn)org.h2.index.IndexgetUniqueIndex()booleanisDeterministic()booleanisLockedExclusively()booleanisLockedExclusivelyBy(org.h2.engine.Session s)booleanlock(org.h2.engine.Session session, boolean exclusive, boolean forceLockEvenInMvcc)voidremoveRow(org.h2.engine.Session session, org.h2.result.Row row)voidtruncate(org.h2.engine.Session session)voidunlock(org.h2.engine.Session s)-
Methods inherited from class org.h2.table.Table
addConstraint, addDependencies, addDependentView, addSequence, addSynonym, addTrigger, canReference, canTruncate, checkDeadlock, checkWritingAllowed, commit, compareTypeSafe, 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, getType, hasSelectTrigger, isHidden, isMVStore, isPersistData, isPersistIndexes, isQueryComparable, isTableExpression, isView, removeChildrenAndResources, removeConstraint, removeDependentView, removeIndex, removeIndexOrTransferOwnership, removeSequence, removeSynonym, removeTrigger, rename, renameColumn, setCheckForeignKeyConstraints, setColumns, setHidden, setOnCommitDrop, setOnCommitTruncate, setTableExpression, updateRows, validateConvertUpdateSequence
-
Methods inherited from class org.h2.engine.DbObjectBase
getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, isValid, setComment, setModified, setObjectName, setTemporary, toString
-
-
-
-
Method Detail
-
getTemplateRow
public org.h2.result.Row getTemplateRow()
- Overrides:
getTemplateRowin classorg.h2.table.Table
-
getTemplateSimpleRow
public org.h2.result.SearchRow getTemplateSimpleRow(boolean singleColumn)
- Overrides:
getTemplateSimpleRowin classorg.h2.table.Table
-
lock
public boolean lock(org.h2.engine.Session session, boolean exclusive, boolean forceLockEvenInMvcc)- Specified by:
lockin classorg.h2.table.Table
-
unlock
public void unlock(org.h2.engine.Session s)
- Specified by:
unlockin classorg.h2.table.Table
-
close
public void close(org.h2.engine.Session session)
- Specified by:
closein classorg.h2.table.Table
-
addIndex
public org.h2.index.Index addIndex(org.h2.engine.Session session, String indexName, int indexId, org.h2.table.IndexColumn[] cols, org.h2.index.IndexType indexType, boolean create, String indexComment)- Specified by:
addIndexin classorg.h2.table.Table
-
removeRow
public void removeRow(org.h2.engine.Session session, org.h2.result.Row row)- Specified by:
removeRowin classorg.h2.table.Table
-
truncate
public void truncate(org.h2.engine.Session session)
- Specified by:
truncatein classorg.h2.table.Table
-
addRow
public void addRow(org.h2.engine.Session session, org.h2.result.Row row)- Specified by:
addRowin classorg.h2.table.Table
-
checkSupportAlter
public void checkSupportAlter()
- Specified by:
checkSupportAlterin classorg.h2.table.Table
-
getTableType
public org.h2.table.TableType getTableType()
- Specified by:
getTableTypein classorg.h2.table.Table
-
getScanIndex
public org.h2.index.Index getScanIndex(org.h2.engine.Session session)
- Specified by:
getScanIndexin classorg.h2.table.Table
-
getUniqueIndex
public org.h2.index.Index getUniqueIndex()
- Specified by:
getUniqueIndexin classorg.h2.table.Table
-
getIndexes
public ArrayList<org.h2.index.Index> getIndexes()
- Specified by:
getIndexesin classorg.h2.table.Table
-
isLockedExclusively
public boolean isLockedExclusively()
- Specified by:
isLockedExclusivelyin classorg.h2.table.Table
-
isLockedExclusivelyBy
public boolean isLockedExclusivelyBy(org.h2.engine.Session s)
- Overrides:
isLockedExclusivelyByin classorg.h2.table.Table
-
getMaxDataModificationId
public long getMaxDataModificationId()
- Specified by:
getMaxDataModificationIdin classorg.h2.table.Table
-
isDeterministic
public boolean isDeterministic()
- Specified by:
isDeterministicin classorg.h2.table.Table
-
canGetRowCount
public boolean canGetRowCount()
- Specified by:
canGetRowCountin classorg.h2.table.Table
-
canDrop
public boolean canDrop()
- Specified by:
canDropin classorg.h2.table.Table
-
getRowCount
public long getRowCount(org.h2.engine.Session session)
- Specified by:
getRowCountin classorg.h2.table.Table
-
getRowCountApproximation
public long getRowCountApproximation()
- Specified by:
getRowCountApproximationin classorg.h2.table.Table
-
getDiskSpaceUsed
public long getDiskSpaceUsed()
- Specified by:
getDiskSpaceUsedin classorg.h2.table.Table
-
checkRename
public void checkRename()
- Specified by:
checkRenamein interfaceorg.h2.engine.DbObject- Specified by:
checkRenamein classorg.h2.engine.DbObjectBase
-
-