org.eigenbase.sql.fun
Class SqlCollectionTableOperator

java.lang.Object
  extended by org.eigenbase.sql.SqlOperator
      extended by org.eigenbase.sql.SqlSpecialOperator
          extended by org.eigenbase.sql.SqlFunctionalOperator
              extended by org.eigenbase.sql.fun.SqlCollectionTableOperator

public class SqlCollectionTableOperator
extends SqlFunctionalOperator

SqlCollectionTableOperator is the "table function derived table" operator. It converts a table-valued function into a relation, e.g. "SELECT * FROM TABLE(ramp(5))".

This operator has function syntax (with one argument), whereas SqlStdOperatorTable.explicitTableOperator is a prefix operator.

Author:
jhyde, stephan

Field Summary
private  int modality
           
static int MODALITY_RELATIONAL
           
static int MODALITY_STREAM
           
 
Fields inherited from class org.eigenbase.sql.SqlOperator
MaxPrec, NL
 
Constructor Summary
SqlCollectionTableOperator(String name, int modality)
           
 
Method Summary
 int getModality()
           
 
Methods inherited from class org.eigenbase.sql.SqlFunctionalOperator
unparse
 
Methods inherited from class org.eigenbase.sql.SqlSpecialOperator
getSyntax, reduceExpr
 
Methods inherited from class org.eigenbase.sql.SqlOperator
acceptCall, acceptCall, adjustType, argumentMustBeScalar, checkOperandCount, checkOperandTypes, createCall, createCall, createCall, createCall, deriveType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isName, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateCall, validateOperands
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MODALITY_RELATIONAL

public static final int MODALITY_RELATIONAL
See Also:
Constant Field Values

MODALITY_STREAM

public static final int MODALITY_STREAM
See Also:
Constant Field Values

modality

private final int modality
Constructor Detail

SqlCollectionTableOperator

public SqlCollectionTableOperator(String name,
                                  int modality)
Method Detail

getModality

public int getModality()