Package io.odysz.semantic.meta
Class SynodeMeta
java.lang.Object
io.odysz.semantics.meta.TableMeta
io.odysz.semantic.meta.SemanticTableMeta
io.odysz.semantic.meta.SyntityMeta
io.odysz.semantic.meta.SynodeMeta
- All Implemented Interfaces:
XMLTable.IMapValue
- Author:
- odys-z@github.com
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
final String
final String
Nyquence for stamping change logsfinal String
Nyquence for synchronizingfinal String
final String
Fields inherited from class io.odysz.semantic.meta.SyntityMeta
device, io_oz_synuid, uids
Fields inherited from class io.odysz.semantics.meta.TableMeta
conn, ddlSqlite, debug, ftypes, pk, tbl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionupdateEntNvs
(SynChangeMeta chgm, String entid, AnResultset entities, AnResultset challenges) Generate set values for the Update statement which is used for updating current entity, e.g.Methods inherited from class io.odysz.semantic.meta.SyntityMeta
autopk, autopk, err_requires_synuid, insertChallengeEnt, onselectSyntities, replace, synuid
Methods inherited from class io.odysz.semantic.meta.SemanticTableMeta
loadSqlite, mapKey, setupSqlitables, setupSqliTables
Methods inherited from class io.odysz.semantics.meta.TableMeta
clone, col, col, col, coltype, conn, conn, constrain, constrain, ftypes, isQuoted, typesInited
-
Field Details
-
org
-
domain
-
nyquence
Nyquence for synchronizing -
nstamp
Nyquence for stamping change logs -
synoder
-
jserv
-
-
Constructor Details
-
SynodeMeta
syn_node.ddl Using 'mac' as device id field.- Parameters:
conn
-- Throws:
SemanticException
io.odysz.transact.x.TransException
-
-
Method Details
-
updateEntNvs
public ArrayList<Object[]> updateEntNvs(SynChangeMeta chgm, String entid, AnResultset entities, AnResultset challenges) Description copied from class:SyntityMeta
Generate set values for the Update statement which is used for updating current entity, e.g.update t set c = v1, ...
beforeinsert into t select 'item-a', 'item-b' where not exists select 1 from t where condition-avoiding-duplicate
org- Overrides:
updateEntNvs
in classSyntityMeta
- Returns:
- n-v pairs for argument of
Update.nvs(ArrayList)
-