org.teiid.connector.language
Interface IQueryCommand

All Superinterfaces:
ICommand, ILanguageObject
All Known Subinterfaces:
IQuery, ISetQuery

public interface IQueryCommand
extends ICommand


Method Summary
 java.lang.String[] getColumnNames()
          Get the column names of the output columns for this query
 java.lang.Class[] getColumnTypes()
          Get the column types of the output columns for this query
 ILimit getLimit()
          Get LIMIT clause, may be null.
 IOrderBy getOrderBy()
          Get ORDER BY clause, may be null.
 IQuery getProjectedQuery()
           
 void setLimit(ILimit limit)
          Set LIMIT clause, may be null.
 void setOrderBy(IOrderBy orderBy)
          Set ORDER BY clause, may be null.
 
Methods inherited from interface org.teiid.connector.language.ILanguageObject
acceptVisitor
 

Method Detail

setOrderBy

void setOrderBy(IOrderBy orderBy)
Set ORDER BY clause, may be null.

Parameters:
orderBy - An ORDER BY object

setLimit

void setLimit(ILimit limit)
Set LIMIT clause, may be null.

Parameters:
limit - A LIMIT object

getProjectedQuery

IQuery getProjectedQuery()

getOrderBy

IOrderBy getOrderBy()
Get ORDER BY clause, may be null.

Returns:
An ORDER BY object

getLimit

ILimit getLimit()
Get LIMIT clause, may be null.

Returns:
A LIMIT object

getColumnNames

java.lang.String[] getColumnNames()
Get the column names of the output columns for this query

Returns:
a String[] containing the column names
Since:
4.3

getColumnTypes

java.lang.Class[] getColumnTypes()
Get the column types of the output columns for this query

Returns:
a Class[] containing the column names
Since:
4.3


Copyright © 2009. All Rights Reserved.