public class ExtendNINsInAND extends Rewriter
q={$and:{...,{$nin:{field:x,values:[v]},..,{field:x,op:!=,rvalue:w}...}}
this rewrites q as
q={$and:{...,{$nin:{field:x,values:[v, w]}},...}}
| Constructor and Description |
|---|
ExtendNINsInAND() |
| Modifier and Type | Method and Description |
|---|---|
QueryExpression |
rewrite(QueryExpression q) |
public static final Rewriter INSTANCE
public QueryExpression rewrite(QueryExpression q)
Copyright © 2016. All rights reserved.