All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dooapp.gaedo.blueprints.queries.executable.GraphExecutableQuery Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
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