Package com.tinkerpop.blueprints.util.wrappers

Examples of com.tinkerpop.blueprints.util.wrappers.WrapperVertexQuery


    public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
        return new PartitionVertexIterable(((Vertex) this.baseElement).getVertices(direction, labels), this.graph);
    }

    public VertexQuery query() {
        return new WrapperVertexQuery(((Vertex) this.baseElement).query()) {
            @Override
            public Iterable<Vertex> vertices() {
                return new PartitionVertexIterable(this.query.vertices(), graph);
            }
View Full Code Here


    public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
        return new EventVertexIterable(((Vertex) this.baseElement).getVertices(direction, labels), this.eventGraph);
    }

    public VertexQuery query() {
        return new WrapperVertexQuery(((Vertex) this.baseElement).query()) {
            @Override
            public Iterable<Vertex> vertices() {
                return new EventVertexIterable(this.query.vertices(), eventGraph);
            }
View Full Code Here

    public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
        return new IdVertexIterable(((Vertex) this.baseElement).getVertices(direction, labels), this.idGraph);
    }

    public VertexQuery query() {
        return new WrapperVertexQuery(((Vertex) this.baseElement).query()) {
            @Override
            public Iterable<Vertex> vertices() {
                return new IdVertexIterable(this.query.vertices(), idGraph);
            }
View Full Code Here

    public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
        return new WrappedVertexIterable(((Vertex) this.baseElement).getVertices(direction, labels));
    }

    public VertexQuery query() {
        return new WrapperVertexQuery(((Vertex) this.baseElement).query()) {
            @Override
            public Iterable<Vertex> vertices() {
                return new WrappedVertexIterable(this.query.vertices());
            }
View Full Code Here

    public Edge addEdge(final String label, final Vertex vertex) {
        throw new UnsupportedOperationException(ReadOnlyTokens.MUTATE_ERROR_MESSAGE);
    }

    public VertexQuery query() {
        return new WrapperVertexQuery(((Vertex) this.baseElement).query()) {
            @Override
            public Iterable<Vertex> vertices() {
                return new ReadOnlyVertexIterable(this.query.vertices());
            }
View Full Code Here

    public void remove() {
        throw new UnsupportedOperationException();
    }

    public VertexQuery query() {
        return new WrapperVertexQuery(this.baseVertex.query()) {
            @Override
            public Iterable<Edge> edges() {
                return new ShellEdgeIterable(this.query.edges());
            }
View Full Code Here

        return new MultiIterable<Vertex>(vertices);
    }

    @Override
    public VertexQuery query() {
        return new WrapperVertexQuery(new DefaultVertexQuery(this)) {
            @Override
            public Iterable<Edge> edges() {
                return new DerivedEdgeIterable(this.query.edges(), derivedGraph);
            }
View Full Code Here

TOP

Related Classes of com.tinkerpop.blueprints.util.wrappers.WrapperVertexQuery

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.