public static UnindexedMatcher matcherWithSelector ( Map < String , Object > selector ) { ChildrenQueryNode root = buildExecutionTreeForSelector ( selector ) ; if ( root == null ) { return null ; } UnindexedMatcher matcher = new UnindexedMatcher ( ) ; matcher . root = root ; return matcher ; }
Return a new initialised matcher .