|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES All Classes |
See:
Description
Class Summary | |
---|---|
TinyQBuilder | A helper class to allow easy programmatic construction of TinyQ expressions. |
Enum Summary | |
---|---|
Operator | Enum describing operators in the TinyQuery language. |
Exception Summary | |
---|---|
TinyQBuilder.BuilderException | Base class of exceptions thrown when errors occur while building a TinyQ query expression. |
TinyQBuilder.InvalidExpressionTypeException | Exception thrown if an operator is appended in an invalid position. |
TinyQBuilder.InvalidOperandException | Exception thrown if an invalid operand is supplied to a TinyQ operator. |
Contains support for a tiny query expression language designed for use with URL's.
The operator lexical representations are designed to fit in the non-reserved character set defined by RFC 3986 and to be smaller than "percent-encoded" representations of more desirable lexical operator representations.The following operators are provided in the TinyQ language:
Operators are left-associative and the order of operator precedence is (highest to lowest):
String comparisons are case-insensitive.
"Dot-character" sequences in operands that match an operator are escaped by doubling the '.' character. For example, "henry.aaron" would be encoded as "henry..aaron".
The "LIKE" wildcards are '-' for multiple characters and '_' for a single character. If a literal right-side operand for "LIKE" has a '-' or '_' these are escaped by preceding them with a '.' character. For example, if "some_text" is the literal part of the LIKE argument the text is encoded as "some._text". A full like expression might be: "name.ksome._text-".
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES All Classes |