|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.expression.Expression
org.h2.expression.Function
org.h2.expression.TableFunction
public class TableFunction
Implementation of the functions TABLE(..) and TABLE_DISTINCT(..).
| Field Summary |
|---|
| Method Summary | |
|---|---|
protected void |
checkParameterCount(int len)
Check if the parameter count is correct. |
Expression[] |
getExpressionColumns(Session session)
If this expression consists of column expressions it should return them. |
java.lang.String |
getName()
Get the name of the function. |
long |
getRowCount()
|
java.lang.String |
getSQL()
Get the SQL statement of this expression. |
Value |
getValue(Session session)
Return the resulting value for the current row. |
ValueResultSet |
getValueForColumnList(Session session,
Expression[] nullArgs)
Get an empty result set with the column names set. |
void |
setColumns(java.util.ArrayList<Column> columns)
|
| Methods inherited from class org.h2.expression.Function |
|---|
doneWithParameters, getArgs, getCost, getDisplaySize, getFunction, getFunctionType, getParameterCount, getPrecision, getScale, getType, isDatePart, isDeterministic, isEverything, isFast, mapColumns, optimize, setDataType, setEvaluatable, setParameter, updateAggregate |
| Methods inherited from class org.h2.expression.Expression |
|---|
addFilterConditions, createIndexConditions, getAlias, getBooleanValue, getColumnName, getExpressionColumns, getNonAliasExpression, getNotIfPossible, getNullable, getSchemaName, getTableAlias, getTableName, isAutoIncrement, isConstant, isValueSet, isWildcard, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Value getValue(Session session)
Expression
getValue in class Functionsession - the session
protected void checkParameterCount(int len)
Function
checkParameterCount in class Functionlen - the number of parameters setpublic java.lang.String getSQL()
Expression
getSQL in interface FunctionCallgetSQL in class Functionpublic java.lang.String getName()
FunctionCall
getName in interface FunctionCallgetName in class Function
public ValueResultSet getValueForColumnList(Session session,
Expression[] nullArgs)
FunctionCall
getValueForColumnList in interface FunctionCallgetValueForColumnList in class Functionsession - the sessionnullArgs - the argument list (some arguments may be null)
public void setColumns(java.util.ArrayList<Column> columns)
public long getRowCount()
public Expression[] getExpressionColumns(Session session)
Expression
getExpressionColumns in class Expressionsession - the session
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||