|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.util.ExpressionFactory
public class ExpressionFactory
Factory of expression instances for use in a
QuerySpecification.
Provides convenient methods to create expression instances.
| Constructor Summary | |
|---|---|
ExpressionFactory()
|
|
| Method Summary | |
|---|---|
static CustomAggregate |
createCustomAggregate(java.lang.String extensionId,
java.lang.String exprId)
Creates a custom aggregate expression instance of the specified aggregate expression contributed by the specified dynamicResultSet extension. |
static CustomAggregate |
createCustomAggregate(java.lang.String extensionId,
java.lang.String exprId,
ExpressionVariable variable)
Creates a custom aggregate expression instance, with the given expression variable, of the specified aggregate expression contributed by the specified dynamicResultSet extension. |
static CustomExpression |
createCustomExpression(java.lang.String extensionId,
java.lang.String exprId)
Creates a custom filter expression instance of the specified filter expression contributed by the specified dynamicResultSet extension. |
static CustomExpression |
createCustomExpression(java.lang.String extensionId,
java.lang.String exprId,
ExpressionVariable variable,
ExpressionArguments args)
Creates a custom filter expression instance, with the given expression context, of the specified filter expression contributed by the specified dynamicResultSet extension. |
static CustomFunction |
createCustomFunction(java.lang.String extensionId,
java.lang.String functionId)
Creates a custom function value expression instance of the specified function type contributed by the specified dynamicResultSet extension. |
static CombinedValueExpressionOperator |
getCombinedOperator(java.lang.String extensionId,
java.lang.String operatorId)
Obtains the instance of the specified combined operator type, as supported or contributed by the specified dynamicResultSet extension. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpressionFactory()
| Method Detail |
|---|
public static CustomExpression createCustomExpression(java.lang.String extensionId,
java.lang.String exprId)
throws java.lang.IllegalArgumentException,
OdaException
extensionId - unique id of an extension that implements the dynamicResultSet extension pointexprId - id of a custom filter expression
java.lang.IllegalArgumentException - if the specified extension and/or expression are not valid
OdaException
public static CustomExpression createCustomExpression(java.lang.String extensionId,
java.lang.String exprId,
ExpressionVariable variable,
ExpressionArguments args)
throws java.lang.IllegalArgumentException,
OdaException
extensionId - unique id of an extension that implements the dynamicResultSet extension pointexprId - id of a custom filter expressionvariable - the expression variable to set on the created instance; may be nullargs - the expression arguments to set on the created instance; may be null
java.lang.IllegalArgumentException - if the specified extension and/or expression are not valid
OdaException
public static CustomAggregate createCustomAggregate(java.lang.String extensionId,
java.lang.String exprId)
throws java.lang.IllegalArgumentException,
OdaException
ResultProjection specification.
extensionId - unique id of an extension that implements the dynamicResultSet extension pointexprId - id of a custom filter expression
java.lang.IllegalArgumentException - if the specified extension and/or expression are not valid
OdaException
public static CustomAggregate createCustomAggregate(java.lang.String extensionId,
java.lang.String exprId,
ExpressionVariable variable)
throws java.lang.IllegalArgumentException,
OdaException
ResultProjection specification.
extensionId - unique id of an extension that implements the dynamicResultSet extension pointexprId - id of a custom filter expressionvariable - the input source variable to set on the created instance; may be null
java.lang.IllegalArgumentException - if the specified extension and/or expression are not valid
OdaException
public static CombinedValueExpressionOperator getCombinedOperator(java.lang.String extensionId,
java.lang.String operatorId)
throws java.lang.IllegalArgumentException,
OdaException
CombinedValueExpression.
extensionId - unique id of an extension that implements the dynamicResultSet extension pointoperatorId - the id of a value expression combined operator type
java.lang.IllegalArgumentException - if the specified extension and/or operator are not valid
OdaException
public static CustomFunction createCustomFunction(java.lang.String extensionId,
java.lang.String functionId)
throws java.lang.IllegalArgumentException,
OdaException
extensionId - unique id of an extension that implements the dynamicResultSet extension pointfunctionId - id of a custom function expression type
java.lang.IllegalArgumentException - if the specified extension and/or function ids are not valid
OdaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||