Top Description Fields Constructors Methods
org.h2.expression.function.table

public final Class LinkSchemaFunction

extends TableFunction
Class Inheritance
Imports
java.sql.Connection, .ResultSet, .SQLException, .Statement, org.h2.api.ErrorCode, org.h2.engine.SessionLocal, org.h2.expression.Expression, org.h2.message.DbException, org.h2.result.ResultInterface, .SimpleResult, org.h2.util.JdbcUtils, .StringUtils, org.h2.value.TypeInfo, .ValueVarchar

A LINK_SCHEMA function.

Field Summary

Inherited from org.h2.expression.function.table.TableFunction:
args

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public ResultInterface
getValue(SessionLocal
the session
session
)

Implements abstract org.h2.expression.function.table.TableFunction.getValue.

Get a result with.

private String
getValue(SessionLocal session, int index)

public ResultInterface
getValueTemplate(SessionLocal
the session
session
)

Implements abstract org.h2.expression.function.table.TableFunction.getValueTemplate.

Get an empty result with the column names set.

public boolean
isDeterministic()

Implements abstract org.h2.expression.function.table.TableFunction.isDeterministic.

Whether the function always returns the same result for the same parameters.

public void
optimize(SessionLocal
the session
session
)

Overrides org.h2.expression.function.table.TableFunction.optimize.

Try to optimize this table function

Inherited from org.h2.expression.function.table.TableFunction:
addParameterdoneWithParametersgetSQL

Constructor Detail

LinkSchemaFunctionback to summary
public LinkSchemaFunction()

Method Detail

getNameback to summary
public String getName()

Implements org.h2.expression.function.NamedExpression.getName.

Doc from org.h2.expression.function.NamedExpression.getName.

Get the name.

Returns:String

the name in uppercase

Annotations
@Override
getValueback to summary
public ResultInterface getValue(SessionLocal session)

Implements abstract org.h2.expression.function.table.TableFunction.getValue.

Doc from org.h2.expression.function.table.TableFunction.getValue.

Get a result with.

Parameters
session:SessionLocal

the session

Returns:ResultInterface

the result

Annotations
@Override
getValueback to summary
private String getValue(SessionLocal session, int index)
getValueTemplateback to summary
public ResultInterface getValueTemplate(SessionLocal session)

Implements abstract org.h2.expression.function.table.TableFunction.getValueTemplate.

Doc from org.h2.expression.function.table.TableFunction.getValueTemplate.

Get an empty result with the column names set.

Parameters
session:SessionLocal

the session

Returns:ResultInterface

the empty result

Annotations
@Override
isDeterministicback to summary
public boolean isDeterministic()

Implements abstract org.h2.expression.function.table.TableFunction.isDeterministic.

Doc from org.h2.expression.function.table.TableFunction.isDeterministic.

Whether the function always returns the same result for the same parameters.

Returns:boolean

true if it does

Annotations
@Override
optimizeback to summary
public void optimize(SessionLocal session)

Overrides org.h2.expression.function.table.TableFunction.optimize.

Doc from org.h2.expression.function.table.TableFunction.optimize.

Try to optimize this table function

Parameters
session:SessionLocal

the session

Annotations
@Override