Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.presumo.jms.selector: Javadoc index of package com.presumo.jms.selector.


Package Samples:

com.presumo.jms.selector

Classes:

SelectorFalseException: JMS defines some conditions that will always render a selector false. One example is trying to add two strings. While the parser can detect errors in literals at parse time, it can not tell what type an identifier is until evaluation time. If an identifier type is incorrectly used JMS says that the selector is invalid. Another example would be referencing an object property from anywhere in the sql expression. The evaluate methods will throw this exception if they encounter a situation like the ones above. This will effectively short-circuit the evaluation. If you call evaluate on the node in the ...
Parser: Access point to the filter functionality for the rest of the JMS implementation. This class (along with every other class in this package) is on the critical path for message throughput performance. Thus it is, and must remain optimized. Parser is a singleton instead of a series of static methods because I read somewhere that instance methods are faster than static methods (never personally verified this). The class is thread safe, but to prevent the routing thread from having to obtain a lock for every evaluation, a thread can obtain the lock once and call several evaluations before releasing ...
SelectorTests: Unit test used to exercise the sql-jms filter; This class was generated during initial development. It should be maintained along with the rest of the code in this package. The class is meant to test package protected functionality and thus should remain in this package.
JmsGreater: Expression node for the SQL greater than expression. There is no implementation for greater than equals ">=" because the parser represents such statements as a less than with the operands switched.
JmsLess: Expression node for the SQL less than expression. There is no implementation for less than equals "<=" because the parser represents such statements as a greater than with the operands switched.
JmsOperand: Base class for all nodes in the JMS parse tree. All functionality is package protected, and calling code should use the access point represented by Parser .
JmsNumericLiteral: Class whose methods allow for comparison and math operations to be performed on doubles and longs.
RegExp: Trailing class to implement NFA for the Like clause. Many thanks to Rob Cauble who wrote this.
JmsIs: Parse tree node representing the IS NULL SQL statement.
JmsDataType: Base class for all expression nodes representing data.
JmsFloatLiteral: Expression node to represent floating point literals
JmsBinarySub: Expression node for the SQL substraction operation
JmsNot: Expression node to represent SQL Not operation.
JmsBinaryDiv: Expression node for the SQL division operation
JmsBinaryMult: Expression node for the SQL multiply operation
JmsIntegerLiteral: Expression node to represent integer literals.
JmsEquals: Expression node for the SQL equals operation.
JmsStringLiteral: Expression node to represent String literals
JmsBinaryOperand: Base class for all Binary SQL expressions.
JmsBinaryAdd: Expression node for the SQL add operation
JmsBinaryOr: Expression node for the SQL add operation
JmsLike: Expression node to representing SQL Like.
JmsBooleanLiteral: Expression node for boolean literals.
JmsBinaryAnd: Expression node for the SQL "AND"
JmsIdentifier: Expression node for identifiers.

Home | Contact Us | Privacy Policy | Terms of Service