Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.domain.xrefs.expression
Class Expression

java.lang.Object
  extended by oracle.odi.domain.xrefs.expression.Expression


public final class Expression
extends java.lang.Object

An Expression is an object level expression that may contains references to ODI objects as CrossRefs. An Expression is typically used within SQL expressions / queries held by ODI objects.

In order to create an Expression instance, it is recommended to use ExpressionStringBuilder or ExpressionStringParser. The public constructor defined by this class is used internally and shouldn't be used by application code.

Since:
11.1.1.3.0
See Also:
CrossRef

Nested Class Summary
static class Expression.SqlGroupType
          Type safe enumeration that represents SQL group function type an Expression can hold.

 

Constructor Summary
Expression(java.lang.String pExpression, CrossRef<?>[] pCrossRefs, Expression.SqlGroupType pSqlGroupType)
          Construct a new Expression.

 

Method Summary
 boolean equals(java.lang.Object pObj)
           
 java.lang.String getAsString()
          Obtains the string value of this expression.
 CrossRef<?>[] getCrossRefs()
          Obtains the CrossRefs this expression defines, or null if none.
 Expression.SqlGroupType getSqlGroupType()
          Returns the SQL group type of this expression.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

Expression

public Expression(java.lang.String pExpression,
                  CrossRef<?>[] pCrossRefs,
                  Expression.SqlGroupType pSqlGroupType)
Construct a new Expression.

This constructor should NOT be used by application code. It is internally used within the implementation. Consider the classes ExpressionStringBuilder and ExpressionStringParser as the convenient way to create a new Expression.

Parameters:
pExpression - the expression text value
pCrossRefs - the CrossRefs of the expression
pSqlGroupType - the SQL group type of the expression

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAsString

public java.lang.String getAsString()
Obtains the string value of this expression.
Returns:
a String representing this expression object.

getSqlGroupType

public Expression.SqlGroupType getSqlGroupType()
Returns the SQL group type of this expression.
Returns:
SQL group type of this expression

getCrossRefs

public CrossRef<?>[] getCrossRefs()
Obtains the CrossRefs this expression defines, or null if none. The CrossRefs are ordered by their position in the expression.
Returns:
an array of CrossRefs ordered by their position in the expression

equals

public boolean equals(java.lang.Object pObj)
Overrides:
equals in class java.lang.Object

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.