public void getResults(int cursor, IFieldGetter rslt, Object[] buf) { switch (cursor) { case 0: ((int[])buf[0])[0] = rslt.getInt(1); ((int[])buf[1])[0] = rslt.getInt(2); break; case 1: ((int[])buf[0])[0] = rslt.getInt(1); break; } }
public void getResults(int cursor, IFieldGetter rslt, Object[] buf) { switch (cursor) { case 0: ((int[])buf[0])[0] = rslt.getInt(1); return; case 1: ((String[])buf[0])[0] = rslt.getString(1, 255); return; case 2: ((String[])buf[0])[0] = rslt.getString(1, 255); return; case 3: ((String[])buf[0])[0] = rslt.getVarchar(1); ((String[])buf[1])[0] = rslt.getVarchar(2); ((String[])buf[2])[0] = rslt.getVarchar(3); return; } }
public void getResults(int cursor, IFieldGetter rslt, Object[] buf) { switch (cursor) { case 0: ((int[])buf[0])[0] = rslt.getInt(1); break; case 1: ((String[])buf[0])[0] = rslt.getString(1, 255); break; case 2: ((String[])buf[0])[0] = rslt.getString(1, 255); break; } }