public class SynodeMeta extends SyntityMeta
Modifier and Type | Field and Description |
---|---|
String |
mac |
String |
nstamp
Nyquence for stamping change logs
|
String |
nyquence
Nyquence for synchronizing
|
String |
org |
domain, err_requires_synuid, synoder, synuid, uids
Constructor and Description |
---|
SynodeMeta(String conn)
|
Modifier and Type | Method and Description |
---|---|
String[] |
insertSelectItems(SynChangeMeta chgm,
String entid,
AnResultset entities,
AnResultset changes)
Generate select-items for select clause which is used for Insert, e.g.
|
ArrayList<Object[]> |
updateEntNvs(SynChangeMeta chgm,
String entid,
AnResultset entities,
AnResultset challenges)
Generate set values for the Update statement which is used for updating current entity, e.g.
|
autopk, autopk, entCols, globalIds, insertChallengeEnt, replace
public final String org
public final String nyquence
public final String nstamp
public final String mac
public SynodeMeta(String conn) throws io.odysz.transact.x.TransException
conn
- trb
- SemanticException
io.odysz.transact.x.TransException
public ArrayList<Object[]> updateEntNvs(SynChangeMeta chgm, String entid, AnResultset entities, AnResultset challenges)
SyntityMeta
update t set c = v1, ...before
insert into t select 'item-a', 'item-b' where not exists select 1 from t where condition-avoiding-duplicateorg
updateEntNvs
in class SyntityMeta
Update.nvs(ArrayList)
public String[] insertSelectItems(SynChangeMeta chgm, String entid, AnResultset entities, AnResultset changes)
SyntityMeta
insert into t select 'item-a', 'item-b' where not exists select 1 from t where condition-avoiding-duplicate
insertSelectItems
in class SyntityMeta
Copyright © 2024. All rights reserved.