org.h2gis.drivers.file_table
Class DummyIndex
java.lang.Object
org.h2.engine.DbObjectBase
org.h2.schema.SchemaObjectBase
org.h2.index.BaseIndex
org.h2gis.drivers.file_table.DummyIndex
- All Implemented Interfaces:
- org.h2.engine.DbObject, org.h2.index.Index, org.h2.schema.SchemaObject
public class DummyIndex
- extends org.h2.index.BaseIndex
When linked files are not available, this table index defines an empty table
- Author:
- Nicolas Fortin
| Fields inherited from class org.h2.index.BaseIndex |
columnIds, columns, indexColumns, indexType, isMultiVersion, table |
| Fields inherited from class org.h2.engine.DbObjectBase |
comment, database, trace |
| Fields inherited from interface org.h2.engine.DbObject |
AGGREGATE, COMMENT, CONSTANT, CONSTRAINT, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, TABLE_OR_VIEW, TRIGGER, USER, USER_DATATYPE |
|
Constructor Summary |
DummyIndex(org.h2.table.Table table,
int id)
|
|
Method Summary |
void |
add(org.h2.engine.Session session,
org.h2.result.Row row)
|
boolean |
canGetFirstOrLast()
|
void |
checkRename()
|
void |
close(org.h2.engine.Session session)
|
org.h2.index.Cursor |
find(org.h2.engine.Session session,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
|
org.h2.index.Cursor |
findFirstOrLast(org.h2.engine.Session session,
boolean first)
|
double |
getCost(org.h2.engine.Session session,
int[] masks,
org.h2.table.TableFilter filter,
org.h2.result.SortOrder sortOrder)
|
long |
getDiskSpaceUsed()
|
long |
getRowCount(org.h2.engine.Session session)
|
long |
getRowCountApproximation()
|
boolean |
needRebuild()
|
void |
remove(org.h2.engine.Session session)
|
void |
remove(org.h2.engine.Session session,
org.h2.result.Row row)
|
void |
truncate(org.h2.engine.Session session)
|
| Methods inherited from class org.h2.index.BaseIndex |
canFindNext, canScan, checkIndexColumnTypes, commit, compareRows, containsNullAndAllowMultipleNull, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, getType, initBaseIndex, isHidden, isRowIdIndex, removeChildrenAndResources, setSortedInsertMode |
| Methods inherited from class org.h2.schema.SchemaObjectBase |
getSchema, getSQL, initSchemaObjectBase |
| Methods inherited from class org.h2.engine.DbObjectBase |
getChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, rename, setComment, setModified, setObjectName, setTemporary, toString |
| Methods inherited from interface org.h2.schema.SchemaObject |
getSchema |
| Methods inherited from interface org.h2.engine.DbObject |
getChildren, getComment, getDatabase, getId, getName, getSQL, isTemporary, rename, setComment, setTemporary |
DummyIndex
public DummyIndex(org.h2.table.Table table,
int id)
checkRename
public void checkRename()
- Specified by:
checkRename in interface org.h2.engine.DbObject- Specified by:
checkRename in class org.h2.engine.DbObjectBase
close
public void close(org.h2.engine.Session session)
add
public void add(org.h2.engine.Session session,
org.h2.result.Row row)
remove
public void remove(org.h2.engine.Session session,
org.h2.result.Row row)
find
public org.h2.index.Cursor find(org.h2.engine.Session session,
org.h2.result.SearchRow first,
org.h2.result.SearchRow last)
getCost
public double getCost(org.h2.engine.Session session,
int[] masks,
org.h2.table.TableFilter filter,
org.h2.result.SortOrder sortOrder)
remove
public void remove(org.h2.engine.Session session)
truncate
public void truncate(org.h2.engine.Session session)
canGetFirstOrLast
public boolean canGetFirstOrLast()
findFirstOrLast
public org.h2.index.Cursor findFirstOrLast(org.h2.engine.Session session,
boolean first)
needRebuild
public boolean needRebuild()
getRowCount
public long getRowCount(org.h2.engine.Session session)
getRowCountApproximation
public long getRowCountApproximation()
getDiskSpaceUsed
public long getDiskSpaceUsed()
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.