Package org.apache.jackrabbit.oak.spi.state

Examples of org.apache.jackrabbit.oak.spi.state.ReadOnlyBuilder


        this(parentProvider, name, state, TreeTypeProvider.EMPTY);
    }

    public ImmutableTree(@Nonnull ParentProvider parentProvider, @Nonnull String name,
                         @Nonnull NodeState state, @Nonnull TreeTypeProvider typeProvider) {
        super(name, new ReadOnlyBuilder(state));
        this.state = state;
        this.parentProvider = checkNotNull(parentProvider);
        this.typeProvider = checkNotNull(typeProvider);
    }
View Full Code Here


        if (type == null || PERSISTENCE_OAK.equalsIgnoreCase(type)) {
            NodeState index = getIndexDataNode(def);
            if (index == null) {
                return null;
            }
            return new OakDirectory(new ReadOnlyBuilder(index));
        }

        if (PERSISTENCE_FILE.equalsIgnoreCase(type)) {
            String fs = getString(def, PERSISTENCE_PATH);
            if (fs == null) {
View Full Code Here

    public Cursor query(Filter filter, NodeState root) {
        NodeState index = getIndexDataNode(root);
        if (index == null) {
            return Cursors.newPathCursor(Collections.<String> emptySet());
        }
        Directory directory = new ReadOnlyOakDirectory(new ReadOnlyBuilder(
                index));
        long s = System.currentTimeMillis();

        try {
            try {
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.spi.state.ReadOnlyBuilder

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.