Uses of Class
io.odysz.semantics.x.SemanticException
Package
Description
-
Uses of SemanticException in io.odysz.semantic
Modifier and TypeMethodDescriptionstatic io.odysz.transact.sql.Transcxt
DATranscxt.getBasicTrans
(String conn) Get a basic transact builder (without semantics handling)static XMLTable
DATranscxt.loadSemanticsXml
(String connId) Load semantics configuration, x-table, from file path.protected void
DASemantics.ShExtFilev2.onDelete
(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Delete stmt, io.odysz.transact.sql.parts.condition.Condit condt, io.odysz.semantics.IUser usr) protected void
DASemantics.ShExtFilev2.onInsert
(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Insert insrt, ArrayList<Object[]> row, Map<String, Integer> cols, io.odysz.semantics.IUser usr) void
DASemantics.onPost
(io.odysz.semantics.ISemantext sx, io.odysz.transact.sql.Statement<? extends io.odysz.transact.sql.Statement<?>> stmt, ArrayList<Object[]> row, Map<String, Integer> cols, io.odysz.semantics.IUser usr, ArrayList<String> sqlBuf) protected void
DASemantics.SemanticHandler.onPost
(io.odysz.semantics.ISemantext sm, io.odysz.transact.sql.Statement<? extends io.odysz.transact.sql.Statement<?>> stmt, ArrayList<Object[]> row, Map<String, Integer> cols, io.odysz.semantics.IUser usr, ArrayList<String> sqlBuf) protected void
DASemantics.ShExtFilev2.onUpdate
(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Update updt, ArrayList<Object[]> row, Map<String, Integer> cols, io.odysz.semantics.IUser usr) On updating external files' handler.static DASemantics.smtype
Convert string key toDASemantics.smtype
.protected String
DASemantics.ShExtFilev2.selectUri
(io.odysz.semantics.ISemantext stx, io.odysz.transact.sql.Statement<?> stmt, io.odysz.transact.sql.parts.condition.Condit pk, io.odysz.semantics.IUser usr) io.odysz.semantics.meta.TableMeta
ModifierConstructorDescriptionprotected
DASemantext
(String connId, DATranscxt.SemanticsMap semanticsMap, io.odysz.semantics.IUser usr, String rtPath) Initialize a context for semantics handling.protected
SemanticHandler
(io.odysz.transact.sql.Transcxt trxt, DASemantics.smtype sm, String tabl, String pk, String[] args) ShExtFilev2
(io.odysz.transact.sql.Transcxt trxt, String tabl, String pk, String[] args) -
Uses of SemanticException in io.odysz.semantic.DA
Modifier and TypeMethodDescriptionstatic List<?>
DatasetCfg.buildForest
(AnResultset rs, DatasetCfg.TreeSemantics treeSemtcs) Convert the result set to a forest.static List<DatasetCfg.AnTreeNode>
DatasetHelper.buildForest
(AnResultset rs, DatasetCfg.TreeSemantics treeSemtcs, DatasetHelper.NodeFormatter... noder) Convert the result set to a forest.static io.odysz.semantics.meta.TableMeta
DatasetCfg.Dataset.getSql
(io.odysz.common.dbtype driver) static AbsConnect<?>
AbsConnect.initDmConnect
(String xmlDir, io.odysz.common.dbtype type, String id, String jdbcUrl, String usr, String pswd, boolean printSql, boolean log) Build database tables' meta.protected static XMLTable
Connects.loadMetaCfgs
(String connId) static io.odysz.common.dbtype
Connects.parseDrvType
(String type) Convert names like "sqlit" todbtype
.static void
Set table meta (providing a chance of extending table's semantics and keep a single copy for DB's meta).static String
Mapping client function id to data connection according to configuration. -
Uses of SemanticException in io.odysz.semantic.meta
Modifier and TypeMethodDescriptionSyntityMeta.insertChallengeEnt
(String uids, AnResultset challents) Generate data for value clause of the Insert statement, using columns for filter out fields of entity table.SyntityMeta.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. -
Uses of SemanticException in io.odysz.semantic.syn
Modifier and TypeMethodDescriptionvoid
ExchangeContext.addAnswer
(AnResultset answer) void
ExchangeContext.buffChanges
(HashMap<String, Nyquence> myNyquvect, HashMap<String, Object[]> chcols, ArrayList<ArrayList<Object>> yourchallenges, HashMap<String, AnResultset> entities) Buffering changes while responding tochallenges
.void
ExchangeContext.clear()
ChangeLogs.entities
(HashMap<String, AnResultset> entities) void
ExchangeContext.initChallenge
(String target, ChangeLogs diff) SyncUser.touchTempDir
(String conn, String doctbl) Get a temp dir, and have it deleted when logout.ModifierConstructorDescriptionprotected
DBSynmantext
(String connId, String synodeId, DBSynTransBuilder.SynmanticsMap metas, io.odysz.semantics.IUser usr, String rtPath) A helper version ofDBSynTransBuilder(SyndomContext, DBSyntableBuilder)
, ignoring loadingDBSynTransBuilder.SynmanticsMap
.DBSynTransBuilder
(SyndomContext x, DBSyntableBuilder logger) -
Uses of SemanticException in io.odysz.semantics.x
Modifier and TypeMethodDescriptionSemanticException.ex
(io.odysz.semantics.SemanticObject ex) Set object for details of exception