org.vertexium.query.EmptyResultsQueryResultsIterable Maven / Gradle / Ivy
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 extends TResult> 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