Group of methods related to executing the boolean expression on UBF buffer. In case if compiled boolean expression is used, then AtmiCtx.Bboolco() shall be used.
- Exceptions
-
UbfBNOTFLDException | p_ub is not fielded buffer or argument NULL. |
UbfBEINVALException | tree parameter is NULL. |
UbfBALIGNERRException | Corrupted buffer or pointing to not aligned memory area. |
UbfBNOTFLDException | Buffer not fielded, not correctly allocated or corrupted. |
UbfBBADFLDException | Invalid field id passed. |
UbfBNOTPRESException | Field not present. |
UbfFMALLOCException | Malloc failed. |
UbfBSYNTAXException | Synax error in script. |
UbfBBADNAMEException | Bad field name specified. |
native boolean org.endurox.TypedUbf.Bboolev |
( |
BExprTree |
tree | ) |
|
Evaluate boolean expression by given expression tree. For more information see Bboolev(3) manpage.
- Parameters
-
tree | compiled boolean expression |
- Returns
- true or false
native double org.endurox.TypedUbf.Bfloatev |
( |
BExprTree |
tree | ) |
|
Evaluate compiled expression and return the result as a float value. For more information see Bfloatev(3) manpage
- Parameters
-
tree | compiled boolean expression |
- Returns
- evaluated floating point value
native boolean org.endurox.TypedUbf.Bqboolev |
( |
String |
expr | ) |
|
Evaluate the boolean expression immediately and the release the compiled expression. For more information see Bboolco(3) and Bboolev(3) manpages.
- Parameters
-
expr | boolean expression string |
- Returns
- true or false