org.sql2o.data.LazyTable Maven / Gradle / Ivy
package org.sql2o.data;
import org.sql2o.ResultSetIterable;
import java.util.List;
/**
* @author [email protected]
*/
public class LazyTable implements AutoCloseable {
private String name;
private ResultSetIterable rows;
private List columns;
public String getName() {
return name;
}
void setName(String name) {
this.name = name;
}
public Iterable rows() {
return rows;
}
public void setRows(ResultSetIterable rows) {
this.rows = rows;
}
public List columns() {
return columns;
}
void setColumns(List columns) {
this.columns = columns;
}
public void close() {
this.rows.close();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy