org.sql2o.data.Column Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of anima Show documentation
Show all versions of anima Show documentation
Operate the database like a stream
package org.sql2o.data;
/**
* Represents a result set column
*/
public class Column {
private String name;
private Integer index;
private String type;
public Column(String name, Integer index, String type) {
this.name = name;
this.index = index;
this.type = type;
}
public String getName() {
return name;
}
public Integer getIndex() {
return index;
}
public String getType() {
return type;
}
@Override
public String toString() {
return getName() + " (" + getType() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy