com.dooapp.gaedo.blueprints.queries.executable.GraphExecutableQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gaedo-blueprints Show documentation
Show all versions of gaedo-blueprints Show documentation
Implementation of gaedo mechanisms backed by blueprints graph layer
package com.dooapp.gaedo.blueprints.queries.executable;
import com.tinkerpop.blueprints.Vertex;
/**
* Executable query performing the search/sort and returing corresponding vertices
* @author ndx
*
*/
public interface GraphExecutableQuery {
/**
* Count the number of vertices matching query criterias
* @return
*/
int count();
/**
* Get a subset of matching query results
* @param start
* @param end
* @return iterable allowing browsing of those vertices
*/
Iterable get(int start, int end);
/**
* Get all result vertices matching query results
* @return
*/
Iterable getAll();
/**
* Get first vertex matching query
* @return
*/
Vertex getVertex();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy