org.openanzo.server.repository.rdb.sql
Class ReplicationRdbWrapper

java.lang.Object
  extended by org.openanzo.server.repository.rdb.sql.ReplicationRdbWrapper

public class ReplicationRdbWrapper
extends java.lang.Object

ReplicationRdbWrapper provides wrappers around SQL queries and transforms ResultSets into java objects

Author:
Generated Source from org.openanzo.jdbc.utils.opgen.jet

Nested Class Summary
static interface ReplicationRdbWrapper.InsertDeltaGraphIdsParams
          Interface for managing the parameters to the insertDeltaGraphIds prepared statement.
static class ReplicationRdbWrapper.InsertDeltaGraphIdsParamsImpl
          Default implementation of InsertDeltaGraphIdsParams
static interface ReplicationRdbWrapper.InsertDeltaStmtIdsParams
          Interface for managing the parameters to the insertDeltaStmtIds prepared statement.
static class ReplicationRdbWrapper.InsertDeltaStmtIdsParamsImpl
          Default implementation of InsertDeltaStmtIdsParams
static interface ReplicationRdbWrapper.InsertNamedGraphModsParams
          Interface for managing the parameters to the insertNamedGraphMods prepared statement.
static class ReplicationRdbWrapper.InsertNamedGraphModsParamsImpl
          Default implementation of InsertNamedGraphModsParams
static interface ReplicationRdbWrapper.InsertSelectorTempParams
          Interface for managing the parameters to the insertSelectorTemp prepared statement.
static class ReplicationRdbWrapper.InsertSelectorTempParamsImpl
          Default implementation of InsertSelectorTempParams
static interface ReplicationRdbWrapper.InsertStmtIdsNew_0Params
          Interface for managing the parameters to the insertStmtIdsNew_0 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_0ParamsImpl
          Default implementation of InsertStmtIdsNew_0Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_10Params
          Interface for managing the parameters to the insertStmtIdsNew_10 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_10ParamsImpl
          Default implementation of InsertStmtIdsNew_10Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_11Params
          Interface for managing the parameters to the insertStmtIdsNew_11 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_11ParamsImpl
          Default implementation of InsertStmtIdsNew_11Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_12Params
          Interface for managing the parameters to the insertStmtIdsNew_12 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_12ParamsImpl
          Default implementation of InsertStmtIdsNew_12Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_13Params
          Interface for managing the parameters to the insertStmtIdsNew_13 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_13ParamsImpl
          Default implementation of InsertStmtIdsNew_13Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_14Params
          Interface for managing the parameters to the insertStmtIdsNew_14 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_14ParamsImpl
          Default implementation of InsertStmtIdsNew_14Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_15Params
          Interface for managing the parameters to the insertStmtIdsNew_15 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_15ParamsImpl
          Default implementation of InsertStmtIdsNew_15Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_1Params
          Interface for managing the parameters to the insertStmtIdsNew_1 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_1ParamsImpl
          Default implementation of InsertStmtIdsNew_1Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_2Params
          Interface for managing the parameters to the insertStmtIdsNew_2 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_2ParamsImpl
          Default implementation of InsertStmtIdsNew_2Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_3Params
          Interface for managing the parameters to the insertStmtIdsNew_3 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_3ParamsImpl
          Default implementation of InsertStmtIdsNew_3Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_4Params
          Interface for managing the parameters to the insertStmtIdsNew_4 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_4ParamsImpl
          Default implementation of InsertStmtIdsNew_4Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_5Params
          Interface for managing the parameters to the insertStmtIdsNew_5 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_5ParamsImpl
          Default implementation of InsertStmtIdsNew_5Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_6Params
          Interface for managing the parameters to the insertStmtIdsNew_6 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_6ParamsImpl
          Default implementation of InsertStmtIdsNew_6Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_7Params
          Interface for managing the parameters to the insertStmtIdsNew_7 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_7ParamsImpl
          Default implementation of InsertStmtIdsNew_7Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_8Params
          Interface for managing the parameters to the insertStmtIdsNew_8 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_8ParamsImpl
          Default implementation of InsertStmtIdsNew_8Params
static interface ReplicationRdbWrapper.InsertStmtIdsNew_9Params
          Interface for managing the parameters to the insertStmtIdsNew_9 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsNew_9ParamsImpl
          Default implementation of InsertStmtIdsNew_9Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_0Params
          Interface for managing the parameters to the insertStmtIdsOld_0 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_0ParamsImpl
          Default implementation of InsertStmtIdsOld_0Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_10Params
          Interface for managing the parameters to the insertStmtIdsOld_10 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_10ParamsImpl
          Default implementation of InsertStmtIdsOld_10Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_11Params
          Interface for managing the parameters to the insertStmtIdsOld_11 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_11ParamsImpl
          Default implementation of InsertStmtIdsOld_11Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_12Params
          Interface for managing the parameters to the insertStmtIdsOld_12 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_12ParamsImpl
          Default implementation of InsertStmtIdsOld_12Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_13Params
          Interface for managing the parameters to the insertStmtIdsOld_13 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_13ParamsImpl
          Default implementation of InsertStmtIdsOld_13Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_14Params
          Interface for managing the parameters to the insertStmtIdsOld_14 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_14ParamsImpl
          Default implementation of InsertStmtIdsOld_14Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_15Params
          Interface for managing the parameters to the insertStmtIdsOld_15 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_15ParamsImpl
          Default implementation of InsertStmtIdsOld_15Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_1Params
          Interface for managing the parameters to the insertStmtIdsOld_1 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_1ParamsImpl
          Default implementation of InsertStmtIdsOld_1Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_2Params
          Interface for managing the parameters to the insertStmtIdsOld_2 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_2ParamsImpl
          Default implementation of InsertStmtIdsOld_2Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_3Params
          Interface for managing the parameters to the insertStmtIdsOld_3 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_3ParamsImpl
          Default implementation of InsertStmtIdsOld_3Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_4Params
          Interface for managing the parameters to the insertStmtIdsOld_4 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_4ParamsImpl
          Default implementation of InsertStmtIdsOld_4Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_5Params
          Interface for managing the parameters to the insertStmtIdsOld_5 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_5ParamsImpl
          Default implementation of InsertStmtIdsOld_5Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_6Params
          Interface for managing the parameters to the insertStmtIdsOld_6 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_6ParamsImpl
          Default implementation of InsertStmtIdsOld_6Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_7Params
          Interface for managing the parameters to the insertStmtIdsOld_7 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_7ParamsImpl
          Default implementation of InsertStmtIdsOld_7Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_8Params
          Interface for managing the parameters to the insertStmtIdsOld_8 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_8ParamsImpl
          Default implementation of InsertStmtIdsOld_8Params
static interface ReplicationRdbWrapper.InsertStmtIdsOld_9Params
          Interface for managing the parameters to the insertStmtIdsOld_9 prepared statement.
static class ReplicationRdbWrapper.InsertStmtIdsOld_9ParamsImpl
          Default implementation of InsertStmtIdsOld_9Params
static interface ReplicationRdbWrapper.InsertTrackerStatementsDeltasJoinParams
          Interface for managing the parameters to the insertTrackerStatementsDeltasJoin prepared statement.
static class ReplicationRdbWrapper.InsertTrackerStatementsDeltasJoinParamsImpl
          Default implementation of InsertTrackerStatementsDeltasJoinParams
static interface ReplicationRdbWrapper.InsertTrackerStatementsDeltasParams
          Interface for managing the parameters to the insertTrackerStatementsDeltas prepared statement.
static class ReplicationRdbWrapper.InsertTrackerStatementsDeltasParamsImpl
          Default implementation of InsertTrackerStatementsDeltasParams
static interface ReplicationRdbWrapper.SelectAciMaskDeltasParams
          Interface for managing the parameters to the selectAciMaskDeltas prepared statement.
static class ReplicationRdbWrapper.SelectAciMaskDeltasParamsImpl
          Default implementation of SelectAciMaskDeltasParams
static interface ReplicationRdbWrapper.SelectAciMaskDeltasResult
          Interface for holding the results of the selectAciMaskDeltas prepared statement.
static class ReplicationRdbWrapper.SelectAciMaskDeltasResultImpl
          Default implementation of SelectAciMaskDeltasResult
static interface ReplicationRdbWrapper.SelectCanReadSystemGraphDeltaParams
          Interface for managing the parameters to the selectCanReadSystemGraphDelta prepared statement.
static class ReplicationRdbWrapper.SelectCanReadSystemGraphDeltaParamsImpl
          Default implementation of SelectCanReadSystemGraphDeltaParams
static interface ReplicationRdbWrapper.SelectCollectionAdditionsResult
          Interface for holding the results of the selectCollectionAdditions prepared statement.
static class ReplicationRdbWrapper.SelectCollectionAdditionsResultImpl
          Default implementation of SelectCollectionAdditionsResult
static interface ReplicationRdbWrapper.SelectDeltaNamedGraphInfoParams
          Interface for managing the parameters to the selectDeltaNamedGraphInfo prepared statement.
static class ReplicationRdbWrapper.SelectDeltaNamedGraphInfoParamsImpl
          Default implementation of SelectDeltaNamedGraphInfoParams
static interface ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult
          Interface for holding the results of the selectDeltaNamedGraphInfo prepared statement.
static class ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResultImpl
          Default implementation of SelectDeltaNamedGraphInfoResult
static interface ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsParams
          Interface for managing the parameters to the selectNamedGraphMetaInfoAdditions prepared statement.
static class ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsParamsImpl
          Default implementation of SelectNamedGraphMetaInfoAdditionsParams
static interface ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult
          Interface for holding the results of the selectNamedGraphMetaInfoAdditions prepared statement.
static class ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResultImpl
          Default implementation of SelectNamedGraphMetaInfoAdditionsResult
static interface ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsParams
          Interface for managing the parameters to the selectNamedGraphMetaInfoDeletions prepared statement.
static class ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsParamsImpl
          Default implementation of SelectNamedGraphMetaInfoDeletionsParams
static interface ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult
          Interface for holding the results of the selectNamedGraphMetaInfoDeletions prepared statement.
static class ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResultImpl
          Default implementation of SelectNamedGraphMetaInfoDeletionsResult
static interface ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasParams
          Interface for managing the parameters to the selectNamedGraphsStatementsDeltas prepared statement.
static class ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasParamsImpl
          Default implementation of SelectNamedGraphsStatementsDeltasParams
static interface ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult
          Interface for holding the results of the selectNamedGraphsStatementsDeltas prepared statement.
static class ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResultImpl
          Default implementation of SelectNamedGraphsStatementsDeltasResult
static interface ReplicationRdbWrapper.SelectRoleDeltasParams
          Interface for managing the parameters to the selectRoleDeltas prepared statement.
static class ReplicationRdbWrapper.SelectRoleDeltasParamsImpl
          Default implementation of SelectRoleDeltasParams
static interface ReplicationRdbWrapper.SelectRoleDeltasResult
          Interface for holding the results of the selectRoleDeltas prepared statement.
static class ReplicationRdbWrapper.SelectRoleDeltasResultImpl
          Default implementation of SelectRoleDeltasResult
static interface ReplicationRdbWrapper.SelectSTRowsResult
          Interface for holding the results of the selectSTRows prepared statement.
static class ReplicationRdbWrapper.SelectSTRowsResultImpl
          Default implementation of SelectSTRowsResult
static interface ReplicationRdbWrapper.SelectSubRoleDeltasParams
          Interface for managing the parameters to the selectSubRoleDeltas prepared statement.
static class ReplicationRdbWrapper.SelectSubRoleDeltasParamsImpl
          Default implementation of SelectSubRoleDeltasParams
static interface ReplicationRdbWrapper.SelectSubRoleDeltasResult
          Interface for holding the results of the selectSubRoleDeltas prepared statement.
static class ReplicationRdbWrapper.SelectSubRoleDeltasResultImpl
          Default implementation of SelectSubRoleDeltasResult
static interface ReplicationRdbWrapper.SelectTrackerStatementsAdditionsResult
          Interface for holding the results of the selectTrackerStatementsAdditions prepared statement.
static class ReplicationRdbWrapper.SelectTrackerStatementsAdditionsResultImpl
          Default implementation of SelectTrackerStatementsAdditionsResult
static interface ReplicationRdbWrapper.SelectTrackerStatementsDeletionsResult
          Interface for holding the results of the selectTrackerStatementsDeletions prepared statement.
static class ReplicationRdbWrapper.SelectTrackerStatementsDeletionsResultImpl
          Default implementation of SelectTrackerStatementsDeletionsResult
static interface ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinParams
          Interface for managing the parameters to the selectTrackerStatementsDeltasJoin prepared statement.
static class ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinParamsImpl
          Default implementation of SelectTrackerStatementsDeltasJoinParams
static interface ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult
          Interface for holding the results of the selectTrackerStatementsDeltasJoin prepared statement.
static class ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResultImpl
          Default implementation of SelectTrackerStatementsDeltasJoinResult
static interface ReplicationRdbWrapper.SelectUniqueUrisResult
          Interface for holding the results of the selectUniqueUris prepared statement.
static class ReplicationRdbWrapper.SelectUniqueUrisResultImpl
          Default implementation of SelectUniqueUrisResult
static interface ReplicationRdbWrapper.SelectUserDeltasParams
          Interface for managing the parameters to the selectUserDeltas prepared statement.
static class ReplicationRdbWrapper.SelectUserDeltasParamsImpl
          Default implementation of SelectUserDeltasParams
static interface ReplicationRdbWrapper.SelectUserDeltasResult
          Interface for holding the results of the selectUserDeltas prepared statement.
static class ReplicationRdbWrapper.SelectUserDeltasResultImpl
          Default implementation of SelectUserDeltasResult
static interface ReplicationRdbWrapper.SelectUserRoleDeltasParams
          Interface for managing the parameters to the selectUserRoleDeltas prepared statement.
static class ReplicationRdbWrapper.SelectUserRoleDeltasParamsImpl
          Default implementation of SelectUserRoleDeltasParams
static interface ReplicationRdbWrapper.SelectUserRoleDeltasResult
          Interface for holding the results of the selectUserRoleDeltas prepared statement.
static class ReplicationRdbWrapper.SelectUserRoleDeltasResultImpl
          Default implementation of SelectUserRoleDeltasResult
 
Field Summary
static java.lang.String countDeltaStmtIds
          Constant "countDeltaStmtIds" used to reference prepared statement Replication.countDeltaStmtIds SELECT COUNT(*) FROM ${a}
static java.lang.String deleteDeltaStmtIds
          Constant "deleteDeltaStmtIds" used to reference prepared statement Replication.deleteDeltaStmtIds DELETE FROM ${a} WHERE ID IS NOT NULL
static java.lang.String insertAffectedNamedGraphIds
          Constant "insertAffectedNamedGraphIds" used to reference prepared statement Replication.insertAffectedNamedGraphIds INSERT INTO ${a}NAMEDGRAPHIDS(ID) SELECT DISTINCT NAMEDGRAPHID FROM ${a}${b} WHERE NAMEDGRAPHID IS NOT NULL UNION SELECT DISTINCT OLDNAMEDGRAPHID FROM ${a}${c} WHERE OLDNAMEDGRAPHID IS NOT NULL
static java.lang.String insertDeltaGraphIds
          Constant "insertDeltaGraphIds" used to reference prepared statement Replication.insertDeltaGraphIds INSERT INTO ${a}GRAPHID_TMP SELECT NG.ID FROM NAMEDGRAPHS NG WHERE (NG.HSTART BETWEEN ? AND ?) UNION SELECT NG.ID FROM NAMEDGRAPHS NG,ACIS WHERE ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?)) AND ACIS.ACLID = NG.ACLID
static java.lang.String insertDeltaStmtIds
          Constant "insertDeltaStmtIds" used to reference prepared statement Replication.insertDeltaStmtIds INSERT INTO ${a}STMTID_TMP SELECT S.ID FROM STATEMENTS S WHERE ((S.HSTART BETWEEN ? AND ?) OR (S.HEND IS NOT NULL AND S.HEND BETWEEN ? AND ?)) AND (S.ID BETWEEN ? AND ?) UNION SELECT S.ID FROM ${a}TT RHS, STATEMENTS S WHERE (RHS.MODIFIED BETWEEN ? AND ?) AND RHS.ID = S.NAMEDGRAPHID AND S.ID BETWEEN ? AND ?
static java.lang.String insertNamedGraphMods
          Constant "insertNamedGraphMods" used to reference prepared statement Replication.insertNamedGraphMods INSERT INTO ${a}TT (SELECT NAMEDGRAPHMODVIEW.MODIFIED, NAMEDGRAPHMODVIEW.NAMEDGRAPHID FROM NAMEDGRAPHMODVIEW WHERE NAMEDGRAPHMODVIEW.MODIFIED BETWEEN ? AND ?)
static java.lang.String insertSelectorTemp
          Constant "insertSelectorTemp" used to reference prepared statement Replication.insertSelectorTemp INSERT INTO ${a}REPLICATES_TMP (ID,SUBJ,PROP,OBJ,TRACKER,TYPE) VALUES (?,?,?,?,?,?);
static java.lang.String insertStmtIdsNew_0
          Constant "insertStmtIdsNew_0" used to reference prepared statement Replication.insertStmtIdsNew_0 INSERT INTO ${a}ST SELECT DISTINCT STATEMENTS.ID,STATEMENTS.NAMEDGRAPHID,0 FROM STATEMENTS WHERE EXISTS (SELECT ${a}${b}.TRACKER FROM ${a}${b} WHERE ${a}${b}.TRACKER=0 AND ${a}${b}.TYPE = 0) AND STATEMENTS.HSTART <= ? AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > ?) AND STATEMENTS.ID BETWEEN ? AND ? UNION SELECT DISTINCT STATEMENTS.ID,STATEMENTS.NAMEDGRAPHID,0 FROM STATEMENTS,${a}TT WHERE EXISTS (SELECT ${a}${c}.TRACKER FROM ${a}${c} WHERE ${a}${c}.TRACKER=1 AND ${a}${c}.TYPE = 0) AND STATEMENTS.NAMEDGRAPHID = ${a}TT.ID AND STATEMENTS.HSTART <= ? AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > ?) AND STATEMENTS.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_1
          Constant "insertStmtIdsNew_1" used to reference prepared statement Replication.insertStmtIdsNew_1 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_10
          Constant "insertStmtIdsNew_10" used to reference prepared statement Replication.insertStmtIdsNew_10 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_11
          Constant "insertStmtIdsNew_11" used to reference prepared statement Replication.insertStmtIdsNew_11 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 11 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=11 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_12
          Constant "insertStmtIdsNew_12" used to reference prepared statement Replication.insertStmtIdsNew_12 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_13
          Constant "insertStmtIdsNew_13" used to reference prepared statement Replication.insertStmtIdsNew_13 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 13 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=13 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_14
          Constant "insertStmtIdsNew_14" used to reference prepared statement Replication.insertStmtIdsNew_14 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_15
          Constant "insertStmtIdsNew_15" used to reference prepared statement Replication.insertStmtIdsNew_15 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 15 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=15 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_2
          Constant "insertStmtIdsNew_2" used to reference prepared statement Replication.insertStmtIdsNew_2 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 2 AND ( S.SUBJ = REP.SUBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=2 AND (S.SUBJ = REP.SUBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_3
          Constant "insertStmtIdsNew_3" used to reference prepared statement Replication.insertStmtIdsNew_3 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 3 AND (S.NAMEDGRAPHID=REP.ID) AND (S.SUBJ = REP.SUBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=3 AND (S.NAMEDGRAPHID=REP.ID) AND (S.SUBJ = REP.SUBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_4
          Constant "insertStmtIdsNew_4" used to reference prepared statement Replication.insertStmtIdsNew_4 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 4 AND (S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=4 AND (S.PROP = REP.PROP) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_5
          Constant "insertStmtIdsNew_5" used to reference prepared statement Replication.insertStmtIdsNew_5 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 5 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=5 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_6
          Constant "insertStmtIdsNew_6" used to reference prepared statement Replication.insertStmtIdsNew_6 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_7
          Constant "insertStmtIdsNew_7" used to reference prepared statement Replication.insertStmtIdsNew_7 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 7 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=7 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_8
          Constant "insertStmtIdsNew_8" used to reference prepared statement Replication.insertStmtIdsNew_8 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 8 AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=8 AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsNew_9
          Constant "insertStmtIdsNew_9" used to reference prepared statement Replication.insertStmtIdsNew_9 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 9 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=9 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_0
          Constant "insertStmtIdsOld_0" used to reference prepared statement Replication.insertStmtIdsOld_0 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}TT GRAPHMODS WHERE EXISTS ( SELECT * FROM ${a}REPLICATES_TMP REP WHERE REP.TRACKER=1 AND REP.TYPE = 0) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_1
          Constant "insertStmtIdsOld_1" used to reference prepared statement Replication.insertStmtIdsOld_1 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_10
          Constant "insertStmtIdsOld_10" used to reference prepared statement Replication.insertStmtIdsOld_10 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_11
          Constant "insertStmtIdsOld_11" used to reference prepared statement Replication.insertStmtIdsOld_11 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =11 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_12
          Constant "insertStmtIdsOld_12" used to reference prepared statement Replication.insertStmtIdsOld_12 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_13
          Constant "insertStmtIdsOld_13" used to reference prepared statement Replication.insertStmtIdsOld_13 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =13 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_14
          Constant "insertStmtIdsOld_14" used to reference prepared statement Replication.insertStmtIdsOld_14 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_15
          Constant "insertStmtIdsOld_15" used to reference prepared statement Replication.insertStmtIdsOld_15 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =15 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_2
          Constant "insertStmtIdsOld_2" used to reference prepared statement Replication.insertStmtIdsOld_2 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =2 AND (S.SUBJ = REP.SUBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_3
          Constant "insertStmtIdsOld_3" used to reference prepared statement Replication.insertStmtIdsOld_3 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =3 AND (REP.ID=S.NAMEDGRAPHID) AND (S.SUBJ = REP.SUBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_4
          Constant "insertStmtIdsOld_4" used to reference prepared statement Replication.insertStmtIdsOld_4 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =4 AND (S.PROP = REP.PROP) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_5
          Constant "insertStmtIdsOld_5" used to reference prepared statement Replication.insertStmtIdsOld_5 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =5 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.PROP = REP.PROP) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_6
          Constant "insertStmtIdsOld_6" used to reference prepared statement Replication.insertStmtIdsOld_6 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_7
          Constant "insertStmtIdsOld_7" used to reference prepared statement Replication.insertStmtIdsOld_7 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =7 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_8
          Constant "insertStmtIdsOld_8" used to reference prepared statement Replication.insertStmtIdsOld_8 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =8 AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertStmtIdsOld_9
          Constant "insertStmtIdsOld_9" used to reference prepared statement Replication.insertStmtIdsOld_9 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =9 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?
static java.lang.String insertTrackerStatementsDeltas
          Constant "insertTrackerStatementsDeltas" used to reference prepared statement Replication.insertTrackerStatementsDeltas INSERT INTO ${a}RESULTS_TMP (ID, NAMEDGRAPHID, SUBJ, PROP, OBJ,OLDID,OLDNAMEDGRAPHID) SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND EXISTS (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.ROLEID=ACIS.ROLEID AND UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 FULL OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND EXISTS (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.ROLEID=ACIS.ROLEID AND UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID ORDER BY DATA2.NEWID;
static java.lang.String insertTrackerStatementsDeltasJoin
          Constant "insertTrackerStatementsDeltasJoin" used to reference prepared statement Replication.insertTrackerStatementsDeltasJoin INSERT INTO ${a}RESULTS_TMP (ID,NAMEDGRAPHID,SUBJ,PROP,OBJ,OLDID,OLDNAMEDGRAPHID) VALUES(?,?,?,?,?,?,?);
static java.lang.String selectAciMaskDeltas
          Constant "selectAciMaskDeltas" used to reference prepared statement Replication.selectAciMaskDeltas SELECT SA.ACLID, SA.ROLEID, SA.CANREAD, SA.CANADD, SA.CANREMOVE,SA.CANINSERTNAMEDGRAPH,SA.CANREMOVENAMEDGRAPH, SA.CANCHANGENAMEDGRAPHACL,SA.HSTART,SA.HEND FROM ACIS SA,USERS USERS WHERE (SA.HSTART BETWEEN ? AND ?) OR (SA.HEND BETWEEN ? AND ?) AND SA.ACLID = USERS.DEFAULTACLID AND (USERS.HSTART BETWEEN ? AND ?) OR (USERS.HEND BETWEEN ? AND ?)
static java.lang.String selectCanReadSystemGraphDelta
          Constant "selectCanReadSystemGraphDelta" used to reference prepared statement Replication.selectCanReadSystemGraphDelta SELECT MAX(ACIS.CANREAD) FROM NAMEDGRAPHS NG,ACIS WHERE NG.ID = ? AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?)
static java.lang.String selectCollectionAdditions
          Constant "selectCollectionAdditions" used to reference prepared statement Replication.selectCollectionAdditions SELECT ID,SUBJ,PROP,OBJ,NAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE ID IS NOT NULL;
static java.lang.String selectDeltaNamedGraphInfo
          Constant "selectDeltaNamedGraphInfo" used to reference prepared statement Replication.selectDeltaNamedGraphInfo SELECT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT DISTINCT ID FROM ${a}NAMEDGRAPHIDS)
static java.lang.String selectNamedGraphMetaInfoAdditions
          Constant "selectNamedGraphMetaInfoAdditions" used to reference prepared statement Replication.selectNamedGraphMetaInfoAdditions SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART >= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >= ?)
static java.lang.String selectNamedGraphMetaInfoDeletions
          Constant "selectNamedGraphMetaInfoDeletions" used to reference prepared statement Replication.selectNamedGraphMetaInfoDeletions SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND <= ?)
static java.lang.String selectNamedGraphsStatementsDeltas
          Constant "selectNamedGraphsStatementsDeltas" used to reference prepared statement Replication.selectNamedGraphsStatementsDeltas SELECT NEWID,OLDID,NEWACLID,OLDACLID,NEWREVISION,OLDREVISION,CREATEDBY,HSTART,METAID,LASTMODIFIEDBY FROM ( SELECT NEW1.ID AS NEWID,OLD1.ID AS OLDID,NEW1.ACLID AS NEWACLID,OLD1.ACLID AS OLDACLID,NEW1.REVISION AS NEWREVISION,OLD1.REVISION AS OLDREVISION,NEW1.CREATEDBY,NEW1.HSTART,NEW1.METAID,NEW1.LASTMODIFIEDBY FROM ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG,ACIS, ${a}${b} REP WHERE (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) NEW1 FULL OUTER JOIN ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID FROM NAMEDGRAPHS NG,ACIS, ${a}${c} REP WHERE REP.TRACKER=1 AND (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL OR (DATA.NEWREVISION != DATA.OLDREVISION)
static java.lang.String selectRoleDeltas
          Constant "selectRoleDeltas" used to reference prepared statement Replication.selectRoleDeltas SELECT ROLE.ID,ROLE.HSTART,ROLE.HEND FROM ROLES ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)
static java.lang.String selectSTRows
          Constant "selectSTRows" used to reference prepared statement Replication.selectSTRows SELECT ID ,NAMEDGRAPHID ,TYPE,COUNT(*) AS COUNTER FROM ${a}ST GROUP BY (ID,NAMEDGRAPHID,TYPE) ORDER BY ID,NAMEDGRAPHID,TYPE
static java.lang.String selectSubRoleDeltas
          Constant "selectSubRoleDeltas" used to reference prepared statement Replication.selectSubRoleDeltas SELECT ROLE.ID,ROLE.PARENTID,ROLE.HSTART,ROLE.HEND FROM SUBROLEOF ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)
static java.lang.String selectTrackerStatementsAdditions
          Constant "selectTrackerStatementsAdditions" used to reference prepared statement Replication.selectTrackerStatementsAdditions SELECT ID,SUBJ,PROP,OBJ,NAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE ID IS NOT NULL AND ID != 0;
static java.lang.String selectTrackerStatementsDeletions
          Constant "selectTrackerStatementsDeletions" used to reference prepared statement Replication.selectTrackerStatementsDeletions SELECT OLDID,SUBJ,PROP,OBJ,OLDNAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE OLDID IS NOT NULL AND OLDID != 0;
static java.lang.String selectTrackerStatementsDeltasJoin
          Constant "selectTrackerStatementsDeltasJoin" used to reference prepared statement Replication.selectTrackerStatementsDeltasJoin SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 LEFT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) UNION SELECT NEW2.ID AS NEWID, OLD2.ID AS OLDID, NEW2.NAMEDGRAPHID AS NAMEDGRAPHID, OLD2.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${d} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW2 RIGHT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${e} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD2 ON (NEW2.ID=OLD2.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID;
static java.lang.String selectUniqueIds
          Constant "selectUniqueIds" used to reference prepared statement Replication.selectUniqueIds SELECT ID FROM ${a}NAMEDGRAPHIDS UNION SELECT SUBJ FROM ${a}${b} UNION SELECT PROP FROM ${a}${c} UNION SELECT NAMEDGRAPHID FROM ${a}${d} UNION SELECT OBJ FROM ${a}${e};
static java.lang.String selectUniqueUris
          Constant "selectUniqueUris" used to reference prepared statement Replication.selectUniqueUris SELECT DISTINCT ${a}_U.ID,${a}_U.VALUE FROM ${a}_U WHERE ${a}_U.ID IN (SELECT ID FROM ${b}NAMEDGRAPHIDS UNION SELECT SUBJ FROM ${b}${c} UNION SELECT PROP FROM ${b}${d} UNION SELECT NAMEDGRAPHID FROM ${b}${e} UNION SELECT OBJ FROM ${b}${f});
static java.lang.String selectUserDeltas
          Constant "selectUserDeltas" used to reference prepared statement Replication.selectUserDeltas SELECT ID,USERID,DEFAULTROLEID,DEFAULTACLID,HSTART,HEND FROM USERS WHERE (HSTART BETWEEN ? AND ?) OR (HEND BETWEEN ? AND ?)
static java.lang.String selectUserRoleDeltas
          Constant "selectUserRoleDeltas" used to reference prepared statement Replication.selectUserRoleDeltas SELECT UR.ROLEID,UR.USERID,HSTART,HEND FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?) OR (UR.HEND BETWEEN ? AND ?)
 
Constructor Summary
ReplicationRdbWrapper()
           
 
Method Summary
static java.lang.Long countDeltaStmtIds(PreparedStatementCache sqlCache, java.lang.String table)
          Runs the countDeltaStmtIds prepared statement.
static int deleteDeltaStmtIds(PreparedStatementCache sqlCache, java.lang.String table)
          Runs the deleteDeltaStmtIds prepared statement.
static int insertAffectedNamedGraphIds(PreparedStatementCache sqlCache, java.lang.String sessionPrefix, java.lang.String resultsTmp1, java.lang.String resultsTmp2)
          Runs the insertAffectedNamedGraphIds prepared statement.
static int insertDeltaGraphIds(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, java.lang.Long start2, java.lang.Long end2, java.lang.String sessionPrefix)
          Runs the insertDeltaGraphIds prepared statement.
static int insertDeltaGraphIds(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertDeltaGraphIdsParams params, java.lang.String sessionPrefix)
          Runs the insertDeltaGraphIds prepared statement.
static int insertDeltaStmtIds(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, java.lang.Long start2, java.lang.Long end2, long startId, long endId, java.lang.Long start3, java.lang.Long end3, long startId2, long endId2)
          Runs the insertDeltaStmtIds prepared statement.
static int insertDeltaStmtIds(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertDeltaStmtIdsParams params)
          Runs the insertDeltaStmtIds prepared statement.
static int insertNamedGraphMods(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, java.lang.String sessionPrefix)
          Runs the insertNamedGraphMods prepared statement.
static int insertNamedGraphMods(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertNamedGraphModsParams params, java.lang.String sessionPrefix)
          Runs the insertNamedGraphMods prepared statement.
static int insertSelectorTemp(PreparedStatementCache sqlCache, long namedGraphId, long subj, long prop, long obj, long tracker, long type, java.lang.String sessionPrefix)
          Runs the insertSelectorTemp prepared statement.
static int insertSelectorTemp(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertSelectorTempParams params, java.lang.String sessionPrefix)
          Runs the insertSelectorTemp prepared statement.
static int insertStmtIdsNew_0(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_0 prepared statement.
static int insertStmtIdsNew_0(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_0Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_0 prepared statement.
static int insertStmtIdsNew_1(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_1 prepared statement.
static int insertStmtIdsNew_1(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_1Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_1 prepared statement.
static int insertStmtIdsNew_10(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_10 prepared statement.
static int insertStmtIdsNew_10(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_10Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_10 prepared statement.
static int insertStmtIdsNew_11(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_11 prepared statement.
static int insertStmtIdsNew_11(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_11Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_11 prepared statement.
static int insertStmtIdsNew_12(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_12 prepared statement.
static int insertStmtIdsNew_12(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_12Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_12 prepared statement.
static int insertStmtIdsNew_13(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_13 prepared statement.
static int insertStmtIdsNew_13(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_13Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_13 prepared statement.
static int insertStmtIdsNew_14(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_14 prepared statement.
static int insertStmtIdsNew_14(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_14Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_14 prepared statement.
static int insertStmtIdsNew_15(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_15 prepared statement.
static int insertStmtIdsNew_15(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_15Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_15 prepared statement.
static int insertStmtIdsNew_2(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_2 prepared statement.
static int insertStmtIdsNew_2(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_2Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_2 prepared statement.
static int insertStmtIdsNew_3(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_3 prepared statement.
static int insertStmtIdsNew_3(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_3Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_3 prepared statement.
static int insertStmtIdsNew_4(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_4 prepared statement.
static int insertStmtIdsNew_4(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_4Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_4 prepared statement.
static int insertStmtIdsNew_5(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_5 prepared statement.
static int insertStmtIdsNew_5(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_5Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_5 prepared statement.
static int insertStmtIdsNew_6(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_6 prepared statement.
static int insertStmtIdsNew_6(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_6Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_6 prepared statement.
static int insertStmtIdsNew_7(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_7 prepared statement.
static int insertStmtIdsNew_7(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_7Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_7 prepared statement.
static int insertStmtIdsNew_8(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_8 prepared statement.
static int insertStmtIdsNew_8(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_8Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_8 prepared statement.
static int insertStmtIdsNew_9(PreparedStatementCache sqlCache, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_9 prepared statement.
static int insertStmtIdsNew_9(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsNew_9Params params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the insertStmtIdsNew_9 prepared statement.
static int insertStmtIdsOld_0(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_0 prepared statement.
static int insertStmtIdsOld_0(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_0Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_0 prepared statement.
static int insertStmtIdsOld_1(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_1 prepared statement.
static int insertStmtIdsOld_1(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_1Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_1 prepared statement.
static int insertStmtIdsOld_10(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_10 prepared statement.
static int insertStmtIdsOld_10(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_10Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_10 prepared statement.
static int insertStmtIdsOld_11(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_11 prepared statement.
static int insertStmtIdsOld_11(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_11Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_11 prepared statement.
static int insertStmtIdsOld_12(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_12 prepared statement.
static int insertStmtIdsOld_12(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_12Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_12 prepared statement.
static int insertStmtIdsOld_13(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_13 prepared statement.
static int insertStmtIdsOld_13(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_13Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_13 prepared statement.
static int insertStmtIdsOld_14(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_14 prepared statement.
static int insertStmtIdsOld_14(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_14Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_14 prepared statement.
static int insertStmtIdsOld_15(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_15 prepared statement.
static int insertStmtIdsOld_15(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_15Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_15 prepared statement.
static int insertStmtIdsOld_2(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_2 prepared statement.
static int insertStmtIdsOld_2(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_2Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_2 prepared statement.
static int insertStmtIdsOld_3(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_3 prepared statement.
static int insertStmtIdsOld_3(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_3Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_3 prepared statement.
static int insertStmtIdsOld_4(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_4 prepared statement.
static int insertStmtIdsOld_4(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_4Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_4 prepared statement.
static int insertStmtIdsOld_5(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_5 prepared statement.
static int insertStmtIdsOld_5(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_5Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_5 prepared statement.
static int insertStmtIdsOld_6(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_6 prepared statement.
static int insertStmtIdsOld_6(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_6Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_6 prepared statement.
static int insertStmtIdsOld_7(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_7 prepared statement.
static int insertStmtIdsOld_7(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_7Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_7 prepared statement.
static int insertStmtIdsOld_8(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_8 prepared statement.
static int insertStmtIdsOld_8(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_8Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_8 prepared statement.
static int insertStmtIdsOld_9(PreparedStatementCache sqlCache, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_9 prepared statement.
static int insertStmtIdsOld_9(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertStmtIdsOld_9Params params, java.lang.String sessionPrefix)
          Runs the insertStmtIdsOld_9 prepared statement.
static int insertTrackerStatementsDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long now3, java.lang.Long now4, java.lang.Long now5, java.lang.Long now6, java.lang.Long userId1, java.lang.Long then1, java.lang.Long then2, java.lang.Long then3, java.lang.Long then4, java.lang.Long then5, java.lang.Long then6, java.lang.Long userId2, java.lang.String sessionPrefix, java.lang.String st1, java.lang.String st2)
          Runs the insertTrackerStatementsDeltas prepared statement.
static int insertTrackerStatementsDeltas(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertTrackerStatementsDeltasParams params, java.lang.String sessionPrefix, java.lang.String st1, java.lang.String st2)
          Runs the insertTrackerStatementsDeltas prepared statement.
static int insertTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache, long id, long namedgraphid, long subj, long prop, long obj, long oldid, long oldnamedgraphid, java.lang.String sessionPrefix)
          Runs the insertTrackerStatementsDeltasJoin prepared statement.
static int insertTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache, ReplicationRdbWrapper.InsertTrackerStatementsDeltasJoinParams params, java.lang.String sessionPrefix)
          Runs the insertTrackerStatementsDeltasJoin prepared statement.
static void prepareCountDeltaStmtIds(java.sql.PreparedStatement ps)
          Sets the input parameters for the countDeltaStmtIds prepared statement.
static void prepareDeleteDeltaStmtIds(java.sql.PreparedStatement ps)
          Sets the input parameters for the deleteDeltaStmtIds prepared statement.
static void prepareInsertAffectedNamedGraphIds(java.sql.PreparedStatement ps)
          Sets the input parameters for the insertAffectedNamedGraphIds prepared statement.
static void prepareInsertDeltaGraphIds(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, java.lang.Long start2, java.lang.Long end2)
          Sets the input parameters for the insertDeltaGraphIds prepared statement.
static void prepareInsertDeltaStmtIds(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, java.lang.Long start2, java.lang.Long end2, long startId, long endId, java.lang.Long start3, java.lang.Long end3, long startId2, long endId2)
          Sets the input parameters for the insertDeltaStmtIds prepared statement.
static void prepareInsertNamedGraphMods(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1)
          Sets the input parameters for the insertNamedGraphMods prepared statement.
static void prepareInsertSelectorTemp(java.sql.PreparedStatement ps, long namedGraphId, long subj, long prop, long obj, long tracker, long type)
          Sets the input parameters for the insertSelectorTemp prepared statement.
static void prepareInsertStmtIdsNew_0(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_0 prepared statement.
static void prepareInsertStmtIdsNew_1(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_1 prepared statement.
static void prepareInsertStmtIdsNew_10(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_10 prepared statement.
static void prepareInsertStmtIdsNew_11(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_11 prepared statement.
static void prepareInsertStmtIdsNew_12(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_12 prepared statement.
static void prepareInsertStmtIdsNew_13(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_13 prepared statement.
static void prepareInsertStmtIdsNew_14(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_14 prepared statement.
static void prepareInsertStmtIdsNew_15(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_15 prepared statement.
static void prepareInsertStmtIdsNew_2(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_2 prepared statement.
static void prepareInsertStmtIdsNew_3(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_3 prepared statement.
static void prepareInsertStmtIdsNew_4(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_4 prepared statement.
static void prepareInsertStmtIdsNew_5(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_5 prepared statement.
static void prepareInsertStmtIdsNew_6(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_6 prepared statement.
static void prepareInsertStmtIdsNew_7(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_7 prepared statement.
static void prepareInsertStmtIdsNew_8(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_8 prepared statement.
static void prepareInsertStmtIdsNew_9(java.sql.PreparedStatement ps, java.lang.Long start1, java.lang.Long end1, long startId, long endId, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsNew_9 prepared statement.
static void prepareInsertStmtIdsOld_0(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_0 prepared statement.
static void prepareInsertStmtIdsOld_1(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_1 prepared statement.
static void prepareInsertStmtIdsOld_10(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_10 prepared statement.
static void prepareInsertStmtIdsOld_11(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_11 prepared statement.
static void prepareInsertStmtIdsOld_12(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_12 prepared statement.
static void prepareInsertStmtIdsOld_13(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_13 prepared statement.
static void prepareInsertStmtIdsOld_14(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_14 prepared statement.
static void prepareInsertStmtIdsOld_15(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_15 prepared statement.
static void prepareInsertStmtIdsOld_2(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_2 prepared statement.
static void prepareInsertStmtIdsOld_3(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_3 prepared statement.
static void prepareInsertStmtIdsOld_4(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_4 prepared statement.
static void prepareInsertStmtIdsOld_5(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_5 prepared statement.
static void prepareInsertStmtIdsOld_6(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_6 prepared statement.
static void prepareInsertStmtIdsOld_7(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_7 prepared statement.
static void prepareInsertStmtIdsOld_8(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_8 prepared statement.
static void prepareInsertStmtIdsOld_9(java.sql.PreparedStatement ps, java.lang.Long start2, java.lang.Long end2, long startId2, long endId2)
          Sets the input parameters for the insertStmtIdsOld_9 prepared statement.
static void prepareInsertTrackerStatementsDeltas(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long now2, java.lang.Long now3, java.lang.Long now4, java.lang.Long now5, java.lang.Long now6, java.lang.Long userId1, java.lang.Long then1, java.lang.Long then2, java.lang.Long then3, java.lang.Long then4, java.lang.Long then5, java.lang.Long then6, java.lang.Long userId2)
          Sets the input parameters for the insertTrackerStatementsDeltas prepared statement.
static void prepareInsertTrackerStatementsDeltasJoin(java.sql.PreparedStatement ps, long id, long namedgraphid, long subj, long prop, long obj, long oldid, long oldnamedgraphid)
          Sets the input parameters for the insertTrackerStatementsDeltasJoin prepared statement.
static void prepareSelectAciMaskDeltas(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long then2, java.lang.Long now3, java.lang.Long now4, java.lang.Long then3, java.lang.Long then4)
          Sets the input parameters for the selectAciMaskDeltas prepared statement.
static void prepareSelectCanReadSystemGraphDelta(java.sql.PreparedStatement ps, java.lang.Long systemGraphId, java.lang.Long now1, java.lang.Long now2, java.lang.Long now5, java.lang.Long now6, java.lang.Long now7, java.lang.Long now8, java.lang.Long userId1)
          Sets the input parameters for the selectCanReadSystemGraphDelta prepared statement.
static void prepareSelectCollectionAdditions(java.sql.PreparedStatement ps)
          Sets the input parameters for the selectCollectionAdditions prepared statement.
static void prepareSelectDeltaNamedGraphInfo(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long now2)
          Sets the input parameters for the selectDeltaNamedGraphInfo prepared statement.
static void prepareSelectNamedGraphMetaInfoAdditions(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long now3)
          Sets the input parameters for the selectNamedGraphMetaInfoAdditions prepared statement.
static void prepareSelectNamedGraphMetaInfoDeletions(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long now3)
          Sets the input parameters for the selectNamedGraphMetaInfoDeletions prepared statement.
static void prepareSelectNamedGraphsStatementsDeltas(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long now2, java.lang.Long now3, java.lang.Long now4, java.lang.Long now5, java.lang.Long now6, java.lang.Long userId1, java.lang.Long then1, java.lang.Long then2, java.lang.Long then3, java.lang.Long then4, java.lang.Long then5, java.lang.Long then6, java.lang.Long userId2)
          Sets the input parameters for the selectNamedGraphsStatementsDeltas prepared statement.
static void prepareSelectRoleDeltas(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2)
          Sets the input parameters for the selectRoleDeltas prepared statement.
static void prepareSelectSTRows(java.sql.PreparedStatement ps)
          Sets the input parameters for the selectSTRows prepared statement.
static void prepareSelectSubRoleDeltas(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long then2)
          Sets the input parameters for the selectSubRoleDeltas prepared statement.
static void prepareSelectTrackerStatementsAdditions(java.sql.PreparedStatement ps)
          Sets the input parameters for the selectTrackerStatementsAdditions prepared statement.
static void prepareSelectTrackerStatementsDeletions(java.sql.PreparedStatement ps)
          Sets the input parameters for the selectTrackerStatementsDeletions prepared statement.
static void prepareSelectTrackerStatementsDeltasJoin(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long now2, java.lang.Long now3, java.lang.Long now4, java.lang.Long now5, java.lang.Long now6, java.lang.Long userId1, java.lang.Long now7, java.lang.Long now8, java.lang.Long now9, java.lang.Long now10, java.lang.Long now11, java.lang.Long now12, java.lang.Long userId3, java.lang.Long then1, java.lang.Long then2, java.lang.Long then3, java.lang.Long then4, java.lang.Long then5, java.lang.Long then6, java.lang.Long userId2, java.lang.Long then7, java.lang.Long then8, java.lang.Long then9, java.lang.Long then10, java.lang.Long then11, java.lang.Long then12, java.lang.Long userId4)
          Sets the input parameters for the selectTrackerStatementsDeltasJoin prepared statement.
static void prepareSelectUniqueIds(java.sql.PreparedStatement ps)
          Sets the input parameters for the selectUniqueIds prepared statement.
static void prepareSelectUniqueUris(java.sql.PreparedStatement ps)
          Sets the input parameters for the selectUniqueUris prepared statement.
static void prepareSelectUserDeltas(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2)
          Sets the input parameters for the selectUserDeltas prepared statement.
static void prepareSelectUserRoleDeltas(java.sql.PreparedStatement ps, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2)
          Sets the input parameters for the selectUserRoleDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectAciMaskDeltasResult> selectAciMaskDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long then2, java.lang.Long now3, java.lang.Long now4, java.lang.Long then3, java.lang.Long then4, java.lang.String sessionPrefix)
          Runs the selectAciMaskDeltas prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectAciMaskDeltasResult> selectAciMaskDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long then2, java.lang.Long now3, java.lang.Long now4, java.lang.Long then3, java.lang.Long then4, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectAciMaskDeltasResult> transform)
          Runs the selectAciMaskDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectAciMaskDeltasResult> selectAciMaskDeltas(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectAciMaskDeltasParams params, java.lang.String sessionPrefix)
          Runs the selectAciMaskDeltas prepared statement.
static java.lang.Long selectCanReadSystemGraphDelta(PreparedStatementCache sqlCache, java.lang.Long systemGraphId, java.lang.Long now1, java.lang.Long now2, java.lang.Long now5, java.lang.Long now6, java.lang.Long now7, java.lang.Long now8, java.lang.Long userId1, java.lang.String sessionPrefix)
          Runs the selectCanReadSystemGraphDelta prepared statement.
static java.lang.Long selectCanReadSystemGraphDelta(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectCanReadSystemGraphDeltaParams params, java.lang.String sessionPrefix)
          Runs the selectCanReadSystemGraphDelta prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectCollectionAdditionsResult> selectCollectionAdditions(PreparedStatementCache sqlCache, java.lang.String sessionPrefix)
          Runs the selectCollectionAdditions prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectCollectionAdditionsResult> selectCollectionAdditions(PreparedStatementCache sqlCache, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectCollectionAdditionsResult> transform)
          Runs the selectCollectionAdditions prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult> selectDeltaNamedGraphInfo(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.String sessionPrefix)
          Runs the selectDeltaNamedGraphInfo prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult> selectDeltaNamedGraphInfo(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult> transform)
          Runs the selectDeltaNamedGraphInfo prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult> selectDeltaNamedGraphInfo(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectDeltaNamedGraphInfoParams params, java.lang.String sessionPrefix)
          Runs the selectDeltaNamedGraphInfo prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult> selectNamedGraphMetaInfoAdditions(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long now3, java.lang.String sessionPrefix)
          Runs the selectNamedGraphMetaInfoAdditions prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult> selectNamedGraphMetaInfoAdditions(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long now3, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult> transform)
          Runs the selectNamedGraphMetaInfoAdditions prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult> selectNamedGraphMetaInfoAdditions(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsParams params, java.lang.String sessionPrefix)
          Runs the selectNamedGraphMetaInfoAdditions prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult> selectNamedGraphMetaInfoDeletions(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long now3, java.lang.String sessionPrefix)
          Runs the selectNamedGraphMetaInfoDeletions prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult> selectNamedGraphMetaInfoDeletions(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long now3, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult> transform)
          Runs the selectNamedGraphMetaInfoDeletions prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult> selectNamedGraphMetaInfoDeletions(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsParams params, java.lang.String sessionPrefix)
          Runs the selectNamedGraphMetaInfoDeletions prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult> selectNamedGraphsStatementsDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long now3, java.lang.Long now4, java.lang.Long now5, java.lang.Long now6, java.lang.Long userId1, java.lang.Long then1, java.lang.Long then2, java.lang.Long then3, java.lang.Long then4, java.lang.Long then5, java.lang.Long then6, java.lang.Long userId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the selectNamedGraphsStatementsDeltas prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult> selectNamedGraphsStatementsDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long now3, java.lang.Long now4, java.lang.Long now5, java.lang.Long now6, java.lang.Long userId1, java.lang.Long then1, java.lang.Long then2, java.lang.Long then3, java.lang.Long then4, java.lang.Long then5, java.lang.Long then6, java.lang.Long userId2, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2, Transformer<ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult> transform)
          Runs the selectNamedGraphsStatementsDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult> selectNamedGraphsStatementsDeltas(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasParams params, java.lang.String sessionPrefix, java.lang.String replicatesTmp1, java.lang.String replicatesTmp2)
          Runs the selectNamedGraphsStatementsDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectRoleDeltasResult> selectRoleDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2, java.lang.String sessionPrefix)
          Runs the selectRoleDeltas prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectRoleDeltasResult> selectRoleDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectRoleDeltasResult> transform)
          Runs the selectRoleDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectRoleDeltasResult> selectRoleDeltas(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectRoleDeltasParams params, java.lang.String sessionPrefix)
          Runs the selectRoleDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectSTRowsResult> selectSTRows(PreparedStatementCache sqlCache, java.lang.String sessionPrefix)
          Runs the selectSTRows prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectSTRowsResult> selectSTRows(PreparedStatementCache sqlCache, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectSTRowsResult> transform)
          Runs the selectSTRows prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectSubRoleDeltasResult> selectSubRoleDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long then2, java.lang.String sessionPrefix)
          Runs the selectSubRoleDeltas prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectSubRoleDeltasResult> selectSubRoleDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long then1, java.lang.Long then2, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectSubRoleDeltasResult> transform)
          Runs the selectSubRoleDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectSubRoleDeltasResult> selectSubRoleDeltas(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectSubRoleDeltasParams params, java.lang.String sessionPrefix)
          Runs the selectSubRoleDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsAdditionsResult> selectTrackerStatementsAdditions(PreparedStatementCache sqlCache, java.lang.String sessionPrefix)
          Runs the selectTrackerStatementsAdditions prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsAdditionsResult> selectTrackerStatementsAdditions(PreparedStatementCache sqlCache, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectTrackerStatementsAdditionsResult> transform)
          Runs the selectTrackerStatementsAdditions prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeletionsResult> selectTrackerStatementsDeletions(PreparedStatementCache sqlCache, java.lang.String sessionPrefix)
          Runs the selectTrackerStatementsDeletions prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeletionsResult> selectTrackerStatementsDeletions(PreparedStatementCache sqlCache, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectTrackerStatementsDeletionsResult> transform)
          Runs the selectTrackerStatementsDeletions prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult> selectTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long now3, java.lang.Long now4, java.lang.Long now5, java.lang.Long now6, java.lang.Long userId1, java.lang.Long now7, java.lang.Long now8, java.lang.Long now9, java.lang.Long now10, java.lang.Long now11, java.lang.Long now12, java.lang.Long userId3, java.lang.Long then1, java.lang.Long then2, java.lang.Long then3, java.lang.Long then4, java.lang.Long then5, java.lang.Long then6, java.lang.Long userId2, java.lang.Long then7, java.lang.Long then8, java.lang.Long then9, java.lang.Long then10, java.lang.Long then11, java.lang.Long then12, java.lang.Long userId4, java.lang.String sessionPrefix, java.lang.String st1, java.lang.String st2, java.lang.String st3, java.lang.String st4)
          Runs the selectTrackerStatementsDeltasJoin prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult> selectTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long now2, java.lang.Long now3, java.lang.Long now4, java.lang.Long now5, java.lang.Long now6, java.lang.Long userId1, java.lang.Long now7, java.lang.Long now8, java.lang.Long now9, java.lang.Long now10, java.lang.Long now11, java.lang.Long now12, java.lang.Long userId3, java.lang.Long then1, java.lang.Long then2, java.lang.Long then3, java.lang.Long then4, java.lang.Long then5, java.lang.Long then6, java.lang.Long userId2, java.lang.Long then7, java.lang.Long then8, java.lang.Long then9, java.lang.Long then10, java.lang.Long then11, java.lang.Long then12, java.lang.Long userId4, java.lang.String sessionPrefix, java.lang.String st1, java.lang.String st2, java.lang.String st3, java.lang.String st4, Transformer<ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult> transform)
          Runs the selectTrackerStatementsDeltasJoin prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult> selectTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinParams params, java.lang.String sessionPrefix, java.lang.String st1, java.lang.String st2, java.lang.String st3, java.lang.String st4)
          Runs the selectTrackerStatementsDeltasJoin prepared statement.
static ClosableIterator<java.lang.Long> selectUniqueIds(PreparedStatementCache sqlCache, java.lang.String sessionPrefix, java.lang.String resultsTmp1, java.lang.String resultsTmp2, java.lang.String resultsTmp3, java.lang.String resultsTmp4)
          Runs the selectUniqueIds prepared statement with the default transformer.
static ClosableIterator<java.lang.Long> selectUniqueIds(PreparedStatementCache sqlCache, java.lang.String sessionPrefix, java.lang.String resultsTmp1, java.lang.String resultsTmp2, java.lang.String resultsTmp3, java.lang.String resultsTmp4, Transformer<java.lang.Long> transform)
          Runs the selectUniqueIds prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectUniqueUrisResult> selectUniqueUris(PreparedStatementCache sqlCache, java.lang.String tableNamePrefix, java.lang.String sessionPrefix, java.lang.String resultsTmp1, java.lang.String resultsTmp2, java.lang.String resultsTmp3, java.lang.String resultsTmp4)
          Runs the selectUniqueUris prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectUniqueUrisResult> selectUniqueUris(PreparedStatementCache sqlCache, java.lang.String tableNamePrefix, java.lang.String sessionPrefix, java.lang.String resultsTmp1, java.lang.String resultsTmp2, java.lang.String resultsTmp3, java.lang.String resultsTmp4, Transformer<ReplicationRdbWrapper.SelectUniqueUrisResult> transform)
          Runs the selectUniqueUris prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectUserDeltasResult> selectUserDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2, java.lang.String sessionPrefix)
          Runs the selectUserDeltas prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectUserDeltasResult> selectUserDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectUserDeltasResult> transform)
          Runs the selectUserDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectUserDeltasResult> selectUserDeltas(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectUserDeltasParams params, java.lang.String sessionPrefix)
          Runs the selectUserDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectUserRoleDeltasResult> selectUserRoleDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2, java.lang.String sessionPrefix)
          Runs the selectUserRoleDeltas prepared statement with the default transformer.
static ClosableIterator<ReplicationRdbWrapper.SelectUserRoleDeltasResult> selectUserRoleDeltas(PreparedStatementCache sqlCache, java.lang.Long now1, java.lang.Long then1, java.lang.Long now2, java.lang.Long then2, java.lang.String sessionPrefix, Transformer<ReplicationRdbWrapper.SelectUserRoleDeltasResult> transform)
          Runs the selectUserRoleDeltas prepared statement.
static ClosableIterator<ReplicationRdbWrapper.SelectUserRoleDeltasResult> selectUserRoleDeltas(PreparedStatementCache sqlCache, ReplicationRdbWrapper.SelectUserRoleDeltasParams params, java.lang.String sessionPrefix)
          Runs the selectUserRoleDeltas prepared statement.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

insertSelectorTemp

public static final java.lang.String insertSelectorTemp
Constant "insertSelectorTemp" used to reference prepared statement Replication.insertSelectorTemp INSERT INTO ${a}REPLICATES_TMP (ID,SUBJ,PROP,OBJ,TRACKER,TYPE) VALUES (?,?,?,?,?,?);

See Also:
Constant Field Values

deleteDeltaStmtIds

public static final java.lang.String deleteDeltaStmtIds
Constant "deleteDeltaStmtIds" used to reference prepared statement Replication.deleteDeltaStmtIds DELETE FROM ${a} WHERE ID IS NOT NULL

See Also:
Constant Field Values

countDeltaStmtIds

public static final java.lang.String countDeltaStmtIds
Constant "countDeltaStmtIds" used to reference prepared statement Replication.countDeltaStmtIds SELECT COUNT(*) FROM ${a}

See Also:
Constant Field Values

insertNamedGraphMods

public static final java.lang.String insertNamedGraphMods
Constant "insertNamedGraphMods" used to reference prepared statement Replication.insertNamedGraphMods INSERT INTO ${a}TT (SELECT NAMEDGRAPHMODVIEW.MODIFIED, NAMEDGRAPHMODVIEW.NAMEDGRAPHID FROM NAMEDGRAPHMODVIEW WHERE NAMEDGRAPHMODVIEW.MODIFIED BETWEEN ? AND ?)

See Also:
Constant Field Values

insertDeltaStmtIds

public static final java.lang.String insertDeltaStmtIds
Constant "insertDeltaStmtIds" used to reference prepared statement Replication.insertDeltaStmtIds INSERT INTO ${a}STMTID_TMP SELECT S.ID FROM STATEMENTS S WHERE ((S.HSTART BETWEEN ? AND ?) OR (S.HEND IS NOT NULL AND S.HEND BETWEEN ? AND ?)) AND (S.ID BETWEEN ? AND ?) UNION SELECT S.ID FROM ${a}TT RHS, STATEMENTS S WHERE (RHS.MODIFIED BETWEEN ? AND ?) AND RHS.ID = S.NAMEDGRAPHID AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

selectCollectionAdditions

public static final java.lang.String selectCollectionAdditions
Constant "selectCollectionAdditions" used to reference prepared statement Replication.selectCollectionAdditions SELECT ID,SUBJ,PROP,OBJ,NAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE ID IS NOT NULL;

See Also:
Constant Field Values

selectTrackerStatementsAdditions

public static final java.lang.String selectTrackerStatementsAdditions
Constant "selectTrackerStatementsAdditions" used to reference prepared statement Replication.selectTrackerStatementsAdditions SELECT ID,SUBJ,PROP,OBJ,NAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE ID IS NOT NULL AND ID != 0;

See Also:
Constant Field Values

selectTrackerStatementsDeletions

public static final java.lang.String selectTrackerStatementsDeletions
Constant "selectTrackerStatementsDeletions" used to reference prepared statement Replication.selectTrackerStatementsDeletions SELECT OLDID,SUBJ,PROP,OBJ,OLDNAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE OLDID IS NOT NULL AND OLDID != 0;

See Also:
Constant Field Values

selectUniqueUris

public static final java.lang.String selectUniqueUris
Constant "selectUniqueUris" used to reference prepared statement Replication.selectUniqueUris SELECT DISTINCT ${a}_U.ID,${a}_U.VALUE FROM ${a}_U WHERE ${a}_U.ID IN (SELECT ID FROM ${b}NAMEDGRAPHIDS UNION SELECT SUBJ FROM ${b}${c} UNION SELECT PROP FROM ${b}${d} UNION SELECT NAMEDGRAPHID FROM ${b}${e} UNION SELECT OBJ FROM ${b}${f});

See Also:
Constant Field Values

selectUniqueIds

public static final java.lang.String selectUniqueIds
Constant "selectUniqueIds" used to reference prepared statement Replication.selectUniqueIds SELECT ID FROM ${a}NAMEDGRAPHIDS UNION SELECT SUBJ FROM ${a}${b} UNION SELECT PROP FROM ${a}${c} UNION SELECT NAMEDGRAPHID FROM ${a}${d} UNION SELECT OBJ FROM ${a}${e};

See Also:
Constant Field Values

selectSTRows

public static final java.lang.String selectSTRows
Constant "selectSTRows" used to reference prepared statement Replication.selectSTRows SELECT ID ,NAMEDGRAPHID ,TYPE,COUNT(*) AS COUNTER FROM ${a}ST GROUP BY (ID,NAMEDGRAPHID,TYPE) ORDER BY ID,NAMEDGRAPHID,TYPE

See Also:
Constant Field Values

selectDeltaNamedGraphInfo

public static final java.lang.String selectDeltaNamedGraphInfo
Constant "selectDeltaNamedGraphInfo" used to reference prepared statement Replication.selectDeltaNamedGraphInfo SELECT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT DISTINCT ID FROM ${a}NAMEDGRAPHIDS)

See Also:
Constant Field Values

selectNamedGraphMetaInfoAdditions

public static final java.lang.String selectNamedGraphMetaInfoAdditions
Constant "selectNamedGraphMetaInfoAdditions" used to reference prepared statement Replication.selectNamedGraphMetaInfoAdditions SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART >= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >= ?)

See Also:
Constant Field Values

selectNamedGraphMetaInfoDeletions

public static final java.lang.String selectNamedGraphMetaInfoDeletions
Constant "selectNamedGraphMetaInfoDeletions" used to reference prepared statement Replication.selectNamedGraphMetaInfoDeletions SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND <= ?)

See Also:
Constant Field Values

insertAffectedNamedGraphIds

public static final java.lang.String insertAffectedNamedGraphIds
Constant "insertAffectedNamedGraphIds" used to reference prepared statement Replication.insertAffectedNamedGraphIds INSERT INTO ${a}NAMEDGRAPHIDS(ID) SELECT DISTINCT NAMEDGRAPHID FROM ${a}${b} WHERE NAMEDGRAPHID IS NOT NULL UNION SELECT DISTINCT OLDNAMEDGRAPHID FROM ${a}${c} WHERE OLDNAMEDGRAPHID IS NOT NULL

See Also:
Constant Field Values

insertTrackerStatementsDeltas

public static final java.lang.String insertTrackerStatementsDeltas
Constant "insertTrackerStatementsDeltas" used to reference prepared statement Replication.insertTrackerStatementsDeltas INSERT INTO ${a}RESULTS_TMP (ID, NAMEDGRAPHID, SUBJ, PROP, OBJ,OLDID,OLDNAMEDGRAPHID) SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND EXISTS (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.ROLEID=ACIS.ROLEID AND UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 FULL OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND EXISTS (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.ROLEID=ACIS.ROLEID AND UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID ORDER BY DATA2.NEWID;

See Also:
Constant Field Values

insertTrackerStatementsDeltasJoin

public static final java.lang.String insertTrackerStatementsDeltasJoin
Constant "insertTrackerStatementsDeltasJoin" used to reference prepared statement Replication.insertTrackerStatementsDeltasJoin INSERT INTO ${a}RESULTS_TMP (ID,NAMEDGRAPHID,SUBJ,PROP,OBJ,OLDID,OLDNAMEDGRAPHID) VALUES(?,?,?,?,?,?,?);

See Also:
Constant Field Values

selectTrackerStatementsDeltasJoin

public static final java.lang.String selectTrackerStatementsDeltasJoin
Constant "selectTrackerStatementsDeltasJoin" used to reference prepared statement Replication.selectTrackerStatementsDeltasJoin SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 LEFT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) UNION SELECT NEW2.ID AS NEWID, OLD2.ID AS OLDID, NEW2.NAMEDGRAPHID AS NAMEDGRAPHID, OLD2.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${d} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW2 RIGHT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${e} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD2 ON (NEW2.ID=OLD2.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID;

See Also:
Constant Field Values

insertDeltaGraphIds

public static final java.lang.String insertDeltaGraphIds
Constant "insertDeltaGraphIds" used to reference prepared statement Replication.insertDeltaGraphIds INSERT INTO ${a}GRAPHID_TMP SELECT NG.ID FROM NAMEDGRAPHS NG WHERE (NG.HSTART BETWEEN ? AND ?) UNION SELECT NG.ID FROM NAMEDGRAPHS NG,ACIS WHERE ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?)) AND ACIS.ACLID = NG.ACLID

See Also:
Constant Field Values

selectUserDeltas

public static final java.lang.String selectUserDeltas
Constant "selectUserDeltas" used to reference prepared statement Replication.selectUserDeltas SELECT ID,USERID,DEFAULTROLEID,DEFAULTACLID,HSTART,HEND FROM USERS WHERE (HSTART BETWEEN ? AND ?) OR (HEND BETWEEN ? AND ?)

See Also:
Constant Field Values

selectUserRoleDeltas

public static final java.lang.String selectUserRoleDeltas
Constant "selectUserRoleDeltas" used to reference prepared statement Replication.selectUserRoleDeltas SELECT UR.ROLEID,UR.USERID,HSTART,HEND FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?) OR (UR.HEND BETWEEN ? AND ?)

See Also:
Constant Field Values

selectRoleDeltas

public static final java.lang.String selectRoleDeltas
Constant "selectRoleDeltas" used to reference prepared statement Replication.selectRoleDeltas SELECT ROLE.ID,ROLE.HSTART,ROLE.HEND FROM ROLES ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)

See Also:
Constant Field Values

selectSubRoleDeltas

public static final java.lang.String selectSubRoleDeltas
Constant "selectSubRoleDeltas" used to reference prepared statement Replication.selectSubRoleDeltas SELECT ROLE.ID,ROLE.PARENTID,ROLE.HSTART,ROLE.HEND FROM SUBROLEOF ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)

See Also:
Constant Field Values

selectAciMaskDeltas

public static final java.lang.String selectAciMaskDeltas
Constant "selectAciMaskDeltas" used to reference prepared statement Replication.selectAciMaskDeltas SELECT SA.ACLID, SA.ROLEID, SA.CANREAD, SA.CANADD, SA.CANREMOVE,SA.CANINSERTNAMEDGRAPH,SA.CANREMOVENAMEDGRAPH, SA.CANCHANGENAMEDGRAPHACL,SA.HSTART,SA.HEND FROM ACIS SA,USERS USERS WHERE (SA.HSTART BETWEEN ? AND ?) OR (SA.HEND BETWEEN ? AND ?) AND SA.ACLID = USERS.DEFAULTACLID AND (USERS.HSTART BETWEEN ? AND ?) OR (USERS.HEND BETWEEN ? AND ?)

See Also:
Constant Field Values

selectCanReadSystemGraphDelta

public static final java.lang.String selectCanReadSystemGraphDelta
Constant "selectCanReadSystemGraphDelta" used to reference prepared statement Replication.selectCanReadSystemGraphDelta SELECT MAX(ACIS.CANREAD) FROM NAMEDGRAPHS NG,ACIS WHERE NG.ID = ? AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?)

See Also:
Constant Field Values

selectNamedGraphsStatementsDeltas

public static final java.lang.String selectNamedGraphsStatementsDeltas
Constant "selectNamedGraphsStatementsDeltas" used to reference prepared statement Replication.selectNamedGraphsStatementsDeltas SELECT NEWID,OLDID,NEWACLID,OLDACLID,NEWREVISION,OLDREVISION,CREATEDBY,HSTART,METAID,LASTMODIFIEDBY FROM ( SELECT NEW1.ID AS NEWID,OLD1.ID AS OLDID,NEW1.ACLID AS NEWACLID,OLD1.ACLID AS OLDACLID,NEW1.REVISION AS NEWREVISION,OLD1.REVISION AS OLDREVISION,NEW1.CREATEDBY,NEW1.HSTART,NEW1.METAID,NEW1.LASTMODIFIEDBY FROM ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG,ACIS, ${a}${b} REP WHERE (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) NEW1 FULL OUTER JOIN ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID FROM NAMEDGRAPHS NG,ACIS, ${a}${c} REP WHERE REP.TRACKER=1 AND (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL OR (DATA.NEWREVISION != DATA.OLDREVISION)

See Also:
Constant Field Values

insertStmtIdsNew_0

public static final java.lang.String insertStmtIdsNew_0
Constant "insertStmtIdsNew_0" used to reference prepared statement Replication.insertStmtIdsNew_0 INSERT INTO ${a}ST SELECT DISTINCT STATEMENTS.ID,STATEMENTS.NAMEDGRAPHID,0 FROM STATEMENTS WHERE EXISTS (SELECT ${a}${b}.TRACKER FROM ${a}${b} WHERE ${a}${b}.TRACKER=0 AND ${a}${b}.TYPE = 0) AND STATEMENTS.HSTART <= ? AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > ?) AND STATEMENTS.ID BETWEEN ? AND ? UNION SELECT DISTINCT STATEMENTS.ID,STATEMENTS.NAMEDGRAPHID,0 FROM STATEMENTS,${a}TT WHERE EXISTS (SELECT ${a}${c}.TRACKER FROM ${a}${c} WHERE ${a}${c}.TRACKER=1 AND ${a}${c}.TYPE = 0) AND STATEMENTS.NAMEDGRAPHID = ${a}TT.ID AND STATEMENTS.HSTART <= ? AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > ?) AND STATEMENTS.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_0

public static final java.lang.String insertStmtIdsOld_0
Constant "insertStmtIdsOld_0" used to reference prepared statement Replication.insertStmtIdsOld_0 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}TT GRAPHMODS WHERE EXISTS ( SELECT * FROM ${a}REPLICATES_TMP REP WHERE REP.TRACKER=1 AND REP.TYPE = 0) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_1

public static final java.lang.String insertStmtIdsNew_1
Constant "insertStmtIdsNew_1" used to reference prepared statement Replication.insertStmtIdsNew_1 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_1

public static final java.lang.String insertStmtIdsOld_1
Constant "insertStmtIdsOld_1" used to reference prepared statement Replication.insertStmtIdsOld_1 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_2

public static final java.lang.String insertStmtIdsNew_2
Constant "insertStmtIdsNew_2" used to reference prepared statement Replication.insertStmtIdsNew_2 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 2 AND ( S.SUBJ = REP.SUBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=2 AND (S.SUBJ = REP.SUBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_2

public static final java.lang.String insertStmtIdsOld_2
Constant "insertStmtIdsOld_2" used to reference prepared statement Replication.insertStmtIdsOld_2 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =2 AND (S.SUBJ = REP.SUBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_3

public static final java.lang.String insertStmtIdsNew_3
Constant "insertStmtIdsNew_3" used to reference prepared statement Replication.insertStmtIdsNew_3 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 3 AND (S.NAMEDGRAPHID=REP.ID) AND (S.SUBJ = REP.SUBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=3 AND (S.NAMEDGRAPHID=REP.ID) AND (S.SUBJ = REP.SUBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_3

public static final java.lang.String insertStmtIdsOld_3
Constant "insertStmtIdsOld_3" used to reference prepared statement Replication.insertStmtIdsOld_3 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =3 AND (REP.ID=S.NAMEDGRAPHID) AND (S.SUBJ = REP.SUBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_4

public static final java.lang.String insertStmtIdsNew_4
Constant "insertStmtIdsNew_4" used to reference prepared statement Replication.insertStmtIdsNew_4 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 4 AND (S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=4 AND (S.PROP = REP.PROP) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_4

public static final java.lang.String insertStmtIdsOld_4
Constant "insertStmtIdsOld_4" used to reference prepared statement Replication.insertStmtIdsOld_4 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =4 AND (S.PROP = REP.PROP) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_5

public static final java.lang.String insertStmtIdsNew_5
Constant "insertStmtIdsNew_5" used to reference prepared statement Replication.insertStmtIdsNew_5 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 5 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=5 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_5

public static final java.lang.String insertStmtIdsOld_5
Constant "insertStmtIdsOld_5" used to reference prepared statement Replication.insertStmtIdsOld_5 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =5 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.PROP = REP.PROP) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_6

public static final java.lang.String insertStmtIdsNew_6
Constant "insertStmtIdsNew_6" used to reference prepared statement Replication.insertStmtIdsNew_6 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_6

public static final java.lang.String insertStmtIdsOld_6
Constant "insertStmtIdsOld_6" used to reference prepared statement Replication.insertStmtIdsOld_6 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_7

public static final java.lang.String insertStmtIdsNew_7
Constant "insertStmtIdsNew_7" used to reference prepared statement Replication.insertStmtIdsNew_7 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 7 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=7 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_7

public static final java.lang.String insertStmtIdsOld_7
Constant "insertStmtIdsOld_7" used to reference prepared statement Replication.insertStmtIdsOld_7 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =7 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_8

public static final java.lang.String insertStmtIdsNew_8
Constant "insertStmtIdsNew_8" used to reference prepared statement Replication.insertStmtIdsNew_8 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 8 AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=8 AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_8

public static final java.lang.String insertStmtIdsOld_8
Constant "insertStmtIdsOld_8" used to reference prepared statement Replication.insertStmtIdsOld_8 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =8 AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_9

public static final java.lang.String insertStmtIdsNew_9
Constant "insertStmtIdsNew_9" used to reference prepared statement Replication.insertStmtIdsNew_9 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 9 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=9 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_9

public static final java.lang.String insertStmtIdsOld_9
Constant "insertStmtIdsOld_9" used to reference prepared statement Replication.insertStmtIdsOld_9 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =9 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_10

public static final java.lang.String insertStmtIdsNew_10
Constant "insertStmtIdsNew_10" used to reference prepared statement Replication.insertStmtIdsNew_10 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_10

public static final java.lang.String insertStmtIdsOld_10
Constant "insertStmtIdsOld_10" used to reference prepared statement Replication.insertStmtIdsOld_10 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_11

public static final java.lang.String insertStmtIdsNew_11
Constant "insertStmtIdsNew_11" used to reference prepared statement Replication.insertStmtIdsNew_11 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 11 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=11 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_11

public static final java.lang.String insertStmtIdsOld_11
Constant "insertStmtIdsOld_11" used to reference prepared statement Replication.insertStmtIdsOld_11 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =11 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_12

public static final java.lang.String insertStmtIdsNew_12
Constant "insertStmtIdsNew_12" used to reference prepared statement Replication.insertStmtIdsNew_12 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_12

public static final java.lang.String insertStmtIdsOld_12
Constant "insertStmtIdsOld_12" used to reference prepared statement Replication.insertStmtIdsOld_12 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_13

public static final java.lang.String insertStmtIdsNew_13
Constant "insertStmtIdsNew_13" used to reference prepared statement Replication.insertStmtIdsNew_13 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 13 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=13 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_13

public static final java.lang.String insertStmtIdsOld_13
Constant "insertStmtIdsOld_13" used to reference prepared statement Replication.insertStmtIdsOld_13 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =13 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_14

public static final java.lang.String insertStmtIdsNew_14
Constant "insertStmtIdsNew_14" used to reference prepared statement Replication.insertStmtIdsNew_14 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_14

public static final java.lang.String insertStmtIdsOld_14
Constant "insertStmtIdsOld_14" used to reference prepared statement Replication.insertStmtIdsOld_14 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsNew_15

public static final java.lang.String insertStmtIdsNew_15
Constant "insertStmtIdsNew_15" used to reference prepared statement Replication.insertStmtIdsNew_15 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 15 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=15 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values

insertStmtIdsOld_15

public static final java.lang.String insertStmtIdsOld_15
Constant "insertStmtIdsOld_15" used to reference prepared statement Replication.insertStmtIdsOld_15 INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =15 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

See Also:
Constant Field Values
Constructor Detail

ReplicationRdbWrapper

public ReplicationRdbWrapper()
Method Detail

insertSelectorTemp

public static int insertSelectorTemp(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertSelectorTempParams params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertSelectorTemp prepared statement. INSERT INTO ${a}REPLICATES_TMP (ID,SUBJ,PROP,OBJ,TRACKER,TYPE) VALUES (?,?,?,?,?,?);

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertSelectorTempParams input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertSelectorTemp

public static int insertSelectorTemp(PreparedStatementCache sqlCache,
                                     long namedGraphId,
                                     long subj,
                                     long prop,
                                     long obj,
                                     long tracker,
                                     long type,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertSelectorTemp prepared statement. INSERT INTO ${a}REPLICATES_TMP (ID,SUBJ,PROP,OBJ,TRACKER,TYPE) VALUES (?,?,?,?,?,?);

Parameters:
sqlCache - factory and cache of PreparedStatments
namedGraphId - template parameter
subj - template parameter
prop - template parameter
obj - template parameter
tracker - template parameter
type - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertSelectorTemp

public static void prepareInsertSelectorTemp(java.sql.PreparedStatement ps,
                                             long namedGraphId,
                                             long subj,
                                             long prop,
                                             long obj,
                                             long tracker,
                                             long type)
                                      throws java.sql.SQLException
Sets the input parameters for the insertSelectorTemp prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
namedGraphId - template parameter
subj - template parameter
prop - template parameter
obj - template parameter
tracker - template parameter
type - template parameter
Throws:
java.sql.SQLException

deleteDeltaStmtIds

public static int deleteDeltaStmtIds(PreparedStatementCache sqlCache,
                                     java.lang.String table)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the deleteDeltaStmtIds prepared statement. DELETE FROM ${a} WHERE ID IS NOT NULL

Parameters:
sqlCache - factory and cache of PreparedStatments
table - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareDeleteDeltaStmtIds

public static void prepareDeleteDeltaStmtIds(java.sql.PreparedStatement ps)
                                      throws java.sql.SQLException
Sets the input parameters for the deleteDeltaStmtIds prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

countDeltaStmtIds

public static java.lang.Long countDeltaStmtIds(PreparedStatementCache sqlCache,
                                               java.lang.String table)
                                        throws AnzoException,
                                               java.sql.SQLException
Runs the countDeltaStmtIds prepared statement. SELECT COUNT(*) FROM ${a}

Parameters:
sqlCache - factory and cache of PreparedStatments
table - template parameter
Returns:
Long
Throws:
AnzoException
java.sql.SQLException

prepareCountDeltaStmtIds

public static void prepareCountDeltaStmtIds(java.sql.PreparedStatement ps)
                                     throws java.sql.SQLException
Sets the input parameters for the countDeltaStmtIds prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

insertNamedGraphMods

public static int insertNamedGraphMods(PreparedStatementCache sqlCache,
                                       ReplicationRdbWrapper.InsertNamedGraphModsParams params,
                                       java.lang.String sessionPrefix)
                                throws AnzoException,
                                       java.sql.SQLException
Runs the insertNamedGraphMods prepared statement. INSERT INTO ${a}TT (SELECT NAMEDGRAPHMODVIEW.MODIFIED, NAMEDGRAPHMODVIEW.NAMEDGRAPHID FROM NAMEDGRAPHMODVIEW WHERE NAMEDGRAPHMODVIEW.MODIFIED BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertNamedGraphModsParams input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertNamedGraphMods

public static int insertNamedGraphMods(PreparedStatementCache sqlCache,
                                       java.lang.Long start1,
                                       java.lang.Long end1,
                                       java.lang.String sessionPrefix)
                                throws AnzoException,
                                       java.sql.SQLException
Runs the insertNamedGraphMods prepared statement. INSERT INTO ${a}TT (SELECT NAMEDGRAPHMODVIEW.MODIFIED, NAMEDGRAPHMODVIEW.NAMEDGRAPHID FROM NAMEDGRAPHMODVIEW WHERE NAMEDGRAPHMODVIEW.MODIFIED BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertNamedGraphMods

public static void prepareInsertNamedGraphMods(java.sql.PreparedStatement ps,
                                               java.lang.Long start1,
                                               java.lang.Long end1)
                                        throws java.sql.SQLException
Sets the input parameters for the insertNamedGraphMods prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
Throws:
java.sql.SQLException

insertDeltaStmtIds

public static int insertDeltaStmtIds(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertDeltaStmtIdsParams params)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertDeltaStmtIds prepared statement. INSERT INTO ${a}STMTID_TMP SELECT S.ID FROM STATEMENTS S WHERE ((S.HSTART BETWEEN ? AND ?) OR (S.HEND IS NOT NULL AND S.HEND BETWEEN ? AND ?)) AND (S.ID BETWEEN ? AND ?) UNION SELECT S.ID FROM ${a}TT RHS, STATEMENTS S WHERE (RHS.MODIFIED BETWEEN ? AND ?) AND RHS.ID = S.NAMEDGRAPHID AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertDeltaStmtIdsParams input Interface
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertDeltaStmtIds

public static int insertDeltaStmtIds(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId,
                                     long endId,
                                     java.lang.Long start3,
                                     java.lang.Long end3,
                                     long startId2,
                                     long endId2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertDeltaStmtIds prepared statement. INSERT INTO ${a}STMTID_TMP SELECT S.ID FROM STATEMENTS S WHERE ((S.HSTART BETWEEN ? AND ?) OR (S.HEND IS NOT NULL AND S.HEND BETWEEN ? AND ?)) AND (S.ID BETWEEN ? AND ?) UNION SELECT S.ID FROM ${a}TT RHS, STATEMENTS S WHERE (RHS.MODIFIED BETWEEN ? AND ?) AND RHS.ID = S.NAMEDGRAPHID AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
start2 - template parameter
end2 - template parameter
startId - template parameter
endId - template parameter
start3 - template parameter
end3 - template parameter
startId2 - template parameter
endId2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertDeltaStmtIds

public static void prepareInsertDeltaStmtIds(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId,
                                             long endId,
                                             java.lang.Long start3,
                                             java.lang.Long end3,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertDeltaStmtIds prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
start2 - template parameter
end2 - template parameter
startId - template parameter
endId - template parameter
start3 - template parameter
end3 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

selectCollectionAdditions

public static ClosableIterator<ReplicationRdbWrapper.SelectCollectionAdditionsResult> selectCollectionAdditions(PreparedStatementCache sqlCache,
                                                                                                                java.lang.String sessionPrefix)
                                                                                                         throws AnzoException,
                                                                                                                java.sql.SQLException
Runs the selectCollectionAdditions prepared statement with the default transformer. SELECT ID,SUBJ,PROP,OBJ,NAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE ID IS NOT NULL;

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectCollectionAdditions

public static ClosableIterator<ReplicationRdbWrapper.SelectCollectionAdditionsResult> selectCollectionAdditions(PreparedStatementCache sqlCache,
                                                                                                                java.lang.String sessionPrefix,
                                                                                                                Transformer<ReplicationRdbWrapper.SelectCollectionAdditionsResult> transform)
                                                                                                         throws AnzoException,
                                                                                                                java.sql.SQLException
Runs the selectCollectionAdditions prepared statement. SELECT ID,SUBJ,PROP,OBJ,NAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE ID IS NOT NULL;

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectCollectionAdditions

public static void prepareSelectCollectionAdditions(java.sql.PreparedStatement ps)
                                             throws java.sql.SQLException
Sets the input parameters for the selectCollectionAdditions prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

selectTrackerStatementsAdditions

public static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsAdditionsResult> selectTrackerStatementsAdditions(PreparedStatementCache sqlCache,
                                                                                                                              java.lang.String sessionPrefix)
                                                                                                                       throws AnzoException,
                                                                                                                              java.sql.SQLException
Runs the selectTrackerStatementsAdditions prepared statement with the default transformer. SELECT ID,SUBJ,PROP,OBJ,NAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE ID IS NOT NULL AND ID != 0;

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectTrackerStatementsAdditions

public static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsAdditionsResult> selectTrackerStatementsAdditions(PreparedStatementCache sqlCache,
                                                                                                                              java.lang.String sessionPrefix,
                                                                                                                              Transformer<ReplicationRdbWrapper.SelectTrackerStatementsAdditionsResult> transform)
                                                                                                                       throws AnzoException,
                                                                                                                              java.sql.SQLException
Runs the selectTrackerStatementsAdditions prepared statement. SELECT ID,SUBJ,PROP,OBJ,NAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE ID IS NOT NULL AND ID != 0;

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectTrackerStatementsAdditions

public static void prepareSelectTrackerStatementsAdditions(java.sql.PreparedStatement ps)
                                                    throws java.sql.SQLException
Sets the input parameters for the selectTrackerStatementsAdditions prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

selectTrackerStatementsDeletions

public static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeletionsResult> selectTrackerStatementsDeletions(PreparedStatementCache sqlCache,
                                                                                                                              java.lang.String sessionPrefix)
                                                                                                                       throws AnzoException,
                                                                                                                              java.sql.SQLException
Runs the selectTrackerStatementsDeletions prepared statement with the default transformer. SELECT OLDID,SUBJ,PROP,OBJ,OLDNAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE OLDID IS NOT NULL AND OLDID != 0;

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectTrackerStatementsDeletions

public static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeletionsResult> selectTrackerStatementsDeletions(PreparedStatementCache sqlCache,
                                                                                                                              java.lang.String sessionPrefix,
                                                                                                                              Transformer<ReplicationRdbWrapper.SelectTrackerStatementsDeletionsResult> transform)
                                                                                                                       throws AnzoException,
                                                                                                                              java.sql.SQLException
Runs the selectTrackerStatementsDeletions prepared statement. SELECT OLDID,SUBJ,PROP,OBJ,OLDNAMEDGRAPHID FROM ${a}RESULTS_TMP WHERE OLDID IS NOT NULL AND OLDID != 0;

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectTrackerStatementsDeletions

public static void prepareSelectTrackerStatementsDeletions(java.sql.PreparedStatement ps)
                                                    throws java.sql.SQLException
Sets the input parameters for the selectTrackerStatementsDeletions prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

selectUniqueUris

public static ClosableIterator<ReplicationRdbWrapper.SelectUniqueUrisResult> selectUniqueUris(PreparedStatementCache sqlCache,
                                                                                              java.lang.String tableNamePrefix,
                                                                                              java.lang.String sessionPrefix,
                                                                                              java.lang.String resultsTmp1,
                                                                                              java.lang.String resultsTmp2,
                                                                                              java.lang.String resultsTmp3,
                                                                                              java.lang.String resultsTmp4)
                                                                                       throws AnzoException,
                                                                                              java.sql.SQLException
Runs the selectUniqueUris prepared statement with the default transformer. SELECT DISTINCT ${a}_U.ID,${a}_U.VALUE FROM ${a}_U WHERE ${a}_U.ID IN (SELECT ID FROM ${b}NAMEDGRAPHIDS UNION SELECT SUBJ FROM ${b}${c} UNION SELECT PROP FROM ${b}${d} UNION SELECT NAMEDGRAPHID FROM ${b}${e} UNION SELECT OBJ FROM ${b}${f});

Parameters:
sqlCache - factory and cache of PreparedStatments
tableNamePrefix - template parameter
sessionPrefix - template parameter
resultsTmp1 - template parameter
resultsTmp2 - template parameter
resultsTmp3 - template parameter
resultsTmp4 - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectUniqueUris

public static ClosableIterator<ReplicationRdbWrapper.SelectUniqueUrisResult> selectUniqueUris(PreparedStatementCache sqlCache,
                                                                                              java.lang.String tableNamePrefix,
                                                                                              java.lang.String sessionPrefix,
                                                                                              java.lang.String resultsTmp1,
                                                                                              java.lang.String resultsTmp2,
                                                                                              java.lang.String resultsTmp3,
                                                                                              java.lang.String resultsTmp4,
                                                                                              Transformer<ReplicationRdbWrapper.SelectUniqueUrisResult> transform)
                                                                                       throws AnzoException,
                                                                                              java.sql.SQLException
Runs the selectUniqueUris prepared statement. SELECT DISTINCT ${a}_U.ID,${a}_U.VALUE FROM ${a}_U WHERE ${a}_U.ID IN (SELECT ID FROM ${b}NAMEDGRAPHIDS UNION SELECT SUBJ FROM ${b}${c} UNION SELECT PROP FROM ${b}${d} UNION SELECT NAMEDGRAPHID FROM ${b}${e} UNION SELECT OBJ FROM ${b}${f});

Parameters:
sqlCache - factory and cache of PreparedStatments
tableNamePrefix - template parameter
sessionPrefix - template parameter
resultsTmp1 - template parameter
resultsTmp2 - template parameter
resultsTmp3 - template parameter
resultsTmp4 - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectUniqueUris

public static void prepareSelectUniqueUris(java.sql.PreparedStatement ps)
                                    throws java.sql.SQLException
Sets the input parameters for the selectUniqueUris prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

selectUniqueIds

public static ClosableIterator<java.lang.Long> selectUniqueIds(PreparedStatementCache sqlCache,
                                                               java.lang.String sessionPrefix,
                                                               java.lang.String resultsTmp1,
                                                               java.lang.String resultsTmp2,
                                                               java.lang.String resultsTmp3,
                                                               java.lang.String resultsTmp4)
                                                        throws AnzoException,
                                                               java.sql.SQLException
Runs the selectUniqueIds prepared statement with the default transformer. SELECT ID FROM ${a}NAMEDGRAPHIDS UNION SELECT SUBJ FROM ${a}${b} UNION SELECT PROP FROM ${a}${c} UNION SELECT NAMEDGRAPHID FROM ${a}${d} UNION SELECT OBJ FROM ${a}${e};

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
resultsTmp1 - template parameter
resultsTmp2 - template parameter
resultsTmp3 - template parameter
resultsTmp4 - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectUniqueIds

public static ClosableIterator<java.lang.Long> selectUniqueIds(PreparedStatementCache sqlCache,
                                                               java.lang.String sessionPrefix,
                                                               java.lang.String resultsTmp1,
                                                               java.lang.String resultsTmp2,
                                                               java.lang.String resultsTmp3,
                                                               java.lang.String resultsTmp4,
                                                               Transformer<java.lang.Long> transform)
                                                        throws AnzoException,
                                                               java.sql.SQLException
Runs the selectUniqueIds prepared statement. SELECT ID FROM ${a}NAMEDGRAPHIDS UNION SELECT SUBJ FROM ${a}${b} UNION SELECT PROP FROM ${a}${c} UNION SELECT NAMEDGRAPHID FROM ${a}${d} UNION SELECT OBJ FROM ${a}${e};

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
resultsTmp1 - template parameter
resultsTmp2 - template parameter
resultsTmp3 - template parameter
resultsTmp4 - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectUniqueIds

public static void prepareSelectUniqueIds(java.sql.PreparedStatement ps)
                                   throws java.sql.SQLException
Sets the input parameters for the selectUniqueIds prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

selectSTRows

public static ClosableIterator<ReplicationRdbWrapper.SelectSTRowsResult> selectSTRows(PreparedStatementCache sqlCache,
                                                                                      java.lang.String sessionPrefix)
                                                                               throws AnzoException,
                                                                                      java.sql.SQLException
Runs the selectSTRows prepared statement with the default transformer. SELECT ID ,NAMEDGRAPHID ,TYPE,COUNT(*) AS COUNTER FROM ${a}ST GROUP BY (ID,NAMEDGRAPHID,TYPE) ORDER BY ID,NAMEDGRAPHID,TYPE

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectSTRows

public static ClosableIterator<ReplicationRdbWrapper.SelectSTRowsResult> selectSTRows(PreparedStatementCache sqlCache,
                                                                                      java.lang.String sessionPrefix,
                                                                                      Transformer<ReplicationRdbWrapper.SelectSTRowsResult> transform)
                                                                               throws AnzoException,
                                                                                      java.sql.SQLException
Runs the selectSTRows prepared statement. SELECT ID ,NAMEDGRAPHID ,TYPE,COUNT(*) AS COUNTER FROM ${a}ST GROUP BY (ID,NAMEDGRAPHID,TYPE) ORDER BY ID,NAMEDGRAPHID,TYPE

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectSTRows

public static void prepareSelectSTRows(java.sql.PreparedStatement ps)
                                throws java.sql.SQLException
Sets the input parameters for the selectSTRows prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

selectDeltaNamedGraphInfo

public static ClosableIterator<ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult> selectDeltaNamedGraphInfo(PreparedStatementCache sqlCache,
                                                                                                                ReplicationRdbWrapper.SelectDeltaNamedGraphInfoParams params,
                                                                                                                java.lang.String sessionPrefix)
                                                                                                         throws AnzoException,
                                                                                                                java.sql.SQLException
Runs the selectDeltaNamedGraphInfo prepared statement. SELECT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT DISTINCT ID FROM ${a}NAMEDGRAPHIDS)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectDeltaNamedGraphInfoParams input Interface
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectDeltaNamedGraphInfo

public static ClosableIterator<ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult> selectDeltaNamedGraphInfo(PreparedStatementCache sqlCache,
                                                                                                                java.lang.Long now1,
                                                                                                                java.lang.Long now2,
                                                                                                                java.lang.String sessionPrefix)
                                                                                                         throws AnzoException,
                                                                                                                java.sql.SQLException
Runs the selectDeltaNamedGraphInfo prepared statement with the default transformer. SELECT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT DISTINCT ID FROM ${a}NAMEDGRAPHIDS)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectDeltaNamedGraphInfo

public static ClosableIterator<ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult> selectDeltaNamedGraphInfo(PreparedStatementCache sqlCache,
                                                                                                                java.lang.Long now1,
                                                                                                                java.lang.Long now2,
                                                                                                                java.lang.String sessionPrefix,
                                                                                                                Transformer<ReplicationRdbWrapper.SelectDeltaNamedGraphInfoResult> transform)
                                                                                                         throws AnzoException,
                                                                                                                java.sql.SQLException
Runs the selectDeltaNamedGraphInfo prepared statement. SELECT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT DISTINCT ID FROM ${a}NAMEDGRAPHIDS)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectDeltaNamedGraphInfo

public static void prepareSelectDeltaNamedGraphInfo(java.sql.PreparedStatement ps,
                                                    java.lang.Long now1,
                                                    java.lang.Long now2)
                                             throws java.sql.SQLException
Sets the input parameters for the selectDeltaNamedGraphInfo prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
now2 - template parameter
Throws:
java.sql.SQLException

selectNamedGraphMetaInfoAdditions

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult> selectNamedGraphMetaInfoAdditions(PreparedStatementCache sqlCache,
                                                                                                                                ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsParams params,
                                                                                                                                java.lang.String sessionPrefix)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphMetaInfoAdditions prepared statement. SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART >= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >= ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectNamedGraphMetaInfoAdditionsParams input Interface
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectNamedGraphMetaInfoAdditions

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult> selectNamedGraphMetaInfoAdditions(PreparedStatementCache sqlCache,
                                                                                                                                java.lang.Long now1,
                                                                                                                                java.lang.Long now2,
                                                                                                                                java.lang.Long then1,
                                                                                                                                java.lang.Long now3,
                                                                                                                                java.lang.String sessionPrefix)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphMetaInfoAdditions prepared statement with the default transformer. SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART >= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >= ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
then1 - template parameter
now3 - template parameter
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectNamedGraphMetaInfoAdditions

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult> selectNamedGraphMetaInfoAdditions(PreparedStatementCache sqlCache,
                                                                                                                                java.lang.Long now1,
                                                                                                                                java.lang.Long now2,
                                                                                                                                java.lang.Long then1,
                                                                                                                                java.lang.Long now3,
                                                                                                                                java.lang.String sessionPrefix,
                                                                                                                                Transformer<ReplicationRdbWrapper.SelectNamedGraphMetaInfoAdditionsResult> transform)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphMetaInfoAdditions prepared statement. SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART >= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >= ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
then1 - template parameter
now3 - template parameter
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectNamedGraphMetaInfoAdditions

public static void prepareSelectNamedGraphMetaInfoAdditions(java.sql.PreparedStatement ps,
                                                            java.lang.Long now1,
                                                            java.lang.Long now2,
                                                            java.lang.Long then1,
                                                            java.lang.Long now3)
                                                     throws java.sql.SQLException
Sets the input parameters for the selectNamedGraphMetaInfoAdditions prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
now2 - template parameter
then1 - template parameter
now3 - template parameter
Throws:
java.sql.SQLException

selectNamedGraphMetaInfoDeletions

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult> selectNamedGraphMetaInfoDeletions(PreparedStatementCache sqlCache,
                                                                                                                                ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsParams params,
                                                                                                                                java.lang.String sessionPrefix)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphMetaInfoDeletions prepared statement. SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND <= ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectNamedGraphMetaInfoDeletionsParams input Interface
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectNamedGraphMetaInfoDeletions

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult> selectNamedGraphMetaInfoDeletions(PreparedStatementCache sqlCache,
                                                                                                                                java.lang.Long now1,
                                                                                                                                java.lang.Long now2,
                                                                                                                                java.lang.Long then1,
                                                                                                                                java.lang.Long now3,
                                                                                                                                java.lang.String sessionPrefix)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphMetaInfoDeletions prepared statement with the default transformer. SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND <= ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
then1 - template parameter
now3 - template parameter
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectNamedGraphMetaInfoDeletions

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult> selectNamedGraphMetaInfoDeletions(PreparedStatementCache sqlCache,
                                                                                                                                java.lang.Long now1,
                                                                                                                                java.lang.Long now2,
                                                                                                                                java.lang.Long then1,
                                                                                                                                java.lang.Long now3,
                                                                                                                                java.lang.String sessionPrefix,
                                                                                                                                Transformer<ReplicationRdbWrapper.SelectNamedGraphMetaInfoDeletionsResult> transform)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphMetaInfoDeletions prepared statement. SELECT NG.ID,ACIS.ID,ACIS.ACLID,ACIS.ROLEID, ACIS.CANREAD,ACIS.CANADD, ACIS.CANREMOVE, ACIS.CANINSERTNAMEDGRAPH, ACIS.CANREMOVENAMEDGRAPH, ACIS.CANCHANGENAMEDGRAPHACL FROM ACIS,NAMEDGRAPHS NG WHERE NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ID IN (SELECT ID FROM ${a}NAMEDGRAPHIDS) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND <= ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
then1 - template parameter
now3 - template parameter
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectNamedGraphMetaInfoDeletions

public static void prepareSelectNamedGraphMetaInfoDeletions(java.sql.PreparedStatement ps,
                                                            java.lang.Long now1,
                                                            java.lang.Long now2,
                                                            java.lang.Long then1,
                                                            java.lang.Long now3)
                                                     throws java.sql.SQLException
Sets the input parameters for the selectNamedGraphMetaInfoDeletions prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
now2 - template parameter
then1 - template parameter
now3 - template parameter
Throws:
java.sql.SQLException

insertAffectedNamedGraphIds

public static int insertAffectedNamedGraphIds(PreparedStatementCache sqlCache,
                                              java.lang.String sessionPrefix,
                                              java.lang.String resultsTmp1,
                                              java.lang.String resultsTmp2)
                                       throws AnzoException,
                                              java.sql.SQLException
Runs the insertAffectedNamedGraphIds prepared statement. INSERT INTO ${a}NAMEDGRAPHIDS(ID) SELECT DISTINCT NAMEDGRAPHID FROM ${a}${b} WHERE NAMEDGRAPHID IS NOT NULL UNION SELECT DISTINCT OLDNAMEDGRAPHID FROM ${a}${c} WHERE OLDNAMEDGRAPHID IS NOT NULL

Parameters:
sqlCache - factory and cache of PreparedStatments
sessionPrefix - template parameter
resultsTmp1 - template parameter
resultsTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertAffectedNamedGraphIds

public static void prepareInsertAffectedNamedGraphIds(java.sql.PreparedStatement ps)
                                               throws java.sql.SQLException
Sets the input parameters for the insertAffectedNamedGraphIds prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
Throws:
java.sql.SQLException

insertTrackerStatementsDeltas

public static int insertTrackerStatementsDeltas(PreparedStatementCache sqlCache,
                                                ReplicationRdbWrapper.InsertTrackerStatementsDeltasParams params,
                                                java.lang.String sessionPrefix,
                                                java.lang.String st1,
                                                java.lang.String st2)
                                         throws AnzoException,
                                                java.sql.SQLException
Runs the insertTrackerStatementsDeltas prepared statement. INSERT INTO ${a}RESULTS_TMP (ID, NAMEDGRAPHID, SUBJ, PROP, OBJ,OLDID,OLDNAMEDGRAPHID) SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND EXISTS (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.ROLEID=ACIS.ROLEID AND UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 FULL OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND EXISTS (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.ROLEID=ACIS.ROLEID AND UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID ORDER BY DATA2.NEWID;

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertTrackerStatementsDeltasParams input Interface
sessionPrefix - template parameter
st1 - template parameter
st2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertTrackerStatementsDeltas

public static int insertTrackerStatementsDeltas(PreparedStatementCache sqlCache,
                                                java.lang.Long now1,
                                                java.lang.Long now2,
                                                java.lang.Long now3,
                                                java.lang.Long now4,
                                                java.lang.Long now5,
                                                java.lang.Long now6,
                                                java.lang.Long userId1,
                                                java.lang.Long then1,
                                                java.lang.Long then2,
                                                java.lang.Long then3,
                                                java.lang.Long then4,
                                                java.lang.Long then5,
                                                java.lang.Long then6,
                                                java.lang.Long userId2,
                                                java.lang.String sessionPrefix,
                                                java.lang.String st1,
                                                java.lang.String st2)
                                         throws AnzoException,
                                                java.sql.SQLException
Runs the insertTrackerStatementsDeltas prepared statement. INSERT INTO ${a}RESULTS_TMP (ID, NAMEDGRAPHID, SUBJ, PROP, OBJ,OLDID,OLDNAMEDGRAPHID) SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND EXISTS (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.ROLEID=ACIS.ROLEID AND UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 FULL OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND EXISTS (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.ROLEID=ACIS.ROLEID AND UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID ORDER BY DATA2.NEWID;

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
now3 - template parameter
now4 - template parameter
now5 - template parameter
now6 - template parameter
userId1 - template parameter
then1 - template parameter
then2 - template parameter
then3 - template parameter
then4 - template parameter
then5 - template parameter
then6 - template parameter
userId2 - template parameter
sessionPrefix - template parameter
st1 - template parameter
st2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertTrackerStatementsDeltas

public static void prepareInsertTrackerStatementsDeltas(java.sql.PreparedStatement ps,
                                                        java.lang.Long now1,
                                                        java.lang.Long now2,
                                                        java.lang.Long now3,
                                                        java.lang.Long now4,
                                                        java.lang.Long now5,
                                                        java.lang.Long now6,
                                                        java.lang.Long userId1,
                                                        java.lang.Long then1,
                                                        java.lang.Long then2,
                                                        java.lang.Long then3,
                                                        java.lang.Long then4,
                                                        java.lang.Long then5,
                                                        java.lang.Long then6,
                                                        java.lang.Long userId2)
                                                 throws java.sql.SQLException
Sets the input parameters for the insertTrackerStatementsDeltas prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
now2 - template parameter
now3 - template parameter
now4 - template parameter
now5 - template parameter
now6 - template parameter
userId1 - template parameter
then1 - template parameter
then2 - template parameter
then3 - template parameter
then4 - template parameter
then5 - template parameter
then6 - template parameter
userId2 - template parameter
Throws:
java.sql.SQLException

insertTrackerStatementsDeltasJoin

public static int insertTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache,
                                                    ReplicationRdbWrapper.InsertTrackerStatementsDeltasJoinParams params,
                                                    java.lang.String sessionPrefix)
                                             throws AnzoException,
                                                    java.sql.SQLException
Runs the insertTrackerStatementsDeltasJoin prepared statement. INSERT INTO ${a}RESULTS_TMP (ID,NAMEDGRAPHID,SUBJ,PROP,OBJ,OLDID,OLDNAMEDGRAPHID) VALUES(?,?,?,?,?,?,?);

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertTrackerStatementsDeltasJoinParams input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertTrackerStatementsDeltasJoin

public static int insertTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache,
                                                    long id,
                                                    long namedgraphid,
                                                    long subj,
                                                    long prop,
                                                    long obj,
                                                    long oldid,
                                                    long oldnamedgraphid,
                                                    java.lang.String sessionPrefix)
                                             throws AnzoException,
                                                    java.sql.SQLException
Runs the insertTrackerStatementsDeltasJoin prepared statement. INSERT INTO ${a}RESULTS_TMP (ID,NAMEDGRAPHID,SUBJ,PROP,OBJ,OLDID,OLDNAMEDGRAPHID) VALUES(?,?,?,?,?,?,?);

Parameters:
sqlCache - factory and cache of PreparedStatments
id - template parameter
namedgraphid - template parameter
subj - template parameter
prop - template parameter
obj - template parameter
oldid - template parameter
oldnamedgraphid - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertTrackerStatementsDeltasJoin

public static void prepareInsertTrackerStatementsDeltasJoin(java.sql.PreparedStatement ps,
                                                            long id,
                                                            long namedgraphid,
                                                            long subj,
                                                            long prop,
                                                            long obj,
                                                            long oldid,
                                                            long oldnamedgraphid)
                                                     throws java.sql.SQLException
Sets the input parameters for the insertTrackerStatementsDeltasJoin prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
id - template parameter
namedgraphid - template parameter
subj - template parameter
prop - template parameter
obj - template parameter
oldid - template parameter
oldnamedgraphid - template parameter
Throws:
java.sql.SQLException

selectTrackerStatementsDeltasJoin

public static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult> selectTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache,
                                                                                                                                ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinParams params,
                                                                                                                                java.lang.String sessionPrefix,
                                                                                                                                java.lang.String st1,
                                                                                                                                java.lang.String st2,
                                                                                                                                java.lang.String st3,
                                                                                                                                java.lang.String st4)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectTrackerStatementsDeltasJoin prepared statement. SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 LEFT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) UNION SELECT NEW2.ID AS NEWID, OLD2.ID AS OLDID, NEW2.NAMEDGRAPHID AS NAMEDGRAPHID, OLD2.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${d} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW2 RIGHT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${e} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD2 ON (NEW2.ID=OLD2.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID;

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectTrackerStatementsDeltasJoinParams input Interface
sessionPrefix - template parameter
st1 - template parameter
st2 - template parameter
st3 - template parameter
st4 - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectTrackerStatementsDeltasJoin

public static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult> selectTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache,
                                                                                                                                java.lang.Long now1,
                                                                                                                                java.lang.Long now2,
                                                                                                                                java.lang.Long now3,
                                                                                                                                java.lang.Long now4,
                                                                                                                                java.lang.Long now5,
                                                                                                                                java.lang.Long now6,
                                                                                                                                java.lang.Long userId1,
                                                                                                                                java.lang.Long now7,
                                                                                                                                java.lang.Long now8,
                                                                                                                                java.lang.Long now9,
                                                                                                                                java.lang.Long now10,
                                                                                                                                java.lang.Long now11,
                                                                                                                                java.lang.Long now12,
                                                                                                                                java.lang.Long userId3,
                                                                                                                                java.lang.Long then1,
                                                                                                                                java.lang.Long then2,
                                                                                                                                java.lang.Long then3,
                                                                                                                                java.lang.Long then4,
                                                                                                                                java.lang.Long then5,
                                                                                                                                java.lang.Long then6,
                                                                                                                                java.lang.Long userId2,
                                                                                                                                java.lang.Long then7,
                                                                                                                                java.lang.Long then8,
                                                                                                                                java.lang.Long then9,
                                                                                                                                java.lang.Long then10,
                                                                                                                                java.lang.Long then11,
                                                                                                                                java.lang.Long then12,
                                                                                                                                java.lang.Long userId4,
                                                                                                                                java.lang.String sessionPrefix,
                                                                                                                                java.lang.String st1,
                                                                                                                                java.lang.String st2,
                                                                                                                                java.lang.String st3,
                                                                                                                                java.lang.String st4)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectTrackerStatementsDeltasJoin prepared statement with the default transformer. SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 LEFT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) UNION SELECT NEW2.ID AS NEWID, OLD2.ID AS OLDID, NEW2.NAMEDGRAPHID AS NAMEDGRAPHID, OLD2.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${d} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW2 RIGHT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${e} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD2 ON (NEW2.ID=OLD2.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID;

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
now3 - template parameter
now4 - template parameter
now5 - template parameter
now6 - template parameter
userId1 - template parameter
now7 - template parameter
now8 - template parameter
now9 - template parameter
now10 - template parameter
now11 - template parameter
now12 - template parameter
userId3 - template parameter
then1 - template parameter
then2 - template parameter
then3 - template parameter
then4 - template parameter
then5 - template parameter
then6 - template parameter
userId2 - template parameter
then7 - template parameter
then8 - template parameter
then9 - template parameter
then10 - template parameter
then11 - template parameter
then12 - template parameter
userId4 - template parameter
sessionPrefix - template parameter
st1 - template parameter
st2 - template parameter
st3 - template parameter
st4 - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectTrackerStatementsDeltasJoin

public static ClosableIterator<ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult> selectTrackerStatementsDeltasJoin(PreparedStatementCache sqlCache,
                                                                                                                                java.lang.Long now1,
                                                                                                                                java.lang.Long now2,
                                                                                                                                java.lang.Long now3,
                                                                                                                                java.lang.Long now4,
                                                                                                                                java.lang.Long now5,
                                                                                                                                java.lang.Long now6,
                                                                                                                                java.lang.Long userId1,
                                                                                                                                java.lang.Long now7,
                                                                                                                                java.lang.Long now8,
                                                                                                                                java.lang.Long now9,
                                                                                                                                java.lang.Long now10,
                                                                                                                                java.lang.Long now11,
                                                                                                                                java.lang.Long now12,
                                                                                                                                java.lang.Long userId3,
                                                                                                                                java.lang.Long then1,
                                                                                                                                java.lang.Long then2,
                                                                                                                                java.lang.Long then3,
                                                                                                                                java.lang.Long then4,
                                                                                                                                java.lang.Long then5,
                                                                                                                                java.lang.Long then6,
                                                                                                                                java.lang.Long userId2,
                                                                                                                                java.lang.Long then7,
                                                                                                                                java.lang.Long then8,
                                                                                                                                java.lang.Long then9,
                                                                                                                                java.lang.Long then10,
                                                                                                                                java.lang.Long then11,
                                                                                                                                java.lang.Long then12,
                                                                                                                                java.lang.Long userId4,
                                                                                                                                java.lang.String sessionPrefix,
                                                                                                                                java.lang.String st1,
                                                                                                                                java.lang.String st2,
                                                                                                                                java.lang.String st3,
                                                                                                                                java.lang.String st4,
                                                                                                                                Transformer<ReplicationRdbWrapper.SelectTrackerStatementsDeltasJoinResult> transform)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectTrackerStatementsDeltasJoin prepared statement. SELECT DATA2.NEWID,DATA2.NAMEDGRAPHID,S.SUBJ,S.PROP,S.OBJ,DATA2.OLDID,DATA2.OLDNAMEDGRAPHID FROM( SELECT DATA.NEWID,DATA.OLDID,DATA.NAMEDGRAPHID,DATA.OLDNAMEDGRAPHID FROM( SELECT NEW1.ID AS NEWID, OLD1.ID AS OLDID, NEW1.NAMEDGRAPHID AS NAMEDGRAPHID, OLD1.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${b} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW1 LEFT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${c} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD1 ON (NEW1.ID=OLD1.ID) UNION SELECT NEW2.ID AS NEWID, OLD2.ID AS OLDID, NEW2.NAMEDGRAPHID AS NAMEDGRAPHID, OLD2.NAMEDGRAPHID AS OLDNAMEDGRAPHID FROM ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${d} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=0 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) NEW2 RIGHT OUTER JOIN ( SELECT ST.ID,NG.ID AS NAMEDGRAPHID FROM ${a}${e} ST,NAMEDGRAPHS NG,ACIS WHERE ST.TYPE=1 AND ST.NAMEDGRAPHID=NG.ID AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID=ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND > ?) AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ? ) AND ACIS.CANREAD = 1 ) OLD2 ON (NEW2.ID=OLD2.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL ) DATA2 LEFT OUTER JOIN STATEMENTS S ON DATA2.NEWID=S.ID OR DATA2.OLDID=S.ID;

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
now3 - template parameter
now4 - template parameter
now5 - template parameter
now6 - template parameter
userId1 - template parameter
now7 - template parameter
now8 - template parameter
now9 - template parameter
now10 - template parameter
now11 - template parameter
now12 - template parameter
userId3 - template parameter
then1 - template parameter
then2 - template parameter
then3 - template parameter
then4 - template parameter
then5 - template parameter
then6 - template parameter
userId2 - template parameter
then7 - template parameter
then8 - template parameter
then9 - template parameter
then10 - template parameter
then11 - template parameter
then12 - template parameter
userId4 - template parameter
sessionPrefix - template parameter
st1 - template parameter
st2 - template parameter
st3 - template parameter
st4 - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectTrackerStatementsDeltasJoin

public static void prepareSelectTrackerStatementsDeltasJoin(java.sql.PreparedStatement ps,
                                                            java.lang.Long now1,
                                                            java.lang.Long now2,
                                                            java.lang.Long now3,
                                                            java.lang.Long now4,
                                                            java.lang.Long now5,
                                                            java.lang.Long now6,
                                                            java.lang.Long userId1,
                                                            java.lang.Long now7,
                                                            java.lang.Long now8,
                                                            java.lang.Long now9,
                                                            java.lang.Long now10,
                                                            java.lang.Long now11,
                                                            java.lang.Long now12,
                                                            java.lang.Long userId3,
                                                            java.lang.Long then1,
                                                            java.lang.Long then2,
                                                            java.lang.Long then3,
                                                            java.lang.Long then4,
                                                            java.lang.Long then5,
                                                            java.lang.Long then6,
                                                            java.lang.Long userId2,
                                                            java.lang.Long then7,
                                                            java.lang.Long then8,
                                                            java.lang.Long then9,
                                                            java.lang.Long then10,
                                                            java.lang.Long then11,
                                                            java.lang.Long then12,
                                                            java.lang.Long userId4)
                                                     throws java.sql.SQLException
Sets the input parameters for the selectTrackerStatementsDeltasJoin prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
now2 - template parameter
now3 - template parameter
now4 - template parameter
now5 - template parameter
now6 - template parameter
userId1 - template parameter
now7 - template parameter
now8 - template parameter
now9 - template parameter
now10 - template parameter
now11 - template parameter
now12 - template parameter
userId3 - template parameter
then1 - template parameter
then2 - template parameter
then3 - template parameter
then4 - template parameter
then5 - template parameter
then6 - template parameter
userId2 - template parameter
then7 - template parameter
then8 - template parameter
then9 - template parameter
then10 - template parameter
then11 - template parameter
then12 - template parameter
userId4 - template parameter
Throws:
java.sql.SQLException

insertDeltaGraphIds

public static int insertDeltaGraphIds(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertDeltaGraphIdsParams params,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertDeltaGraphIds prepared statement. INSERT INTO ${a}GRAPHID_TMP SELECT NG.ID FROM NAMEDGRAPHS NG WHERE (NG.HSTART BETWEEN ? AND ?) UNION SELECT NG.ID FROM NAMEDGRAPHS NG,ACIS WHERE ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?)) AND ACIS.ACLID = NG.ACLID

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertDeltaGraphIdsParams input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertDeltaGraphIds

public static int insertDeltaGraphIds(PreparedStatementCache sqlCache,
                                      java.lang.Long start1,
                                      java.lang.Long end1,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertDeltaGraphIds prepared statement. INSERT INTO ${a}GRAPHID_TMP SELECT NG.ID FROM NAMEDGRAPHS NG WHERE (NG.HSTART BETWEEN ? AND ?) UNION SELECT NG.ID FROM NAMEDGRAPHS NG,ACIS WHERE ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?)) AND ACIS.ACLID = NG.ACLID

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
start2 - template parameter
end2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertDeltaGraphIds

public static void prepareInsertDeltaGraphIds(java.sql.PreparedStatement ps,
                                              java.lang.Long start1,
                                              java.lang.Long end1,
                                              java.lang.Long start2,
                                              java.lang.Long end2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertDeltaGraphIds prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
start2 - template parameter
end2 - template parameter
Throws:
java.sql.SQLException

selectUserDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectUserDeltasResult> selectUserDeltas(PreparedStatementCache sqlCache,
                                                                                              ReplicationRdbWrapper.SelectUserDeltasParams params,
                                                                                              java.lang.String sessionPrefix)
                                                                                       throws AnzoException,
                                                                                              java.sql.SQLException
Runs the selectUserDeltas prepared statement. SELECT ID,USERID,DEFAULTROLEID,DEFAULTACLID,HSTART,HEND FROM USERS WHERE (HSTART BETWEEN ? AND ?) OR (HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectUserDeltasParams input Interface
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectUserDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectUserDeltasResult> selectUserDeltas(PreparedStatementCache sqlCache,
                                                                                              java.lang.Long now1,
                                                                                              java.lang.Long then1,
                                                                                              java.lang.Long now2,
                                                                                              java.lang.Long then2,
                                                                                              java.lang.String sessionPrefix)
                                                                                       throws AnzoException,
                                                                                              java.sql.SQLException
Runs the selectUserDeltas prepared statement with the default transformer. SELECT ID,USERID,DEFAULTROLEID,DEFAULTACLID,HSTART,HEND FROM USERS WHERE (HSTART BETWEEN ? AND ?) OR (HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectUserDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectUserDeltasResult> selectUserDeltas(PreparedStatementCache sqlCache,
                                                                                              java.lang.Long now1,
                                                                                              java.lang.Long then1,
                                                                                              java.lang.Long now2,
                                                                                              java.lang.Long then2,
                                                                                              java.lang.String sessionPrefix,
                                                                                              Transformer<ReplicationRdbWrapper.SelectUserDeltasResult> transform)
                                                                                       throws AnzoException,
                                                                                              java.sql.SQLException
Runs the selectUserDeltas prepared statement. SELECT ID,USERID,DEFAULTROLEID,DEFAULTACLID,HSTART,HEND FROM USERS WHERE (HSTART BETWEEN ? AND ?) OR (HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectUserDeltas

public static void prepareSelectUserDeltas(java.sql.PreparedStatement ps,
                                           java.lang.Long now1,
                                           java.lang.Long then1,
                                           java.lang.Long now2,
                                           java.lang.Long then2)
                                    throws java.sql.SQLException
Sets the input parameters for the selectUserDeltas prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
Throws:
java.sql.SQLException

selectUserRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectUserRoleDeltasResult> selectUserRoleDeltas(PreparedStatementCache sqlCache,
                                                                                                      ReplicationRdbWrapper.SelectUserRoleDeltasParams params,
                                                                                                      java.lang.String sessionPrefix)
                                                                                               throws AnzoException,
                                                                                                      java.sql.SQLException
Runs the selectUserRoleDeltas prepared statement. SELECT UR.ROLEID,UR.USERID,HSTART,HEND FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?) OR (UR.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectUserRoleDeltasParams input Interface
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectUserRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectUserRoleDeltasResult> selectUserRoleDeltas(PreparedStatementCache sqlCache,
                                                                                                      java.lang.Long now1,
                                                                                                      java.lang.Long then1,
                                                                                                      java.lang.Long now2,
                                                                                                      java.lang.Long then2,
                                                                                                      java.lang.String sessionPrefix)
                                                                                               throws AnzoException,
                                                                                                      java.sql.SQLException
Runs the selectUserRoleDeltas prepared statement with the default transformer. SELECT UR.ROLEID,UR.USERID,HSTART,HEND FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?) OR (UR.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectUserRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectUserRoleDeltasResult> selectUserRoleDeltas(PreparedStatementCache sqlCache,
                                                                                                      java.lang.Long now1,
                                                                                                      java.lang.Long then1,
                                                                                                      java.lang.Long now2,
                                                                                                      java.lang.Long then2,
                                                                                                      java.lang.String sessionPrefix,
                                                                                                      Transformer<ReplicationRdbWrapper.SelectUserRoleDeltasResult> transform)
                                                                                               throws AnzoException,
                                                                                                      java.sql.SQLException
Runs the selectUserRoleDeltas prepared statement. SELECT UR.ROLEID,UR.USERID,HSTART,HEND FROM USERSROLES UR WHERE (UR.HSTART BETWEEN ? AND ?) OR (UR.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectUserRoleDeltas

public static void prepareSelectUserRoleDeltas(java.sql.PreparedStatement ps,
                                               java.lang.Long now1,
                                               java.lang.Long then1,
                                               java.lang.Long now2,
                                               java.lang.Long then2)
                                        throws java.sql.SQLException
Sets the input parameters for the selectUserRoleDeltas prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
Throws:
java.sql.SQLException

selectRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectRoleDeltasResult> selectRoleDeltas(PreparedStatementCache sqlCache,
                                                                                              ReplicationRdbWrapper.SelectRoleDeltasParams params,
                                                                                              java.lang.String sessionPrefix)
                                                                                       throws AnzoException,
                                                                                              java.sql.SQLException
Runs the selectRoleDeltas prepared statement. SELECT ROLE.ID,ROLE.HSTART,ROLE.HEND FROM ROLES ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectRoleDeltasParams input Interface
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectRoleDeltasResult> selectRoleDeltas(PreparedStatementCache sqlCache,
                                                                                              java.lang.Long now1,
                                                                                              java.lang.Long then1,
                                                                                              java.lang.Long now2,
                                                                                              java.lang.Long then2,
                                                                                              java.lang.String sessionPrefix)
                                                                                       throws AnzoException,
                                                                                              java.sql.SQLException
Runs the selectRoleDeltas prepared statement with the default transformer. SELECT ROLE.ID,ROLE.HSTART,ROLE.HEND FROM ROLES ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectRoleDeltasResult> selectRoleDeltas(PreparedStatementCache sqlCache,
                                                                                              java.lang.Long now1,
                                                                                              java.lang.Long then1,
                                                                                              java.lang.Long now2,
                                                                                              java.lang.Long then2,
                                                                                              java.lang.String sessionPrefix,
                                                                                              Transformer<ReplicationRdbWrapper.SelectRoleDeltasResult> transform)
                                                                                       throws AnzoException,
                                                                                              java.sql.SQLException
Runs the selectRoleDeltas prepared statement. SELECT ROLE.ID,ROLE.HSTART,ROLE.HEND FROM ROLES ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectRoleDeltas

public static void prepareSelectRoleDeltas(java.sql.PreparedStatement ps,
                                           java.lang.Long now1,
                                           java.lang.Long then1,
                                           java.lang.Long now2,
                                           java.lang.Long then2)
                                    throws java.sql.SQLException
Sets the input parameters for the selectRoleDeltas prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
then1 - template parameter
now2 - template parameter
then2 - template parameter
Throws:
java.sql.SQLException

selectSubRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectSubRoleDeltasResult> selectSubRoleDeltas(PreparedStatementCache sqlCache,
                                                                                                    ReplicationRdbWrapper.SelectSubRoleDeltasParams params,
                                                                                                    java.lang.String sessionPrefix)
                                                                                             throws AnzoException,
                                                                                                    java.sql.SQLException
Runs the selectSubRoleDeltas prepared statement. SELECT ROLE.ID,ROLE.PARENTID,ROLE.HSTART,ROLE.HEND FROM SUBROLEOF ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectSubRoleDeltasParams input Interface
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectSubRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectSubRoleDeltasResult> selectSubRoleDeltas(PreparedStatementCache sqlCache,
                                                                                                    java.lang.Long now1,
                                                                                                    java.lang.Long now2,
                                                                                                    java.lang.Long then1,
                                                                                                    java.lang.Long then2,
                                                                                                    java.lang.String sessionPrefix)
                                                                                             throws AnzoException,
                                                                                                    java.sql.SQLException
Runs the selectSubRoleDeltas prepared statement with the default transformer. SELECT ROLE.ID,ROLE.PARENTID,ROLE.HSTART,ROLE.HEND FROM SUBROLEOF ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
then1 - template parameter
then2 - template parameter
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectSubRoleDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectSubRoleDeltasResult> selectSubRoleDeltas(PreparedStatementCache sqlCache,
                                                                                                    java.lang.Long now1,
                                                                                                    java.lang.Long now2,
                                                                                                    java.lang.Long then1,
                                                                                                    java.lang.Long then2,
                                                                                                    java.lang.String sessionPrefix,
                                                                                                    Transformer<ReplicationRdbWrapper.SelectSubRoleDeltasResult> transform)
                                                                                             throws AnzoException,
                                                                                                    java.sql.SQLException
Runs the selectSubRoleDeltas prepared statement. SELECT ROLE.ID,ROLE.PARENTID,ROLE.HSTART,ROLE.HEND FROM SUBROLEOF ROLE WHERE (ROLE.HSTART BETWEEN ? AND ?) OR (ROLE.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
then1 - template parameter
then2 - template parameter
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectSubRoleDeltas

public static void prepareSelectSubRoleDeltas(java.sql.PreparedStatement ps,
                                              java.lang.Long now1,
                                              java.lang.Long now2,
                                              java.lang.Long then1,
                                              java.lang.Long then2)
                                       throws java.sql.SQLException
Sets the input parameters for the selectSubRoleDeltas prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
now2 - template parameter
then1 - template parameter
then2 - template parameter
Throws:
java.sql.SQLException

selectAciMaskDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectAciMaskDeltasResult> selectAciMaskDeltas(PreparedStatementCache sqlCache,
                                                                                                    ReplicationRdbWrapper.SelectAciMaskDeltasParams params,
                                                                                                    java.lang.String sessionPrefix)
                                                                                             throws AnzoException,
                                                                                                    java.sql.SQLException
Runs the selectAciMaskDeltas prepared statement. SELECT SA.ACLID, SA.ROLEID, SA.CANREAD, SA.CANADD, SA.CANREMOVE,SA.CANINSERTNAMEDGRAPH,SA.CANREMOVENAMEDGRAPH, SA.CANCHANGENAMEDGRAPHACL,SA.HSTART,SA.HEND FROM ACIS SA,USERS USERS WHERE (SA.HSTART BETWEEN ? AND ?) OR (SA.HEND BETWEEN ? AND ?) AND SA.ACLID = USERS.DEFAULTACLID AND (USERS.HSTART BETWEEN ? AND ?) OR (USERS.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectAciMaskDeltasParams input Interface
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectAciMaskDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectAciMaskDeltasResult> selectAciMaskDeltas(PreparedStatementCache sqlCache,
                                                                                                    java.lang.Long now1,
                                                                                                    java.lang.Long now2,
                                                                                                    java.lang.Long then1,
                                                                                                    java.lang.Long then2,
                                                                                                    java.lang.Long now3,
                                                                                                    java.lang.Long now4,
                                                                                                    java.lang.Long then3,
                                                                                                    java.lang.Long then4,
                                                                                                    java.lang.String sessionPrefix)
                                                                                             throws AnzoException,
                                                                                                    java.sql.SQLException
Runs the selectAciMaskDeltas prepared statement with the default transformer. SELECT SA.ACLID, SA.ROLEID, SA.CANREAD, SA.CANADD, SA.CANREMOVE,SA.CANINSERTNAMEDGRAPH,SA.CANREMOVENAMEDGRAPH, SA.CANCHANGENAMEDGRAPHACL,SA.HSTART,SA.HEND FROM ACIS SA,USERS USERS WHERE (SA.HSTART BETWEEN ? AND ?) OR (SA.HEND BETWEEN ? AND ?) AND SA.ACLID = USERS.DEFAULTACLID AND (USERS.HSTART BETWEEN ? AND ?) OR (USERS.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
then1 - template parameter
then2 - template parameter
now3 - template parameter
now4 - template parameter
then3 - template parameter
then4 - template parameter
sessionPrefix - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectAciMaskDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectAciMaskDeltasResult> selectAciMaskDeltas(PreparedStatementCache sqlCache,
                                                                                                    java.lang.Long now1,
                                                                                                    java.lang.Long now2,
                                                                                                    java.lang.Long then1,
                                                                                                    java.lang.Long then2,
                                                                                                    java.lang.Long now3,
                                                                                                    java.lang.Long now4,
                                                                                                    java.lang.Long then3,
                                                                                                    java.lang.Long then4,
                                                                                                    java.lang.String sessionPrefix,
                                                                                                    Transformer<ReplicationRdbWrapper.SelectAciMaskDeltasResult> transform)
                                                                                             throws AnzoException,
                                                                                                    java.sql.SQLException
Runs the selectAciMaskDeltas prepared statement. SELECT SA.ACLID, SA.ROLEID, SA.CANREAD, SA.CANADD, SA.CANREMOVE,SA.CANINSERTNAMEDGRAPH,SA.CANREMOVENAMEDGRAPH, SA.CANCHANGENAMEDGRAPHACL,SA.HSTART,SA.HEND FROM ACIS SA,USERS USERS WHERE (SA.HSTART BETWEEN ? AND ?) OR (SA.HEND BETWEEN ? AND ?) AND SA.ACLID = USERS.DEFAULTACLID AND (USERS.HSTART BETWEEN ? AND ?) OR (USERS.HEND BETWEEN ? AND ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
then1 - template parameter
then2 - template parameter
now3 - template parameter
now4 - template parameter
then3 - template parameter
then4 - template parameter
sessionPrefix - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectAciMaskDeltas

public static void prepareSelectAciMaskDeltas(java.sql.PreparedStatement ps,
                                              java.lang.Long now1,
                                              java.lang.Long now2,
                                              java.lang.Long then1,
                                              java.lang.Long then2,
                                              java.lang.Long now3,
                                              java.lang.Long now4,
                                              java.lang.Long then3,
                                              java.lang.Long then4)
                                       throws java.sql.SQLException
Sets the input parameters for the selectAciMaskDeltas prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
now2 - template parameter
then1 - template parameter
then2 - template parameter
now3 - template parameter
now4 - template parameter
then3 - template parameter
then4 - template parameter
Throws:
java.sql.SQLException

selectCanReadSystemGraphDelta

public static java.lang.Long selectCanReadSystemGraphDelta(PreparedStatementCache sqlCache,
                                                           ReplicationRdbWrapper.SelectCanReadSystemGraphDeltaParams params,
                                                           java.lang.String sessionPrefix)
                                                    throws AnzoException,
                                                           java.sql.SQLException
Runs the selectCanReadSystemGraphDelta prepared statement. SELECT MAX(ACIS.CANREAD) FROM NAMEDGRAPHS NG,ACIS WHERE NG.ID = ? AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectCanReadSystemGraphDeltaParams input Interface
sessionPrefix - template parameter
Returns:
Long containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectCanReadSystemGraphDelta

public static java.lang.Long selectCanReadSystemGraphDelta(PreparedStatementCache sqlCache,
                                                           java.lang.Long systemGraphId,
                                                           java.lang.Long now1,
                                                           java.lang.Long now2,
                                                           java.lang.Long now5,
                                                           java.lang.Long now6,
                                                           java.lang.Long now7,
                                                           java.lang.Long now8,
                                                           java.lang.Long userId1,
                                                           java.lang.String sessionPrefix)
                                                    throws AnzoException,
                                                           java.sql.SQLException
Runs the selectCanReadSystemGraphDelta prepared statement. SELECT MAX(ACIS.CANREAD) FROM NAMEDGRAPHS NG,ACIS WHERE NG.ID = ? AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?)

Parameters:
sqlCache - factory and cache of PreparedStatments
systemGraphId - template parameter
now1 - template parameter
now2 - template parameter
now5 - template parameter
now6 - template parameter
now7 - template parameter
now8 - template parameter
userId1 - template parameter
sessionPrefix - template parameter
Returns:
Long
Throws:
AnzoException
java.sql.SQLException

prepareSelectCanReadSystemGraphDelta

public static void prepareSelectCanReadSystemGraphDelta(java.sql.PreparedStatement ps,
                                                        java.lang.Long systemGraphId,
                                                        java.lang.Long now1,
                                                        java.lang.Long now2,
                                                        java.lang.Long now5,
                                                        java.lang.Long now6,
                                                        java.lang.Long now7,
                                                        java.lang.Long now8,
                                                        java.lang.Long userId1)
                                                 throws java.sql.SQLException
Sets the input parameters for the selectCanReadSystemGraphDelta prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
systemGraphId - template parameter
now1 - template parameter
now2 - template parameter
now5 - template parameter
now6 - template parameter
now7 - template parameter
now8 - template parameter
userId1 - template parameter
Throws:
java.sql.SQLException

selectNamedGraphsStatementsDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult> selectNamedGraphsStatementsDeltas(PreparedStatementCache sqlCache,
                                                                                                                                ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasParams params,
                                                                                                                                java.lang.String sessionPrefix,
                                                                                                                                java.lang.String replicatesTmp1,
                                                                                                                                java.lang.String replicatesTmp2)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphsStatementsDeltas prepared statement. SELECT NEWID,OLDID,NEWACLID,OLDACLID,NEWREVISION,OLDREVISION,CREATEDBY,HSTART,METAID,LASTMODIFIEDBY FROM ( SELECT NEW1.ID AS NEWID,OLD1.ID AS OLDID,NEW1.ACLID AS NEWACLID,OLD1.ACLID AS OLDACLID,NEW1.REVISION AS NEWREVISION,OLD1.REVISION AS OLDREVISION,NEW1.CREATEDBY,NEW1.HSTART,NEW1.METAID,NEW1.LASTMODIFIEDBY FROM ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG,ACIS, ${a}${b} REP WHERE (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) NEW1 FULL OUTER JOIN ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID FROM NAMEDGRAPHS NG,ACIS, ${a}${c} REP WHERE REP.TRACKER=1 AND (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL OR (DATA.NEWREVISION != DATA.OLDREVISION)

Parameters:
sqlCache - factory and cache of PreparedStatments
params - SelectNamedGraphsStatementsDeltasParams input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

selectNamedGraphsStatementsDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult> selectNamedGraphsStatementsDeltas(PreparedStatementCache sqlCache,
                                                                                                                                java.lang.Long now1,
                                                                                                                                java.lang.Long now2,
                                                                                                                                java.lang.Long now3,
                                                                                                                                java.lang.Long now4,
                                                                                                                                java.lang.Long now5,
                                                                                                                                java.lang.Long now6,
                                                                                                                                java.lang.Long userId1,
                                                                                                                                java.lang.Long then1,
                                                                                                                                java.lang.Long then2,
                                                                                                                                java.lang.Long then3,
                                                                                                                                java.lang.Long then4,
                                                                                                                                java.lang.Long then5,
                                                                                                                                java.lang.Long then6,
                                                                                                                                java.lang.Long userId2,
                                                                                                                                java.lang.String sessionPrefix,
                                                                                                                                java.lang.String replicatesTmp1,
                                                                                                                                java.lang.String replicatesTmp2)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphsStatementsDeltas prepared statement with the default transformer. SELECT NEWID,OLDID,NEWACLID,OLDACLID,NEWREVISION,OLDREVISION,CREATEDBY,HSTART,METAID,LASTMODIFIEDBY FROM ( SELECT NEW1.ID AS NEWID,OLD1.ID AS OLDID,NEW1.ACLID AS NEWACLID,OLD1.ACLID AS OLDACLID,NEW1.REVISION AS NEWREVISION,OLD1.REVISION AS OLDREVISION,NEW1.CREATEDBY,NEW1.HSTART,NEW1.METAID,NEW1.LASTMODIFIEDBY FROM ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG,ACIS, ${a}${b} REP WHERE (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) NEW1 FULL OUTER JOIN ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID FROM NAMEDGRAPHS NG,ACIS, ${a}${c} REP WHERE REP.TRACKER=1 AND (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL OR (DATA.NEWREVISION != DATA.OLDREVISION)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
now3 - template parameter
now4 - template parameter
now5 - template parameter
now6 - template parameter
userId1 - template parameter
then1 - template parameter
then2 - template parameter
then3 - template parameter
then4 - template parameter
then5 - template parameter
then6 - template parameter
userId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

selectNamedGraphsStatementsDeltas

public static ClosableIterator<ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult> selectNamedGraphsStatementsDeltas(PreparedStatementCache sqlCache,
                                                                                                                                java.lang.Long now1,
                                                                                                                                java.lang.Long now2,
                                                                                                                                java.lang.Long now3,
                                                                                                                                java.lang.Long now4,
                                                                                                                                java.lang.Long now5,
                                                                                                                                java.lang.Long now6,
                                                                                                                                java.lang.Long userId1,
                                                                                                                                java.lang.Long then1,
                                                                                                                                java.lang.Long then2,
                                                                                                                                java.lang.Long then3,
                                                                                                                                java.lang.Long then4,
                                                                                                                                java.lang.Long then5,
                                                                                                                                java.lang.Long then6,
                                                                                                                                java.lang.Long userId2,
                                                                                                                                java.lang.String sessionPrefix,
                                                                                                                                java.lang.String replicatesTmp1,
                                                                                                                                java.lang.String replicatesTmp2,
                                                                                                                                Transformer<ReplicationRdbWrapper.SelectNamedGraphsStatementsDeltasResult> transform)
                                                                                                                         throws AnzoException,
                                                                                                                                java.sql.SQLException
Runs the selectNamedGraphsStatementsDeltas prepared statement. SELECT NEWID,OLDID,NEWACLID,OLDACLID,NEWREVISION,OLDREVISION,CREATEDBY,HSTART,METAID,LASTMODIFIEDBY FROM ( SELECT NEW1.ID AS NEWID,OLD1.ID AS OLDID,NEW1.ACLID AS NEWACLID,OLD1.ACLID AS OLDACLID,NEW1.REVISION AS NEWREVISION,OLD1.REVISION AS OLDREVISION,NEW1.CREATEDBY,NEW1.HSTART,NEW1.METAID,NEW1.LASTMODIFIEDBY FROM ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID,NG.CREATEDBY,NG.HSTART,NG.METAID,NG.LASTMODIFIEDBY FROM NAMEDGRAPHS NG,ACIS, ${a}${b} REP WHERE (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) NEW1 FULL OUTER JOIN ( SELECT DISTINCT NG.ID,NG.REVISION,NG.ACLID FROM NAMEDGRAPHS NG,ACIS, ${a}${c} REP WHERE REP.TRACKER=1 AND (REP.SUBJ IS NULL OR REP.SUBJ=NG.ID) AND (REP.OBJ IS NULL OR REP.OBJ=ACIS.ACLID) AND NG.HSTART <= ? AND (NG.HEND IS NULL OR NG.HEND > ?) AND NG.ACLID = ACIS.ACLID AND ACIS.HSTART <= ? AND (ACIS.HEND IS NULL OR ACIS.HEND >=?) AND ACIS.CANREAD > 0 AND ACIS.ROLEID IN (SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HSTART <= ? AND (UR.HEND IS NULL OR UR.HEND > ?) AND UR.USERID = ?) ) OLD1 ON (NEW1.ID=OLD1.ID) ) DATA WHERE DATA.NEWID IS NULL OR DATA.OLDID IS NULL OR (DATA.NEWREVISION != DATA.OLDREVISION)

Parameters:
sqlCache - factory and cache of PreparedStatments
now1 - template parameter
now2 - template parameter
now3 - template parameter
now4 - template parameter
now5 - template parameter
now6 - template parameter
userId1 - template parameter
then1 - template parameter
then2 - template parameter
then3 - template parameter
then4 - template parameter
then5 - template parameter
then6 - template parameter
userId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
transform - org.openanzo.jdbc.utils.Transformer used to transform results into java objects
Returns:
org.openanzo.jdbc.utils.ClosableIterator
Throws:
AnzoException
java.sql.SQLException

prepareSelectNamedGraphsStatementsDeltas

public static void prepareSelectNamedGraphsStatementsDeltas(java.sql.PreparedStatement ps,
                                                            java.lang.Long now1,
                                                            java.lang.Long now2,
                                                            java.lang.Long now3,
                                                            java.lang.Long now4,
                                                            java.lang.Long now5,
                                                            java.lang.Long now6,
                                                            java.lang.Long userId1,
                                                            java.lang.Long then1,
                                                            java.lang.Long then2,
                                                            java.lang.Long then3,
                                                            java.lang.Long then4,
                                                            java.lang.Long then5,
                                                            java.lang.Long then6,
                                                            java.lang.Long userId2)
                                                     throws java.sql.SQLException
Sets the input parameters for the selectNamedGraphsStatementsDeltas prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
now1 - template parameter
now2 - template parameter
now3 - template parameter
now4 - template parameter
now5 - template parameter
now6 - template parameter
userId1 - template parameter
then1 - template parameter
then2 - template parameter
then3 - template parameter
then4 - template parameter
then5 - template parameter
then6 - template parameter
userId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_0

public static int insertStmtIdsNew_0(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_0Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_0 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT STATEMENTS.ID,STATEMENTS.NAMEDGRAPHID,0 FROM STATEMENTS WHERE EXISTS (SELECT ${a}${b}.TRACKER FROM ${a}${b} WHERE ${a}${b}.TRACKER=0 AND ${a}${b}.TYPE = 0) AND STATEMENTS.HSTART <= ? AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > ?) AND STATEMENTS.ID BETWEEN ? AND ? UNION SELECT DISTINCT STATEMENTS.ID,STATEMENTS.NAMEDGRAPHID,0 FROM STATEMENTS,${a}TT WHERE EXISTS (SELECT ${a}${c}.TRACKER FROM ${a}${c} WHERE ${a}${c}.TRACKER=1 AND ${a}${c}.TYPE = 0) AND STATEMENTS.NAMEDGRAPHID = ${a}TT.ID AND STATEMENTS.HSTART <= ? AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > ?) AND STATEMENTS.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_0Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_0

public static int insertStmtIdsNew_0(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_0 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT STATEMENTS.ID,STATEMENTS.NAMEDGRAPHID,0 FROM STATEMENTS WHERE EXISTS (SELECT ${a}${b}.TRACKER FROM ${a}${b} WHERE ${a}${b}.TRACKER=0 AND ${a}${b}.TYPE = 0) AND STATEMENTS.HSTART <= ? AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > ?) AND STATEMENTS.ID BETWEEN ? AND ? UNION SELECT DISTINCT STATEMENTS.ID,STATEMENTS.NAMEDGRAPHID,0 FROM STATEMENTS,${a}TT WHERE EXISTS (SELECT ${a}${c}.TRACKER FROM ${a}${c} WHERE ${a}${c}.TRACKER=1 AND ${a}${c}.TYPE = 0) AND STATEMENTS.NAMEDGRAPHID = ${a}TT.ID AND STATEMENTS.HSTART <= ? AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > ?) AND STATEMENTS.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_0

public static void prepareInsertStmtIdsNew_0(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_0 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_0

public static int insertStmtIdsOld_0(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_0Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_0 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}TT GRAPHMODS WHERE EXISTS ( SELECT * FROM ${a}REPLICATES_TMP REP WHERE REP.TRACKER=1 AND REP.TYPE = 0) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_0Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_0

public static int insertStmtIdsOld_0(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_0 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}TT GRAPHMODS WHERE EXISTS ( SELECT * FROM ${a}REPLICATES_TMP REP WHERE REP.TRACKER=1 AND REP.TYPE = 0) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_0

public static void prepareInsertStmtIdsOld_0(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_0 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_1

public static int insertStmtIdsNew_1(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_1Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_1 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_1Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_1

public static int insertStmtIdsNew_1(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_1 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_1

public static void prepareInsertStmtIdsNew_1(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_1 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_1

public static int insertStmtIdsOld_1(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_1Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_1 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_1Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_1

public static int insertStmtIdsOld_1(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_1 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=1 AND (S.NAMEDGRAPHID=REP.ID) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_1

public static void prepareInsertStmtIdsOld_1(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_1 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_2

public static int insertStmtIdsNew_2(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_2Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_2 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 2 AND ( S.SUBJ = REP.SUBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=2 AND (S.SUBJ = REP.SUBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_2Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_2

public static int insertStmtIdsNew_2(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_2 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 2 AND ( S.SUBJ = REP.SUBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=2 AND (S.SUBJ = REP.SUBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_2

public static void prepareInsertStmtIdsNew_2(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_2 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_2

public static int insertStmtIdsOld_2(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_2Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_2 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =2 AND (S.SUBJ = REP.SUBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_2Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_2

public static int insertStmtIdsOld_2(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_2 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =2 AND (S.SUBJ = REP.SUBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_2

public static void prepareInsertStmtIdsOld_2(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_2 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_3

public static int insertStmtIdsNew_3(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_3Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_3 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 3 AND (S.NAMEDGRAPHID=REP.ID) AND (S.SUBJ = REP.SUBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=3 AND (S.NAMEDGRAPHID=REP.ID) AND (S.SUBJ = REP.SUBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_3Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_3

public static int insertStmtIdsNew_3(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_3 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 3 AND (S.NAMEDGRAPHID=REP.ID) AND (S.SUBJ = REP.SUBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=3 AND (S.NAMEDGRAPHID=REP.ID) AND (S.SUBJ = REP.SUBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_3

public static void prepareInsertStmtIdsNew_3(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_3 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_3

public static int insertStmtIdsOld_3(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_3Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_3 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =3 AND (REP.ID=S.NAMEDGRAPHID) AND (S.SUBJ = REP.SUBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_3Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_3

public static int insertStmtIdsOld_3(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_3 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =3 AND (REP.ID=S.NAMEDGRAPHID) AND (S.SUBJ = REP.SUBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_3

public static void prepareInsertStmtIdsOld_3(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_3 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_4

public static int insertStmtIdsNew_4(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_4Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_4 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 4 AND (S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=4 AND (S.PROP = REP.PROP) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_4Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_4

public static int insertStmtIdsNew_4(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_4 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 4 AND (S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=4 AND (S.PROP = REP.PROP) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_4

public static void prepareInsertStmtIdsNew_4(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_4 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_4

public static int insertStmtIdsOld_4(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_4Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_4 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =4 AND (S.PROP = REP.PROP) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_4Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_4

public static int insertStmtIdsOld_4(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_4 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =4 AND (S.PROP = REP.PROP) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_4

public static void prepareInsertStmtIdsOld_4(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_4 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_5

public static int insertStmtIdsNew_5(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_5Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_5 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 5 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=5 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_5Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_5

public static int insertStmtIdsNew_5(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_5 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 5 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=5 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_5

public static void prepareInsertStmtIdsNew_5(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_5 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_5

public static int insertStmtIdsOld_5(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_5Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_5 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =5 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.PROP = REP.PROP) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_5Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_5

public static int insertStmtIdsOld_5(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_5 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =5 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.PROP = REP.PROP) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_5

public static void prepareInsertStmtIdsOld_5(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_5 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_6

public static int insertStmtIdsNew_6(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_6Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_6 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_6Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_6

public static int insertStmtIdsNew_6(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_6 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_6

public static void prepareInsertStmtIdsNew_6(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_6 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_6

public static int insertStmtIdsOld_6(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_6Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_6 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_6Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_6

public static int insertStmtIdsOld_6(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_6 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =6 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_6

public static void prepareInsertStmtIdsOld_6(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_6 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_7

public static int insertStmtIdsNew_7(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_7Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_7 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 7 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=7 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_7Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_7

public static int insertStmtIdsNew_7(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_7 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 7 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=7 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_7

public static void prepareInsertStmtIdsNew_7(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_7 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_7

public static int insertStmtIdsOld_7(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_7Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_7 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =7 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_7Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_7

public static int insertStmtIdsOld_7(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_7 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =7 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_7

public static void prepareInsertStmtIdsOld_7(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_7 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_8

public static int insertStmtIdsNew_8(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_8Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_8 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 8 AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=8 AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_8Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_8

public static int insertStmtIdsNew_8(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_8 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 8 AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=8 AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_8

public static void prepareInsertStmtIdsNew_8(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_8 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_8

public static int insertStmtIdsOld_8(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_8Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_8 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =8 AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_8Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_8

public static int insertStmtIdsOld_8(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_8 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =8 AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_8

public static void prepareInsertStmtIdsOld_8(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_8 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_9

public static int insertStmtIdsNew_9(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsNew_9Params params,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_9 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 9 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=9 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_9Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_9

public static int insertStmtIdsNew_9(PreparedStatementCache sqlCache,
                                     java.lang.Long start1,
                                     java.lang.Long end1,
                                     long startId,
                                     long endId,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix,
                                     java.lang.String replicatesTmp1,
                                     java.lang.String replicatesTmp2)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsNew_9 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 9 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=9 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_9

public static void prepareInsertStmtIdsNew_9(java.sql.PreparedStatement ps,
                                             java.lang.Long start1,
                                             java.lang.Long end1,
                                             long startId,
                                             long endId,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_9 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_9

public static int insertStmtIdsOld_9(PreparedStatementCache sqlCache,
                                     ReplicationRdbWrapper.InsertStmtIdsOld_9Params params,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_9 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =9 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_9Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_9

public static int insertStmtIdsOld_9(PreparedStatementCache sqlCache,
                                     java.lang.Long start2,
                                     java.lang.Long end2,
                                     long startId2,
                                     long endId2,
                                     java.lang.String sessionPrefix)
                              throws AnzoException,
                                     java.sql.SQLException
Runs the insertStmtIdsOld_9 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =9 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_9

public static void prepareInsertStmtIdsOld_9(java.sql.PreparedStatement ps,
                                             java.lang.Long start2,
                                             java.lang.Long end2,
                                             long startId2,
                                             long endId2)
                                      throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_9 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_10

public static int insertStmtIdsNew_10(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsNew_10Params params,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_10 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_10Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_10

public static int insertStmtIdsNew_10(PreparedStatementCache sqlCache,
                                      java.lang.Long start1,
                                      java.lang.Long end1,
                                      long startId,
                                      long endId,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_10 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_10

public static void prepareInsertStmtIdsNew_10(java.sql.PreparedStatement ps,
                                              java.lang.Long start1,
                                              java.lang.Long end1,
                                              long startId,
                                              long endId,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_10 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_10

public static int insertStmtIdsOld_10(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsOld_10Params params,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_10 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_10Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_10

public static int insertStmtIdsOld_10(PreparedStatementCache sqlCache,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_10 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =10 AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_10

public static void prepareInsertStmtIdsOld_10(java.sql.PreparedStatement ps,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_10 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_11

public static int insertStmtIdsNew_11(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsNew_11Params params,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_11 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 11 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=11 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_11Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_11

public static int insertStmtIdsNew_11(PreparedStatementCache sqlCache,
                                      java.lang.Long start1,
                                      java.lang.Long end1,
                                      long startId,
                                      long endId,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_11 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 11 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=11 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_11

public static void prepareInsertStmtIdsNew_11(java.sql.PreparedStatement ps,
                                              java.lang.Long start1,
                                              java.lang.Long end1,
                                              long startId,
                                              long endId,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_11 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_11

public static int insertStmtIdsOld_11(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsOld_11Params params,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_11 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =11 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_11Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_11

public static int insertStmtIdsOld_11(PreparedStatementCache sqlCache,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_11 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =11 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_11

public static void prepareInsertStmtIdsOld_11(java.sql.PreparedStatement ps,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_11 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_12

public static int insertStmtIdsNew_12(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsNew_12Params params,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_12 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_12Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_12

public static int insertStmtIdsNew_12(PreparedStatementCache sqlCache,
                                      java.lang.Long start1,
                                      java.lang.Long end1,
                                      long startId,
                                      long endId,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_12 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_12

public static void prepareInsertStmtIdsNew_12(java.sql.PreparedStatement ps,
                                              java.lang.Long start1,
                                              java.lang.Long end1,
                                              long startId,
                                              long endId,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_12 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_12

public static int insertStmtIdsOld_12(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsOld_12Params params,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_12 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_12Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_12

public static int insertStmtIdsOld_12(PreparedStatementCache sqlCache,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_12 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =12 AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_12

public static void prepareInsertStmtIdsOld_12(java.sql.PreparedStatement ps,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_12 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_13

public static int insertStmtIdsNew_13(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsNew_13Params params,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_13 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 13 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=13 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_13Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_13

public static int insertStmtIdsNew_13(PreparedStatementCache sqlCache,
                                      java.lang.Long start1,
                                      java.lang.Long end1,
                                      long startId,
                                      long endId,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_13 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 13 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=13 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_13

public static void prepareInsertStmtIdsNew_13(java.sql.PreparedStatement ps,
                                              java.lang.Long start1,
                                              java.lang.Long end1,
                                              long startId,
                                              long endId,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_13 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_13

public static int insertStmtIdsOld_13(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsOld_13Params params,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_13 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =13 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_13Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_13

public static int insertStmtIdsOld_13(PreparedStatementCache sqlCache,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_13 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =13 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_13

public static void prepareInsertStmtIdsOld_13(java.sql.PreparedStatement ps,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_13 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_14

public static int insertStmtIdsNew_14(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsNew_14Params params,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_14 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_14Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_14

public static int insertStmtIdsNew_14(PreparedStatementCache sqlCache,
                                      java.lang.Long start1,
                                      java.lang.Long end1,
                                      long startId,
                                      long endId,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_14 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_14

public static void prepareInsertStmtIdsNew_14(java.sql.PreparedStatement ps,
                                              java.lang.Long start1,
                                              java.lang.Long end1,
                                              long startId,
                                              long endId,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_14 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_14

public static int insertStmtIdsOld_14(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsOld_14Params params,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_14 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_14Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_14

public static int insertStmtIdsOld_14(PreparedStatementCache sqlCache,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_14 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =14 AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.NAMEDGRAPHID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_14

public static void prepareInsertStmtIdsOld_14(java.sql.PreparedStatement ps,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_14 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsNew_15

public static int insertStmtIdsNew_15(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsNew_15Params params,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_15 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 15 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=15 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsNew_15Params input Interface
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsNew_15

public static int insertStmtIdsNew_15(PreparedStatementCache sqlCache,
                                      java.lang.Long start1,
                                      java.lang.Long end1,
                                      long startId,
                                      long endId,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix,
                                      java.lang.String replicatesTmp1,
                                      java.lang.String replicatesTmp2)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsNew_15 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${b} REP WHERE REP.TRACKER=0 AND REP.TYPE = 15 AND ( S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ? UNION SELECT DISTINCT S.ID,S.NAMEDGRAPHID,0 FROM STATEMENTS S, ${a}${c} REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE=15 AND (S.NAMEDGRAPHID=REP.ID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID=GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
replicatesTmp1 - template parameter
replicatesTmp2 - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsNew_15

public static void prepareInsertStmtIdsNew_15(java.sql.PreparedStatement ps,
                                              java.lang.Long start1,
                                              java.lang.Long end1,
                                              long startId,
                                              long endId,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsNew_15 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start1 - template parameter
end1 - template parameter
startId - template parameter
endId - template parameter
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException

insertStmtIdsOld_15

public static int insertStmtIdsOld_15(PreparedStatementCache sqlCache,
                                      ReplicationRdbWrapper.InsertStmtIdsOld_15Params params,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_15 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =15 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
params - InsertStmtIdsOld_15Params input Interface
sessionPrefix - template parameter
Returns:
int containing the results of the SQL operation
Throws:
AnzoException
java.sql.SQLException

insertStmtIdsOld_15

public static int insertStmtIdsOld_15(PreparedStatementCache sqlCache,
                                      java.lang.Long start2,
                                      java.lang.Long end2,
                                      long startId2,
                                      long endId2,
                                      java.lang.String sessionPrefix)
                               throws AnzoException,
                                      java.sql.SQLException
Runs the insertStmtIdsOld_15 prepared statement. INSERT INTO ${a}ST SELECT DISTINCT S.ID,S.NAMEDGRAPHID,1 FROM STATEMENTS S, ${a}REPLICATES_TMP REP ,${a}TT GRAPHMODS WHERE (REP.TRACKER=1) AND REP.TYPE =15 AND (REP.ID=S.NAMEDGRAPHID) AND ( S.SUBJ = REP.SUBJ) AND ( S.PROP = REP.PROP) AND ( S.OBJ = REP.OBJ) AND REP.ID = GRAPHMODS.ID AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) AND S.ID BETWEEN ? AND ?

Parameters:
sqlCache - factory and cache of PreparedStatments
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
sessionPrefix - template parameter
Returns:
int
Throws:
AnzoException
java.sql.SQLException

prepareInsertStmtIdsOld_15

public static void prepareInsertStmtIdsOld_15(java.sql.PreparedStatement ps,
                                              java.lang.Long start2,
                                              java.lang.Long end2,
                                              long startId2,
                                              long endId2)
                                       throws java.sql.SQLException
Sets the input parameters for the insertStmtIdsOld_15 prepared statement.

Parameters:
ps - PreparedStatement to whose parameters are set
start2 - template parameter
end2 - template parameter
startId2 - template parameter
endId2 - template parameter
Throws:
java.sql.SQLException


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.