![JAR search and dependency download from the Maven repository](/logo.png)
org.unipop.rest.RestSchema Maven / Gradle / Ivy
package org.unipop.rest;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.request.BaseRequest;
import org.apache.tinkerpop.gremlin.structure.Element;
import org.unipop.query.predicates.PredicateQuery;
import org.unipop.query.search.SearchQuery;
import org.unipop.schema.element.ElementSchema;
import java.util.List;
import java.util.NoSuchElementException;
/**
* Created by sbarzilay on 24/11/16.
*/
public interface RestSchema extends ElementSchema {
BaseRequest getSearch(SearchQuery query);
List parseResults(HttpResponse result, PredicateQuery query);
BaseRequest addElement(E element) throws NoSuchElementException;
BaseRequest delete(E element);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy