***  This package is subject to change.  ***

Note:
Extension of the classes in this package is prohibited unless otherwise documented. Similarly, extension or implementation of the interfaces in this package is prohibited except as documented.

Package com.sas.iquery.metadata.expr.relational

Provides classes that are used to model relational database expressions which are typically used when defining the expression portion of filters.

See:
          Description

Class Summary
AbstractRelativeTimeValueExpression Base class used to model relative time-oriented value used within filter sub-expressions.
RelationalConditionalExpression Specifies an abstract class for code that is common to all the relational conditional expressions
RelativeDateValueExpression Models relative date-oriented values used within filter sub-expressions.
RelativeTimestampValueExpression Models relative timestamp-oriented values used within filter sub-expressions.
SimpleConditionalExpression_Between Models the BETWEEN simple conditional expression, which has the following abstract form:
       <WhatToCompare> [NOT] BETWEEN <LeftExpression> AND <RightExpression>
SimpleConditionalExpression_Comparison Models the comparison simple conditional expression, which has the following abstract form:
       <LeftExpression> <ComparisonOperator> <RightExpression>
SimpleConditionalExpression_Contains Models the CONTAINS simple conditional expression, which has the following abstract form:
       <WhatToCompare> CONTAINS <WhatToContain>
SimpleConditionalExpression_In Models the IN simple conditional expression, which has the following abstract form:
       <WhatToCompare> [NOT] IN (<ComparisonList>) .
SimpleConditionalExpression_Like Models the LIKE simple conditional expression, which has the following abstract form:
       <WhatToCompare> [NOT] LIKE <patternExpression>
SimpleConditionalExpression_TestForNull Models the testing for the NULL simple conditional expression, which has the following abstract form:
       <WhatToCompare> IS [NOT] NULL
TimeShiftAlignment Models the alignment of the ending date in a AbstractRelativeTimeValueExpression.
TimeShiftDirection Models the direction shifting of dates in a AbstractRelativeTimeValueExpression.
TimeShiftUnit Models the specific amounts to shift by when using relative time expressions.
 

Package com.sas.iquery.metadata.expr.relational Description

Provides classes that are used to model relational database expressions which are typically used when defining the expression portion of filters.

Many of the classes in this package provide functionality similar to using operators from the "language syntax" category of the server properties. The following code is an example of how you can access this alternative functionality:

     ServerProperties serverProp = dataSelection.getServerProperties();
     Function betweenFunction = serverProp.getFunctionByNameID(FunctionNameID.BETWEEN);
     // or to get the set operators/functions in the language syntax category
     // and to choose a function from ...
     List ftns = serverProp.getFunctions(Category.CAT_LANGUAGE_SYNTAX);
     // Now create the function call object defined to use the between function
     // and some set of arguments.
     FunctionCall ftnCall = new FunctionCall(betweenFunction, whatToCompare, leftExpr, rightExpr);
     // This ftnCall object is now roughly equivalent to using an instance of
     // the SimpleConditionalExpression_Between class.  The only big difference is that
     // the formatting forced flags are not available with function calls.
 


***  This package is subject to change.  ***

Note:
Extension of the classes in this package is prohibited unless otherwise documented. Similarly, extension or implementation of the interfaces in this package is prohibited except as documented.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.