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

ca.ibodrov.mica.server.data.EntityFetcher Maven / Gradle / Ivy

There is a newer version: 0.0.25
Show newest version
package ca.ibodrov.mica.server.data;

import ca.ibodrov.mica.api.model.EntityLike;

import java.net.URI;
import java.util.stream.Stream;

public interface EntityFetcher {

    boolean isSupported(URI uri);

    /**
     * TODO re-implement as Cursor query(URI uri, Query query)
     */
    Cursor getAllByKind(URI uri, String kind, int limit);

    interface Cursor {

        Stream stream();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy