Creates a new ExprFunction of the specified subexpression subExpr.

Namespace: Endeca.Navigation.Analytics
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)

Syntax

C#
public ExprFunction(
	ExprFunction..::..ExprFunctionOp func,
	IExpr subExpr,
	int decPlaces
)
Visual Basic
Public Sub New ( _
	func As ExprFunction..::..ExprFunctionOp, _
	subExpr As IExpr, _
	decPlaces As Integer _
)
Visual C++
public:
ExprFunction(
	ExprFunction..::..ExprFunctionOp^ func, 
	IExpr^ subExpr, 
	int decPlaces
)

Parameters

func
Type: Endeca.Navigation.Analytics..::..ExprFunction..::..ExprFunctionOp
A function of type ExprFunction..::..ExprFunctionOp that specifies the type of operation to be made.
subExpr
Type: Endeca.Navigation.Analytics..::..IExpr
An object of type IExpr that will be the subexpression for this ExprFunction.

If func is LAG or LEAD, then subExpr must be an ExprKey.

decPlaces
Type: System..::..Int32
An integer to be used only with the EXTRACT, LAG, LEAD, ROUND, and TRUNC functions.

For ROUND and TRUNC, positive numbers round to the equivalent number of decimal places; negative numbers round to the equivalent place to the left of the decimal place.

For TRUNC (when subExpr is a date/time) and EXTRACT, decPlaces is a constant such as HOUR or YEAR.

See Also