Search in sources :

Example 11 with NodeStateNodeTypeInfoProvider

use of org.apache.jackrabbit.oak.query.NodeStateNodeTypeInfoProvider in project jackrabbit-oak by apache.

the class SolrQueryIndexTest method newSelector.

private static SelectorImpl newSelector(NodeState root, String name) {
    NodeTypeInfoProvider types = new NodeStateNodeTypeInfoProvider(root);
    NodeTypeInfo type = types.getNodeTypeInfo("nt:base");
    return new SelectorImpl(type, name);
}
Also used : NodeTypeInfo(org.apache.jackrabbit.oak.query.ast.NodeTypeInfo) SelectorImpl(org.apache.jackrabbit.oak.query.ast.SelectorImpl) NodeStateNodeTypeInfoProvider(org.apache.jackrabbit.oak.query.NodeStateNodeTypeInfoProvider) NodeTypeInfoProvider(org.apache.jackrabbit.oak.query.ast.NodeTypeInfoProvider) NodeStateNodeTypeInfoProvider(org.apache.jackrabbit.oak.query.NodeStateNodeTypeInfoProvider)

Aggregations

NodeStateNodeTypeInfoProvider (org.apache.jackrabbit.oak.query.NodeStateNodeTypeInfoProvider)11 NodeTypeInfo (org.apache.jackrabbit.oak.query.ast.NodeTypeInfo)11 NodeTypeInfoProvider (org.apache.jackrabbit.oak.query.ast.NodeTypeInfoProvider)11 SelectorImpl (org.apache.jackrabbit.oak.query.ast.SelectorImpl)11 FilterImpl (org.apache.jackrabbit.oak.query.index.FilterImpl)10 QueryEngineSettings (org.apache.jackrabbit.oak.query.QueryEngineSettings)9 Filter (org.apache.jackrabbit.oak.spi.query.Filter)1