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

Examples of org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexProvider


    @Override
    public QueryEngine getQueryEngine() {
        return new QueryEngineImpl() {
            @Override
            protected ExecutionContext getExecutionContext() {
                return new ExecutionContext(rootTree.getNodeState(), rootTree, new PropertyIndexProvider());
            }
        };
    }
View Full Code Here


    @Override
    public QueryEngine getQueryEngine() {
        return new QueryEngineImpl() {
            @Override
            protected ExecutionContext getExecutionContext() {
                return new ExecutionContext(rootTree.state, rootTree, new PropertyIndexProvider());
            }
        };
    }
View Full Code Here

    @Before
    public void before() throws Exception {
        Oak oak = new Oak()
                .with(new InitialContent())
                .with(new PropertyIndexEditorProvider())
                .with(new PropertyIndexProvider())
                .with(new RegistrationEditorProvider())
                .with(getSecurityProvider());
        withEditors(oak);
        contentRepository = oak.createContentRepository();
View Full Code Here

        NodeState base = builder.getNodeState();
        MemoryNodeStore store = new MemoryNodeStore(base);

        Root root = new SystemRoot(store, EmptyHook.INSTANCE, workspaceName,
                securityProvider, new QueryEngineSettings(),
                new CompositeQueryIndexProvider(new PropertyIndexProvider(),
                        new NodeTypeIndexProvider()));

        UserConfiguration userConfiguration = securityProvider.getConfiguration(UserConfiguration.class);
        UserManager userManager = userConfiguration.getUserManager(root, NamePathMapper.DEFAULT);
View Full Code Here

        with(new ReferenceEditorProvider());
        with(new ReferenceIndexProvider());

        with(new PropertyIndexEditorProvider());

        with(new PropertyIndexProvider());
        with(new OrderedPropertyIndexProvider());
        with(new NodeTypeIndexProvider());
       
        with(new OrderedPropertyIndexEditorProvider());
    }
View Full Code Here

            return new Oak().with(new InitialContent())
                    .with(new SolrIndexInitializer())
                    .with(new OpenSecurityProvider())
                    .with(new CompositeQueryIndexProvider(
                            new SolrQueryIndexProvider(provider, provider),
                            new PropertyIndexProvider()
                    ))
                    .with(new CompositeIndexEditorProvider(
                            new SolrIndexEditorProvider(provider, provider),
                            new PropertyIndexEditorProvider()
                    ))
View Full Code Here

        Oak oak = new Oak(ns1)
                .with(new InitialContent())
                .with(new ReferenceEditorProvider())
                .with(new ReferenceIndexProvider())
                .with(new PropertyIndexEditorProvider())
                .with(new PropertyIndexProvider())
                .with(new TypeEditorProvider())
                .with(securityProvider1 = new SecurityProviderImpl(getSecurityConfigParameters()));
        contentRepository1 = oak.createContentRepository();
        adminSession1 = login1(getAdminCredentials());
        root1 = adminSession1.getLatestRoot();
        userManager1 = securityProvider1.getConfiguration(UserConfiguration.class).getUserManager(root1, namePathMapper);
        aclMgr1 = securityProvider1.getConfiguration(AuthorizationConfiguration.class).getAccessControlManager(root1, namePathMapper);

        // make sure initial content is visible to ns2
        syncClusterNodes();

        oak = new Oak(ns2)
                .with(new InitialContent())
                .with(new ReferenceEditorProvider())
                .with(new ReferenceIndexProvider())
                .with(new PropertyIndexEditorProvider())
                .with(new PropertyIndexProvider())
                .with(new TypeEditorProvider())
                .with(securityProvider2 = new SecurityProviderImpl(getSecurityConfigParameters()));

        contentRepository2 = oak.createContentRepository();
        adminSession2 = login2(getAdminCredentials());
View Full Code Here

            @Override
            protected ExecutionContext getExecutionContext() {
                return new ExecutionContext(
                        rootTree.getNodeState(), ImmutableRoot.this,
                        new QueryEngineSettings(),
                        new PropertyIndexProvider());
            }
        };
    }
View Full Code Here

        with(new ReferenceEditorProvider());
        with(new ReferenceIndexProvider());

        with(new PropertyIndexEditorProvider());

        with(new PropertyIndexProvider());
        with(new OrderedPropertyIndexProvider());
        with(new NodeTypeIndexProvider());
       
        with(new OrderedPropertyIndexEditorProvider());
    }
View Full Code Here

                .with(JcrConflictHandler.JCR_CONFLICT_HANDLER)
                .with(new NamespaceEditorProvider())
                .with(new ReferenceEditorProvider())
                .with(new ReferenceIndexProvider())
                .with(new PropertyIndexEditorProvider())
                .with(new PropertyIndexProvider())
                .with(new TypeEditorProvider())
                .with(new ConflictValidatorProvider())
                .with(getSecurityProvider());
        withEditors(oak);
        contentRepository = oak.createContentRepository();
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexProvider

Copyright © 2018 www.massapicom. 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.