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

com.clarkparsia.pellet.sparqldl.model.QueryResult Maven / Gradle / Ivy

// Copyright (c) 2006 - 2008, Clark & Parsia, LLC. 
// This source code is available under the terms of the Affero General Public License v3.
//
// Please see LICENSE.txt for full license terms, including the availability of proprietary exceptions.
// Questions, comments, or requests for clarification: [email protected]

package com.clarkparsia.pellet.sparqldl.model;

import java.util.List;

import aterm.ATermAppl;

/**
 * 

* Title: Query Result Interface *

*

* Description: *

*

* Copyright: Copyright (c) 2007 *

*

* Company: Clark & Parsia, LLC. *

* * @author Petr Kremen */ public interface QueryResult extends Iterable { /** * Adds a new binding to the query result. * * @param binding * to be added */ public void add(final ResultBinding binding); /** * Returns result variables. * * @return variables that appear in the result */ public List getResultVars(); public boolean isDistinct(); /** * Tests whether the result is empty or not. * * @return true if the result contains not bindings */ public boolean isEmpty(); /** * Returns number of bindings in the result. * * @return number of bindings */ public int size(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy