org.hotrod.runtime.livesql.metadata.View Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hotrod-livesql Show documentation
Show all versions of hotrod-livesql Show documentation
HotRod is an ORM for Java, Spring and SpringBoot.
package org.hotrod.runtime.livesql.metadata;
import java.util.List;
import java.util.stream.Collectors;
import org.hotrod.runtime.livesql.expressions.ResultSetColumn;
public abstract class View extends TableOrView {
public View(final String catalog, final String schema, final String name, final String type, final String alias) {
super(catalog, schema, name, type, alias);
}
@Override
public List getColumns() throws IllegalAccessException {
return super.columns.stream().map(c -> (ResultSetColumn) c).collect(Collectors.toList());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy