fr.profi.mzdb.util.sqlite.SQLiteResultDescriptor Maven / Gradle / Ivy
package fr.profi.mzdb.util.sqlite;
import java.util.HashMap;
public class SQLiteResultDescriptor {
protected HashMap colIdxByColName = new HashMap();
public SQLiteResultDescriptor(HashMap colIdxByColName) {
super();
this.colIdxByColName = colIdxByColName;
}
public HashMap getColIdxByColName() {
return colIdxByColName;
}
public int getColumnIndex(String colName) {
return this.colIdxByColName.get(colName);
}
public String[] getColumnNames() {
return this.colIdxByColName.keySet().toArray(new String[this.colIdxByColName.size()]);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy