|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.sql.type.SqlTypeTransformCascade
public class SqlTypeTransformCascade
Strategy to infer the type of an operator call from the type of the operands
by using one SqlReturnTypeInference
rule and a combination of SqlTypeTransform
s
Field Summary | |
---|---|
private SqlReturnTypeInference |
rule
|
private SqlTypeTransform[] |
transforms
|
Constructor Summary | |
---|---|
SqlTypeTransformCascade(SqlReturnTypeInference rule,
SqlTypeTransform transform)
Creates a SqlTypeTransformCascade from a rule and a single transform. |
|
SqlTypeTransformCascade(SqlReturnTypeInference rule,
SqlTypeTransform[] transforms)
Creates a SqlTypeTransformCascade from a rule and an array of one or more transforms. |
|
SqlTypeTransformCascade(SqlReturnTypeInference rule,
SqlTypeTransform transform0,
SqlTypeTransform transform1)
Creates a SqlTypeTransformCascade from a rule and two transforms. |
Method Summary | |
---|---|
RelDataType |
inferReturnType(SqlOperatorBinding opBinding)
Infers the return type of a call to an SqlOperator . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final SqlReturnTypeInference rule
private final SqlTypeTransform[] transforms
Constructor Detail |
---|
public SqlTypeTransformCascade(SqlReturnTypeInference rule, SqlTypeTransform[] transforms)
public SqlTypeTransformCascade(SqlReturnTypeInference rule, SqlTypeTransform transform)
public SqlTypeTransformCascade(SqlReturnTypeInference rule, SqlTypeTransform transform0, SqlTypeTransform transform1)
Method Detail |
---|
public RelDataType inferReturnType(SqlOperatorBinding opBinding)
SqlReturnTypeInference
SqlOperator
.
inferReturnType
in interface SqlReturnTypeInference
opBinding
- description of operator binding
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |