@Override public AgnosticResultRow get(int row) { return new AgnosticResultRowImpl(results.get(row), dbType, columnMap); }
@Override @Deprecated // use the get by colname variant instead protected Double getDoubleObject(int col) throws PalantirSqlException { if(columns.get(col) == null) { return null; } return Double.valueOf(getLong(col)); }
@Override @Deprecated // use the get by colname variant instead protected Long getLongObject(int col) throws PalantirSqlException { if(columns.get(col) == null) { return null; } return Long.valueOf(getLong(col)); }
@Override public List<AgnosticResultRow> rows() { List<AgnosticResultRow> allRows = Lists.newArrayListWithCapacity(size()); for (List<Object> list : results) { allRows.add(new AgnosticResultRowImpl(list, dbType, columnMap)); } return allRows; }
@Override @Deprecated // use the get by colname variant instead protected Long getLongObject(int col) throws PalantirSqlException { if(columns.get(col) == null) { return null; } return Long.valueOf(getLong(col)); }
@Override public AgnosticResultRow get(int row) { return new AgnosticResultRowImpl(results.get(row), dbType, columnMap); }
@Override @Deprecated // use the get by colname variant instead protected Double getDoubleObject(int col) throws PalantirSqlException { if(columns.get(col) == null) { return null; } return Double.valueOf(getLong(col)); }
@Override public List<AgnosticResultRow> rows() { List<AgnosticResultRow> allRows = Lists.newArrayListWithCapacity(size()); for (List<Object> list : results) { allRows.add(new AgnosticResultRowImpl(list, dbType, columnMap)); } return allRows; }