Package io.odysz.semantic.syn
Class Synode
java.lang.Object
io.odysz.anson.Anson
io.odysz.semantic.syn.Synode
- All Implemented Interfaces:
io.odysz.anson.IJsonable
public class Synode
extends io.odysz.anson.Anson
Synode Information.
- Author:
- odys-z@github.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.odysz.anson.IJsonable
io.odysz.anson.IJsonable.JsonableFactory
-
Field Summary
Modifier and TypeFieldDescriptionboolean
for update peers' jservFields inherited from class io.odysz.anson.Anson
verbose
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondomain()
io.odysz.transact.sql.Insert
insert
(SynodeMeta synm, String syn_uid, Nyquence n0, io.odysz.transact.sql.Insert insert) Format the insert statement according to my fields.io.odysz.transact.sql.Insert
insertRow
(String domain, SynodeMeta synm, io.odysz.transact.sql.Insert insert) Format the insert statement according to my fields.Methods inherited from class io.odysz.anson.Anson
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toBlock, toEnvelope, toJson, toJson, toMapBlock, toString, unescape
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.odysz.anson.IJsonable
toBlock
-
Field Details
-
org
-
synid
-
jserv
for update peers' jserv -
https
public boolean https
-
-
Constructor Details
-
Synode
public Synode() -
Synode
public Synode(String synid, String synuid, String org, String domain) throws io.odysz.transact.x.TransException - Parameters:
synid
-synuid
- must be null when joining by peer, must be provided without synmantics handlingorg
-domain
-- Throws:
io.odysz.transact.x.TransException
-
Synode
- Throws:
SQLException
-
-
Method Details
-
domain
-
insert
public io.odysz.transact.sql.Insert insert(SynodeMeta synm, String syn_uid, Nyquence n0, io.odysz.transact.sql.Insert insert) throws io.odysz.transact.x.TransException Format the insert statement according to my fields. Example:insert(synm, synode, n0(), tranxbuilder.insert(synm.tbl, robot))
- Parameters:
synm
-syn_uid
- global synuidn0
-- Returns:
Insert
statement- Throws:
io.odysz.transact.x.TransException
-
insertRow
public io.odysz.transact.sql.Insert insertRow(String domain, SynodeMeta synm, io.odysz.transact.sql.Insert insert) throws io.odysz.transact.x.TransException Format the insert statement according to my fields.- Parameters:
domain
-synm
-insert
-- Returns:
- Throws:
io.odysz.transact.x.TransException
- Since:
-