@Override public long selectCount(String tableName) throws PalantirSqlException, PalantirInterruptedException { return sqlConnectionHelper.selectCount(c, tableName); }
@Override public long selectCount(String tableName, String whereClause, Object... vs) throws PalantirSqlException, PalantirInterruptedException { return sqlConnectionHelper.selectCount(c, tableName, whereClause, vs); }
/** * Returns true if at least one row comes back for the provided Otherwise, returns false. * * @param c * @param sql * @param vs * @return * @throws PalantirSqlException */ long selectCount(Connection c, String tableName) throws PalantirSqlException, PalantirInterruptedException { return selectCount(c, tableName, null, new Object[] {}); }
@Override public long selectCount(String tableName) throws PalantirSqlException, PalantirInterruptedException { return sqlConnectionHelper.selectCount(c, tableName); }
@Override public long selectCount(String tableName, String whereClause, Object... vs) throws PalantirSqlException, PalantirInterruptedException { return sqlConnectionHelper.selectCount(c, tableName, whereClause, vs); }
/** * Returns true if at least one row comes back for the provided Otherwise, returns false. * * @param c * @param sql * @param vs * @return * @throws PalantirSqlException */ long selectCount(Connection c, String tableName) throws PalantirSqlException, PalantirInterruptedException { return selectCount(c, tableName, null, new Object[] {}); }