
com.yahoo.elide.datastores.jpa.ScrollableIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elide-datastore-jpa Show documentation
Show all versions of elide-datastore-jpa Show documentation
Elide Data Store for JPA support
The newest version!
/*
* Copyright 2015, Yahoo Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package com.yahoo.elide.datastores.jpa;
import com.yahoo.elide.datastores.jpql.porting.ScrollableIteratorBase;
import java.util.Iterator;
/**
* Wraps ScrollableResult as Iterator.
*
* @param type of return object
*/
public class ScrollableIterator extends ScrollableIteratorBase> {
public ScrollableIterator(Iterator results) {
super(results, Iterator::hasNext, Iterator::next);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy