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

org.vertexium.query.EmptyResultsQueryResultsIterable Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.query;

import org.vertexium.VertexiumException;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;

public class EmptyResultsQueryResultsIterable implements QueryResultsIterable {
    @Override
    public  TResult getAggregationResult(String name, Class resultType) {
        throw new VertexiumException("Not implemented");
    }

    @Override
    public void close() throws IOException {

    }

    @Override
    public long getTotalHits() {
        return 0;
    }

    @Override
    public Iterator iterator() {
        return new ArrayList().iterator();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy