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

    Fields
    Modifier and Type
    Field
    Description
    boolean
     
    for update peers' jserv
     
     

    Fields inherited from class io.odysz.anson.Anson

    verbose
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
    Synode(String synid, String synuid, String org, String domain)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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

      public String org
    • synid

      public String synid
    • jserv

      public String 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 handling
      org -
      domain -
      Throws:
      io.odysz.transact.x.TransException
    • Synode

      public Synode(AnResultset r, SynodeMeta synm) throws SQLException
      Throws:
      SQLException
  • Method Details

    • domain

      public String 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 synuid
      n0 -
      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: