|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eigenbase.sql.SqlOperator
org.eigenbase.sql.SqlSpecialOperator
org.eigenbase.sql.SqlFunctionalOperator
org.eigenbase.sql.SqlUnnestOperator
public class SqlUnnestOperator
The UNNEST
operator.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/sql/SqlUnnestOperator.java#9 $
- Author:
- Wael Chatila
Field Summary
Fields inherited from class org.eigenbase.sql.SqlOperator
MaxPrec, NL
Constructor Summary
SqlUnnestOperator()
Method Summary
boolean
argumentMustBeScalar(int ordinal)
Returns whether the ordinal
th argument to this operator must
be scalar (as opposed to a query).
RelDataType
inferReturnType(SqlOperatorBinding opBinding)
Infers the return type of an invocation of this operator; only called
after the number and types of operands have already been validated.
Methods inherited from class org.eigenbase.sql.SqlFunctionalOperator
unparse
Methods inherited from class org.eigenbase.sql.SqlSpecialOperator
getSyntax, reduceExpr
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Constructor Detail
SqlUnnestOperator
public SqlUnnestOperator()
Method Detail
inferReturnType
public RelDataType inferReturnType(SqlOperatorBinding opBinding)
- Description copied from class:
SqlOperator
- Infers the return type of an invocation of this operator; only called
after the number and types of operands have already been validated.
Subclasses must either override this method or supply an instance of
SqlReturnTypeInference
to the constructor.
- Overrides:
inferReturnType
in class SqlOperator
- Parameters:
opBinding
- description of invocation (not necessarily a SqlCall
)
- Returns:
- inferred return type
argumentMustBeScalar
public boolean argumentMustBeScalar(int ordinal)
- Description copied from class:
SqlOperator
- Returns whether the
ordinal
th argument to this operator must
be scalar (as opposed to a query).
If true (the default), the validator will attempt to convert the
argument into a scalar subquery, which must have one column and return at
most one row.
Operators such as SELECT
and EXISTS
override
this method.
- Overrides:
argumentMustBeScalar
in class SqlOperator
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD