Interface SqlSystemView
-
- All Known Implementing Classes:
FiltrableSystemViewLocal,SqlAbstractLocalSystemView,SqlAbstractSystemView,SystemViewLocal
public interface SqlSystemViewSQL system view.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanGetRowCount()Check if the row count can be retrieved quickly.org.h2.table.Column[]getColumns()Gets columns.StringgetCreateSQL()Gets SQL script for creating table.StringgetDescription()Gets description.String[]getIndexes()Gets indexed column names.longgetRowCount()Gets row count for this view (or approximated row count, if real value can't be calculated quickly).longgetRowCountApproximation()Gets approximated row count (required to build execution plan).Iterator<org.h2.result.Row>getRows(org.h2.engine.Session ses, org.h2.result.SearchRow first, org.h2.result.SearchRow last)Gets view content.StringgetTableName()Gets table name.booleanisDistributed()
-
-
-
Method Detail
-
getTableName
String getTableName()
Gets table name.
-
getDescription
String getDescription()
Gets description.
-
getColumns
org.h2.table.Column[] getColumns()
Gets columns.
-
getIndexes
String[] getIndexes()
Gets indexed column names.
-
getRows
Iterator<org.h2.result.Row> getRows(org.h2.engine.Session ses, org.h2.result.SearchRow first, org.h2.result.SearchRow last)
Gets view content.- Parameters:
ses- Session.first- First.last- Last.
-
getRowCount
long getRowCount()
Gets row count for this view (or approximated row count, if real value can't be calculated quickly).
-
getRowCountApproximation
long getRowCountApproximation()
Gets approximated row count (required to build execution plan).
-
canGetRowCount
boolean canGetRowCount()
Check if the row count can be retrieved quickly.- Returns:
- true if it can
-
getCreateSQL
String getCreateSQL()
Gets SQL script for creating table.
-
isDistributed
boolean isDistributed()
- Returns:
Trueif view is distributed.
-
-