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

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

There is a newer version: 1.0.16
Show newest version
package com.dooapp.gaedo.blueprints.queries.executable;

import java.util.Collection;

import com.tinkerpop.blueprints.Vertex;

/**
 * Interface allowing one to obtain count of vertices without having to load them. This is specially convenient for queries involving indices.
 * @author ndx
 *
 */
public interface LazyLoader {
	/**
	 * Obtain list of vertices for this lazy loader
	 * @return
	 */
	Iterable get();

	/**
	 * Obtain number of vertices this lazy loader will load
	 * @return
	 */
	long size();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy