Endeca Presentation API
ExprBinary Class
NamespacesEndeca.Navigation.AnalyticsExprBinary
An ExprBinary is a type of IExpr that represents a binary scalar expression. These expressions provide a full range of mathematical functions, such as addition and subtraction operators.
Declaration Syntax
C#Visual BasicVisual C++
public class ExprBinary : IExpr, IQueryNode
Public Class ExprBinary _
	Implements IExpr, IQueryNode
public ref class ExprBinary : IExpr, 
	IQueryNode
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
ExprBinaryExprBinaryNew(ExprBinary..::ExprBinaryOp, IExpr, IExpr)
The ExprBinary will compute the specified specified function on the specified lhs and rhs parameters.

static memberDIVIDE
Division operator.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Function
Gets and sets the the mathematical function for this ExprBinary.

GetHashCode()()
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
Lhs
Gets and sets the left-hand side of this binary expression.

static memberLOG
Logarithm operator.

MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
static memberMINUS
Subtraction operator.

static memberMOD
Modulo (remainder) operator.

static memberMULTIPLY
Multiplication operator.

static memberPLUS
Addition operator.

static memberPOWER
Exponentiation operator.

Rhs
Gets and sets the right-hand side of this binary expression.

static memberROUND
Round operator.

ToString()()
Returns the string form of this ExprBinary.
(Overrides Object.ToString()().)
ToWire()()
Returns the wire form of this ExprBinary.

static memberTRUNC
Truncation operator.

ValidateSyntax()()
Validates the syntax of this ExprBinary.

Examples
This code subtracts one from an integer property named Year:
CopyC#
LookupList lookup = new LookupList();
lookup.add(new ExprBinary(ExprBinary.MINUS, new ExprKey("Year"), new ExprConstant("1")));
In the example, the ExprBinary object is set in a LookupList object.
Inheritance Hierarchy
Object
ExprBinary

Assembly: Endeca.Navigation (Module: Endeca.Navigation) Version: 0.0.0.0