30063007300830093010301130123013301430153016
modifiedColumns.clear(i); } columns = modifiedColumns; } curRow.setColumn(SYSCOLPERMSRowFactory.COLUMNS_COL_NUM, new UserType((Object) columns)); ti.updateRow(uuidKey, curRow, SYSCOLPERMSRowFactory.COLPERMSID_INDEX_NUM, bArray, colsToUpdate, tc);
45054506450745084509451045114512451345144515
/* Set up a couple of row templates for fetching CHARS */ replaceRow[SYSSTATEMENTSRowFactory.SYSSTATEMENTS_VALID - 1] = new SQLBoolean(false); replaceRow[SYSSTATEMENTSRowFactory.SYSSTATEMENTS_CONSTANTSTATE - 1] = new UserType((Object) null); /* Scan the entire heap */ ScanController sc = tc.openScan( ti.getHeapConglomerate(),
175176177178179180181182183
private DataValueDescriptor[] makeNewTemplate(String key, Serializable value) { DataValueDescriptor[] template = new DataValueDescriptor[2]; template[0] = new UTF(key); template[1] = new UserType(value); return(template); }
188189190191192193194195196
private DataValueDescriptor[] makeNewTemplate() { DataValueDescriptor[] template = new DataValueDescriptor[2]; template[0] = new UTF(); template[1] = new UserType(); return(template); }
307308309310311312313314315316317
} else { // a value already exists, just replace the second columm row[1] = new UserType(value); scan.replace(row, (FormatableBitSet) null); } scan.close();