org.vertexium.query.VertexQueryBase Maven / Gradle / Ivy
package org.vertexium.query;
import org.vertexium.*;
import java.util.EnumSet;
public abstract class VertexQueryBase extends QueryBase implements VertexQuery {
private final Vertex sourceVertex;
protected VertexQueryBase(Graph graph, Vertex sourceVertex, String queryString, Authorizations authorizations) {
super(graph, queryString, authorizations);
this.sourceVertex = sourceVertex;
}
@Override
public abstract QueryResultsIterable vertices(EnumSet fetchHints);
@Override
public abstract QueryResultsIterable edges(EnumSet fetchHints);
public Vertex getSourceVertex() {
return sourceVertex;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy