org.teiid.connector.language
Interface IExpression

All Superinterfaces:
ILanguageObject
All Known Subinterfaces:
IAggregate, IElement, IFunction, ILiteral, IScalarSubquery, ISearchedCaseExpression

public interface IExpression
extends ILanguageObject

Represents an expression in the language. Subinterfaces define specific types of expressions, such as literal values, element references, and functions.


Method Summary
 java.lang.Class getType()
          Determine the type returned by this expression.
 void setType(java.lang.Class type)
          Set the type returned by this expression.
 
Methods inherited from interface org.teiid.connector.language.ILanguageObject
acceptVisitor
 

Method Detail

getType

java.lang.Class getType()
Determine the type returned by this expression. The connector should return an object of this type if this expression is used in a SELECT clause.

Returns:
The type, as defined by a Java class

setType

void setType(java.lang.Class type)
Set the type returned by this expression. The connector should return an object of this type if this expression is used in a SELECT clause.

Parameters:
type - The type, as defined by a Java class


Copyright © 2009. All Rights Reserved.