Top Description Constructors Methods
org.h2.table

public Class ShadowTable

extends VirtualConstructedTable
Class Inheritance
Imports
org.h2.engine.SessionLocal, org.h2.message.DbException, org.h2.result.ResultInterface, org.h2.schema.Schema

A temporary shadow table for recursive queries.

Constructor Summary

AccessConstructor and Description
public
ShadowTable(Schema schema, String name, Column[] columns)

Method Summary

Modifier and TypeMethod and Description
public boolean
canGetRowCount(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.canGetRowCount.

Check if the row count can be retrieved quickly.

public ResultInterface
getResult(SessionLocal
the session
session
)

Implements abstract org.h2.table.VirtualConstructedTable.getResult.

Read the rows from the table.

public long
getRowCount(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.getRowCount.

Get the row count for this table.

public long
getRowCountApproximation(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.getRowCountApproximation.

Get the approximated row count for this table.

public boolean
isDeterministic()

Implements abstract org.h2.table.Table.isDeterministic.

Check if the table is deterministic.

Inherited from org.h2.table.VirtualConstructedTable:
getMaxDataModificationIdgetScanIndex

Constructor Detail

ShadowTableback to summary
public ShadowTable(Schema schema, String name, Column[] columns)

Method Detail

canGetRowCountback to summary
public boolean canGetRowCount(SessionLocal session)

Implements abstract org.h2.table.Table.canGetRowCount.

Doc from org.h2.table.Table.canGetRowCount.

Check if the row count can be retrieved quickly.

Parameters
session:SessionLocal

the session

Returns:boolean

true if it can

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

Implements abstract org.h2.table.VirtualConstructedTable.getResult.

Doc from org.h2.table.VirtualConstructedTable.getResult.

Read the rows from the table.

Parameters
session:SessionLocal

the session

Returns:ResultInterface

the result

Annotations
@Override
getRowCountback to summary
public long getRowCount(SessionLocal session)

Implements abstract org.h2.table.Table.getRowCount.

Doc from org.h2.table.Table.getRowCount.

Get the row count for this table.

Parameters
session:SessionLocal

the session

Returns:long

the row count

Annotations
@Override
getRowCountApproximationback to summary
public long getRowCountApproximation(SessionLocal session)

Implements abstract org.h2.table.Table.getRowCountApproximation.

Doc from org.h2.table.Table.getRowCountApproximation.

Get the approximated row count for this table.

Parameters
session:SessionLocal

the session

Returns:long

the approximated row count

Annotations
@Override
isDeterministicback to summary
public boolean isDeterministic()

Implements abstract org.h2.table.Table.isDeterministic.

Doc from org.h2.table.Table.isDeterministic.

Check if the table is deterministic.

Returns:boolean

true if it is

Annotations
@Override