io.odysz.semantic.meta.PeersMeta Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of semantic.DA Show documentation
Show all versions of semantic.DA Show documentation
JDBC Data Access with Semantics Support
package io.odysz.semantic.meta;
import java.util.ArrayList;
import java.util.HashMap;
import io.odysz.common.Utils;
import io.odysz.semantic.syn.Nyquence;
public class PeersMeta extends SemanticTableMeta {
public final String synid;
public final String peer;
public final String domain;
public final String nyq;
public final String[] inscols;
public PeersMeta(String... conn) {
super("syn_peers", conn);
synid = "synid";
pk = synid;
peer = "peer";
domain = "domain";
nyq = "nyq";
inscols = new String[] {synid, peer, domain, nyq};
ddlSqlite = Utils.loadTxt(PeersMeta.class, "syn_peers.sqlite.ddl");
}
public ArrayList> insVals(HashMap nv, String peer, String domain) {
ArrayList> vals = new ArrayList>();
if (nv != null)
for (String n : nv.keySet()) {
ArrayList
© 2015 - 2025 Weber Informatics LLC | Privacy Policy