Package org.apache.jackrabbit.oak.plugins.index.p2

Examples of org.apache.jackrabbit.oak.plugins.index.p2.Property2IndexLookup.query()


     */
    public Iterable<String> query(Filter filter, Iterable<String> nodeTypes) {
        final PropertyValue ntNames = PropertyValues.newName(nodeTypes);
        Property2IndexLookup lookup = new Property2IndexLookup(root);
        return Iterables.concat(
                lookup.query(filter, JCR_PRIMARYTYPE, ntNames),
                lookup.query(filter, JCR_MIXINTYPES, ntNames));
    }

}
View Full Code Here


    public Iterable<String> query(Filter filter, Iterable<String> nodeTypes) {
        final PropertyValue ntNames = PropertyValues.newName(nodeTypes);
        Property2IndexLookup lookup = new Property2IndexLookup(root);
        return Iterables.concat(
                lookup.query(filter, JCR_PRIMARYTYPE, ntNames),
                lookup.query(filter, JCR_MIXINTYPES, ntNames));
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.