SAP J2EE Engine

Version 6.40


com.sapportals.connector.execution.objects.language
Interface IOrderBy

All Superinterfaces:
ILanguageObject

public interface IOrderBy
extends ILanguageObject

This interface holds all the symbols of a query GROUP BY clause. The symbols contain within the GROUP BY clause are attributes or aliases.

Version:
1.0

Field Summary
static boolean ASC
          Constant for the ascending value
static boolean DESC
          Constant for the descending value
 
Method Summary
 boolean getOrderType(int index)
          Returns the sort order at the specified index
 IAttributeSymbol getSymbol(int index)
          Returns the select symbol at the specified index.
 int getSymbolCount()
          Returns the number of select symbols in the select clause.
 java.util.Iterator getSymbols()
          Returns an ordered Iterator of IAttributeSymbol in the SELECT clause.
 java.util.Iterator getTypes()
          Returns an ordered Iterator of sort direction for each order as Boolean
 

Field Detail

ASC

public static final boolean ASC
Constant for the ascending value

DESC

public static final boolean DESC
Constant for the descending value
Method Detail

getOrderType

public boolean getOrderType(int index)
Returns the sort order at the specified index
Returns:
boolean

getTypes

public java.util.Iterator getTypes()
Returns an ordered Iterator of sort direction for each order as Boolean
Returns:
boolean

getSymbolCount

public int getSymbolCount()
Returns the number of select symbols in the select clause.
Returns:
int

getSymbol

public IAttributeSymbol getSymbol(int index)
Returns the select symbol at the specified index.
Parameters:
index - the symbol index
Returns:
ISelectSymbol

getSymbols

public java.util.Iterator getSymbols()
Returns an ordered Iterator of IAttributeSymbol in the SELECT clause.
Returns:
Iterator

SAP J2EE Engine

Version 6.40


Copyright © 2001-2005 SAP AG. All Rights Reserved.