podnov / queryinfo

Apache License 2.0
1 stars 0 forks source link

ConditionGroup Directives #62

Closed podnov closed 7 years ago

podnov commented 7 years ago

Added directive(Config) to ConditionGroup to support special-case ConditionGroups.

Added EXISTS/NOT_EXISTS condition group directives.

Refactored many jpa components to prefer AbstractQuery over CriteriaQuery when possible. This allows components to be re-used with a Subquery. This also required QueryInfoJPAContext to be query-type aware.

Refactored predicate factory code for reuse.

Cleaned up some field/join/attribute path terminology.

QueryInfoPathFactory now returns Path instead of Expression.

Condition leftHandSide is now a JsonNode like rightHandSide in order to support more generic use.

Conditions now can specify an OperandType and operand type config for more complicated use-cases.

This closes #61