Top Description Constructors Methods
org.h2.table

public abstract Class VirtualConstructedTable

extends VirtualTable
Class Inheritance
Known Direct Subclasses
org.h2.table.DataChangeDeltaTable, org.h2.table.FunctionTable, org.h2.table.ShadowTable, org.h2.table.TableValueConstructorTable
Imports
org.h2.engine.SessionLocal, org.h2.index.Index, .VirtualConstructedTableIndex, org.h2.result.ResultInterface, org.h2.schema.Schema

A base class for virtual tables that construct all their content at once.

Constructor Summary

AccessConstructor and Description
protected
VirtualConstructedTable(Schema schema, int id, String name)

Method Summary

Modifier and TypeMethod and Description
public long
getMaxDataModificationId()

Implements abstract org.h2.table.Table.getMaxDataModificationId.

Get the last data modification id.

public abstract ResultInterface

Returns:

the result
getResult
(SessionLocal
the session
session
)

Read the rows from the table.

public Index
getScanIndex(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.getScanIndex.

Get the scan index to iterate through all rows.

Inherited from org.h2.table.VirtualTable:
addIndexaddRowcanDropcanReferencecheckRenamecheckSupportAlterclosegetCreateSQLgetIndexesgetSQLgetTableTypeisInsertableremoveRowtruncate

Constructor Detail

VirtualConstructedTableback to summary
protected VirtualConstructedTable(Schema schema, int id, String name)

Method Detail

getMaxDataModificationIdback to summary
public long getMaxDataModificationId()

Implements abstract org.h2.table.Table.getMaxDataModificationId.

Doc from org.h2.table.Table.getMaxDataModificationId.

Get the last data modification id.

Returns:long

the modification id

Annotations
@Override
getResultback to summary
public abstract ResultInterface getResult(SessionLocal session)

Read the rows from the table.

Parameters
session:SessionLocal

the session

Returns:ResultInterface

the result

getScanIndexback to summary
public Index getScanIndex(SessionLocal session)

Implements abstract org.h2.table.Table.getScanIndex.

Doc from org.h2.table.Table.getScanIndex.

Get the scan index to iterate through all rows.

Parameters
session:SessionLocal

the session

Returns:Index

the index

Annotations
@Override