
com.tinkerpop.frames.FramedGraphQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of frames Show documentation
Show all versions of frames Show documentation
Frames is a framework for exposing the elements of a Blueprints graph as Java objects.
Instead of writing software in terms of vertices and edges, with Frames,
software is written in terms of domain objects and their relationships to each other.
The newest version!
package com.tinkerpop.frames;
import com.tinkerpop.blueprints.GraphQuery;
import com.tinkerpop.blueprints.Predicate;
import com.tinkerpop.blueprints.Query.Compare;
/**
* GraphQuery that allows framing of results.
*
* @author Bryn Cooke
*
*/
public interface FramedGraphQuery extends GraphQuery {
@Override
public FramedGraphQuery has(String key);
@Override
public FramedGraphQuery hasNot(String key);
@Override
public FramedGraphQuery has(String key, Object value);
@Override
public FramedGraphQuery hasNot(String key, Object value);
@Override
public FramedGraphQuery has(String key, Predicate predicate, Object value);
@Override
@Deprecated
public > FramedGraphQuery has(String key, T value, Compare compare);
@Override
public > FramedGraphQuery interval(String key, T startValue, T endValue);
@Override
public FramedGraphQuery limit(int limit);
/**
* Execute the query and return the matching edges.
*
* @param the default annotated interface to frame the edge as
* @return the unfiltered incident edges
*/
public Iterable edges(Class kind);
/**
* Execute the query and return the vertices on the other end of the matching edges.
*
* @param the default annotated interface to frame the vertex as
* @return the unfiltered adjacent vertices
*/
public Iterable vertices(Class kind);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy