|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.repository.rdb.sql.StatementRdbWrapper
public class StatementRdbWrapper
StatementRdbWrapper provides wrappers around SQL queries and transforms ResultSets into java objects
| Nested Class Summary | |
|---|---|
static class |
StatementRdbWrapper.BatchDeleteStatement
Batch operation for adding parameters to the DeleteStatement prepared statement |
static class |
StatementRdbWrapper.BatchInsertStatement
Batch operation for adding parameters to the InsertStatement prepared statement |
static interface |
StatementRdbWrapper.DeleteStatementParams
Interface for managing the parameters to the deleteStatement prepared statement. |
static class |
StatementRdbWrapper.DeleteStatementParamsImpl
Default implementation of DeleteStatementParams |
static interface |
StatementRdbWrapper.GetTotalNumberOfStoredTriplesNoWithParams
Interface for managing the parameters to the getTotalNumberOfStoredTriplesNoWith prepared statement. |
static class |
StatementRdbWrapper.GetTotalNumberOfStoredTriplesNoWithParamsImpl
Default implementation of GetTotalNumberOfStoredTriplesNoWithParams |
static interface |
StatementRdbWrapper.InsertStatementParams
Interface for managing the parameters to the insertStatement prepared statement. |
static class |
StatementRdbWrapper.InsertStatementParamsImpl
Default implementation of InsertStatementParams |
static interface |
StatementRdbWrapper.SelectAllStatementsResult
Interface for holding the results of the selectAllStatements prepared statement. |
static class |
StatementRdbWrapper.SelectAllStatementsResultImpl
Default implementation of SelectAllStatementsResult |
static interface |
StatementRdbWrapper.SelectStatementIdParams
Interface for managing the parameters to the selectStatementId prepared statement. |
static class |
StatementRdbWrapper.SelectStatementIdParamsImpl
Default implementation of SelectStatementIdParams |
static interface |
StatementRdbWrapper.SelectStatementResult
Interface for holding the results of the selectStatement prepared statement. |
static class |
StatementRdbWrapper.SelectStatementResultImpl
Default implementation of SelectStatementResult |
static interface |
StatementRdbWrapper.SelectStatementsByTripleFromHistoryParams
Interface for managing the parameters to the selectStatementsByTripleFromHistory prepared statement. |
static class |
StatementRdbWrapper.SelectStatementsByTripleFromHistoryParamsImpl
Default implementation of SelectStatementsByTripleFromHistoryParams |
static interface |
StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult
Interface for holding the results of the selectStatementsByTripleFromHistory prepared statement. |
static class |
StatementRdbWrapper.SelectStatementsByTripleFromHistoryResultImpl
Default implementation of SelectStatementsByTripleFromHistoryResult |
static interface |
StatementRdbWrapper.SelectStatementsByTripleHistoryParams
Interface for managing the parameters to the selectStatementsByTripleHistory prepared statement. |
static class |
StatementRdbWrapper.SelectStatementsByTripleHistoryParamsImpl
Default implementation of SelectStatementsByTripleHistoryParams |
static interface |
StatementRdbWrapper.SelectStatementsByTripleHistoryResult
Interface for holding the results of the selectStatementsByTripleHistory prepared statement. |
static class |
StatementRdbWrapper.SelectStatementsByTripleHistoryResultImpl
Default implementation of SelectStatementsByTripleHistoryResult |
static interface |
StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryParams
Interface for managing the parameters to the selectStatementsByTripleNoAuthHistory prepared statement. |
static class |
StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryParamsImpl
Default implementation of SelectStatementsByTripleNoAuthHistoryParams |
static interface |
StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult
Interface for holding the results of the selectStatementsByTripleNoAuthHistory prepared statement. |
static class |
StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResultImpl
Default implementation of SelectStatementsByTripleNoAuthHistoryResult |
| Field Summary | |
|---|---|
static java.lang.String |
deleteStatement
Constant "deleteStatement" used to reference prepared statement Statement.deleteStatement
UPDATE STATEMENTS SET HEND=? WHERE ID=?;
|
static java.lang.String |
getTotalNumberOfStoredTriples
Constant "getTotalNumberOfStoredTriples" used to reference prepared statement Statement.getTotalNumberOfStoredTriples
WITH LT (COMMITED) AS ( SELECT MAX(COMMITED) FROM TRANSACTIONTIMES ) SELECT COUNT(*) FROM STATEMENTS,LT WHERE STATEMENTS.HSTART <= LT.COMMITED AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > LT.COMMITED)
|
static java.lang.String |
getTotalNumberOfStoredTriplesNoWith
Constant "getTotalNumberOfStoredTriplesNoWith" used to reference prepared statement Statement.getTotalNumberOfStoredTriplesNoWith
SELECT COUNT(*) FROM STATEMENTS S WHERE S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) ;
|
static java.lang.String |
insertStatement
Constant "insertStatement" used to reference prepared statement Statement.insertStatement
INSERT INTO STATEMENTS( NAMEDGRAPHID, SUBJ, PROP, OBJ,HSTART) VALUES ( ?, ?, ?, ?, ?);
|
static java.lang.String |
selectAllStatements
Constant "selectAllStatements" used to reference prepared statement Statement.selectAllStatements
SELECT DISTINCT SUBJ, PROP, OBJ, HSTART, ID,NAMEDGRAPHID FROM ${a} WHERE HEND IS NULL;
|
static java.lang.String |
selectMaxId
Constant "selectMaxId" used to reference prepared statement Statement.selectMaxId
SELECT MAX(ID) FROM STATEMENTS;
|
static java.lang.String |
selectStatement
Constant "selectStatement" used to reference prepared statement Statement.selectStatement
SELECT DISTINCT NAMEDGRAPHID,SUBJ, PROP, OBJ, HSTART FROM STATEMENTS WHERE ID = ? AND HEND IS NULL;
|
static java.lang.String |
selectStatementId
Constant "selectStatementId" used to reference prepared statement Statement.selectStatementId
SELECT S.ID FROM STATEMENTS S WHERE S.NAMEDGRAPHID = ? AND SUBJ = ? AND PROP = ? AND OBJ = ? AND HEND IS NULL;
|
static java.lang.String |
selectStatementsByTripleFromHistory
Constant "selectStatementsByTripleFromHistory" used to reference prepared statement Statement.selectStatementsByTripleFromHistory
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HEND IS NULL AND S.NAMEDGRAPHID = NG.ID AND NG.HEND IS NULL AND NG.ACLID = ACIS.ACLID AND ACIS.HEND IS NULL AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HEND IS NULL AND UR.USERID = ? ) AND ACIS.CANREAD = 1;
|
static java.lang.String |
selectStatementsByTripleHistory
Constant "selectStatementsByTripleHistory" used to reference prepared statement Statement.selectStatementsByTripleHistory
SELECT DISTINCT S.ID, S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ? ) AND S.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;
|
static java.lang.String |
selectStatementsByTripleNoAuthHistory
Constant "selectStatementsByTripleNoAuthHistory" used to reference prepared statement Statement.selectStatementsByTripleNoAuthHistory
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR S.SUBJ = ?) AND (0 = ? OR S.PROP = ?) AND (0 = ? OR S.OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND >? );
|
| Constructor Summary | |
|---|---|
StatementRdbWrapper()
|
|
| Method Summary | |
|---|---|
static void |
deleteStatement(PreparedStatementCache sqlCache,
java.lang.Long hend,
long id)
Runs the deleteStatement prepared statement. |
static void |
deleteStatement(PreparedStatementCache sqlCache,
StatementRdbWrapper.DeleteStatementParams params)
Runs the deleteStatement prepared statement. |
static java.lang.Long |
getTotalNumberOfStoredTriples(PreparedStatementCache sqlCache)
Runs the getTotalNumberOfStoredTriples prepared statement. |
static java.lang.Long |
getTotalNumberOfStoredTriplesNoWith(PreparedStatementCache sqlCache,
java.lang.Long now,
java.lang.Long now2)
Runs the getTotalNumberOfStoredTriplesNoWith prepared statement. |
static java.lang.Long |
getTotalNumberOfStoredTriplesNoWith(PreparedStatementCache sqlCache,
StatementRdbWrapper.GetTotalNumberOfStoredTriplesNoWithParams params)
Runs the getTotalNumberOfStoredTriplesNoWith prepared statement. |
static void |
insertStatement(PreparedStatementCache sqlCache,
long namedGraphId,
long subj,
long prop,
long obj,
java.lang.Long hstart)
Runs the insertStatement prepared statement. |
static void |
insertStatement(PreparedStatementCache sqlCache,
StatementRdbWrapper.InsertStatementParams params)
Runs the insertStatement prepared statement. |
static void |
prepareDeleteStatement(java.sql.PreparedStatement ps,
java.lang.Long hend,
long id)
Sets the input parameters for the deleteStatement prepared statement. |
static void |
prepareGetTotalNumberOfStoredTriples(java.sql.PreparedStatement ps)
Sets the input parameters for the getTotalNumberOfStoredTriples prepared statement. |
static void |
prepareGetTotalNumberOfStoredTriplesNoWith(java.sql.PreparedStatement ps,
java.lang.Long now,
java.lang.Long now2)
Sets the input parameters for the getTotalNumberOfStoredTriplesNoWith prepared statement. |
static void |
prepareInsertStatement(java.sql.PreparedStatement ps,
long namedGraphId,
long subj,
long prop,
long obj,
java.lang.Long hstart)
Sets the input parameters for the insertStatement prepared statement. |
static void |
prepareSelectAllStatements(java.sql.PreparedStatement ps)
Sets the input parameters for the selectAllStatements prepared statement. |
static void |
prepareSelectMaxId(java.sql.PreparedStatement ps)
Sets the input parameters for the selectMaxId prepared statement. |
static void |
prepareSelectStatement(java.sql.PreparedStatement ps,
long id)
Sets the input parameters for the selectStatement prepared statement. |
static void |
prepareSelectStatementId(java.sql.PreparedStatement ps,
long namedGraph,
long subj,
long prop,
long obj)
Sets the input parameters for the selectStatementId prepared statement. |
static void |
prepareSelectStatementsByTripleFromHistory(java.sql.PreparedStatement ps,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
long userId)
Sets the input parameters for the selectStatementsByTripleFromHistory prepared statement. |
static void |
prepareSelectStatementsByTripleHistory(java.sql.PreparedStatement ps,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.Long lastTransactionTime3,
java.lang.Long lastTransactionTime4,
java.lang.Long lastTransactionTime5,
java.lang.Long lastTransactionTime6,
java.lang.Long lastTransactionTime7,
java.lang.Long lastTransactionTime8,
long userId)
Sets the input parameters for the selectStatementsByTripleHistory prepared statement. |
static void |
prepareSelectStatementsByTripleNoAuthHistory(java.sql.PreparedStatement ps,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2)
Sets the input parameters for the selectStatementsByTripleNoAuthHistory prepared statement. |
static ClosableIterator<StatementRdbWrapper.SelectAllStatementsResult> |
selectAllStatements(PreparedStatementCache sqlCache,
java.lang.String statementTable)
Runs the selectAllStatements prepared statement with the default transformer. |
static ClosableIterator<StatementRdbWrapper.SelectAllStatementsResult> |
selectAllStatements(PreparedStatementCache sqlCache,
java.lang.String statementTable,
Transformer<StatementRdbWrapper.SelectAllStatementsResult> transform)
Runs the selectAllStatements prepared statement. |
static java.lang.Long |
selectMaxId(PreparedStatementCache sqlCache)
Runs the selectMaxId prepared statement. |
static StatementRdbWrapper.SelectStatementResult |
selectStatement(PreparedStatementCache sqlCache,
long id)
Runs the selectStatement prepared statement. |
static StatementRdbWrapper.SelectStatementResult |
selectStatement(PreparedStatementCache sqlCache,
long id,
StatementRdbWrapper.SelectStatementResult result)
Runs the selectStatement prepared statement. |
static java.lang.Long |
selectStatementId(PreparedStatementCache sqlCache,
long namedGraph,
long subj,
long prop,
long obj)
Runs the selectStatementId prepared statement. |
static java.lang.Long |
selectStatementId(PreparedStatementCache sqlCache,
StatementRdbWrapper.SelectStatementIdParams params)
Runs the selectStatementId prepared statement. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult> |
selectStatementsByTripleFromHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
long userId,
java.lang.String statementTable)
Runs the selectStatementsByTripleFromHistory prepared statement with the default transformer. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult> |
selectStatementsByTripleFromHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
long userId,
java.lang.String statementTable,
Transformer<StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult> transform)
Runs the selectStatementsByTripleFromHistory prepared statement. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult> |
selectStatementsByTripleFromHistory(PreparedStatementCache sqlCache,
StatementRdbWrapper.SelectStatementsByTripleFromHistoryParams params,
java.lang.String statementTable)
Runs the selectStatementsByTripleFromHistory prepared statement. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleHistoryResult> |
selectStatementsByTripleHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.Long lastTransactionTime3,
java.lang.Long lastTransactionTime4,
java.lang.Long lastTransactionTime5,
java.lang.Long lastTransactionTime6,
java.lang.Long lastTransactionTime7,
java.lang.Long lastTransactionTime8,
long userId,
java.lang.String statementTable)
Runs the selectStatementsByTripleHistory prepared statement with the default transformer. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleHistoryResult> |
selectStatementsByTripleHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.Long lastTransactionTime3,
java.lang.Long lastTransactionTime4,
java.lang.Long lastTransactionTime5,
java.lang.Long lastTransactionTime6,
java.lang.Long lastTransactionTime7,
java.lang.Long lastTransactionTime8,
long userId,
java.lang.String statementTable,
Transformer<StatementRdbWrapper.SelectStatementsByTripleHistoryResult> transform)
Runs the selectStatementsByTripleHistory prepared statement. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleHistoryResult> |
selectStatementsByTripleHistory(PreparedStatementCache sqlCache,
StatementRdbWrapper.SelectStatementsByTripleHistoryParams params,
java.lang.String statementTable)
Runs the selectStatementsByTripleHistory prepared statement. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult> |
selectStatementsByTripleNoAuthHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.String statementTable)
Runs the selectStatementsByTripleNoAuthHistory prepared statement with the default transformer. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult> |
selectStatementsByTripleNoAuthHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.String statementTable,
Transformer<StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult> transform)
Runs the selectStatementsByTripleNoAuthHistory prepared statement. |
static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult> |
selectStatementsByTripleNoAuthHistory(PreparedStatementCache sqlCache,
StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryParams params,
java.lang.String statementTable)
Runs the selectStatementsByTripleNoAuthHistory prepared statement. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String selectMaxId
SELECT MAX(ID) FROM STATEMENTS;
public static final java.lang.String selectStatementId
SELECT S.ID FROM STATEMENTS S WHERE S.NAMEDGRAPHID = ? AND SUBJ = ? AND PROP = ? AND OBJ = ? AND HEND IS NULL;
public static final java.lang.String selectStatementsByTripleFromHistory
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HEND IS NULL AND S.NAMEDGRAPHID = NG.ID AND NG.HEND IS NULL AND NG.ACLID = ACIS.ACLID AND ACIS.HEND IS NULL AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HEND IS NULL AND UR.USERID = ? ) AND ACIS.CANREAD = 1;
public static final java.lang.String selectStatementsByTripleHistory
SELECT DISTINCT S.ID, S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ? ) AND S.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;
public static final java.lang.String selectStatementsByTripleNoAuthHistory
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR S.SUBJ = ?) AND (0 = ? OR S.PROP = ?) AND (0 = ? OR S.OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND >? );
public static final java.lang.String selectStatement
SELECT DISTINCT NAMEDGRAPHID,SUBJ, PROP, OBJ, HSTART FROM STATEMENTS WHERE ID = ? AND HEND IS NULL;
public static final java.lang.String selectAllStatements
SELECT DISTINCT SUBJ, PROP, OBJ, HSTART, ID,NAMEDGRAPHID FROM ${a} WHERE HEND IS NULL;
public static final java.lang.String insertStatement
INSERT INTO STATEMENTS( NAMEDGRAPHID, SUBJ, PROP, OBJ,HSTART) VALUES ( ?, ?, ?, ?, ?);
public static final java.lang.String deleteStatement
UPDATE STATEMENTS SET HEND=? WHERE ID=?;
public static final java.lang.String getTotalNumberOfStoredTriples
WITH LT (COMMITED) AS ( SELECT MAX(COMMITED) FROM TRANSACTIONTIMES ) SELECT COUNT(*) FROM STATEMENTS,LT WHERE STATEMENTS.HSTART <= LT.COMMITED AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > LT.COMMITED)
public static final java.lang.String getTotalNumberOfStoredTriplesNoWith
SELECT COUNT(*) FROM STATEMENTS S WHERE S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) ;
| Constructor Detail |
|---|
public StatementRdbWrapper()
| Method Detail |
|---|
public static java.lang.Long selectMaxId(PreparedStatementCache sqlCache)
throws AnzoException,
java.sql.SQLException
SELECT MAX(ID) FROM STATEMENTS;
sqlCache - factory and cache of PreparedStatments
AnzoException
java.sql.SQLException
public static void prepareSelectMaxId(java.sql.PreparedStatement ps)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are set
java.sql.SQLException
public static java.lang.Long selectStatementId(PreparedStatementCache sqlCache,
StatementRdbWrapper.SelectStatementIdParams params)
throws AnzoException,
java.sql.SQLException
SELECT S.ID FROM STATEMENTS S WHERE S.NAMEDGRAPHID = ? AND SUBJ = ? AND PROP = ? AND OBJ = ? AND HEND IS NULL;
sqlCache - factory and cache of PreparedStatmentsparams - SelectStatementIdParams input Interface
AnzoException
java.sql.SQLException
public static java.lang.Long selectStatementId(PreparedStatementCache sqlCache,
long namedGraph,
long subj,
long prop,
long obj)
throws AnzoException,
java.sql.SQLException
SELECT S.ID FROM STATEMENTS S WHERE S.NAMEDGRAPHID = ? AND SUBJ = ? AND PROP = ? AND OBJ = ? AND HEND IS NULL;
sqlCache - factory and cache of PreparedStatmentsnamedGraph - template parametersubj - template parameterprop - template parameterobj - template parameter
AnzoException
java.sql.SQLException
public static void prepareSelectStatementId(java.sql.PreparedStatement ps,
long namedGraph,
long subj,
long prop,
long obj)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are setnamedGraph - template parametersubj - template parameterprop - template parameterobj - template parameter
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult> selectStatementsByTripleFromHistory(PreparedStatementCache sqlCache,
StatementRdbWrapper.SelectStatementsByTripleFromHistoryParams params,
java.lang.String statementTable)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HEND IS NULL AND S.NAMEDGRAPHID = NG.ID AND NG.HEND IS NULL AND NG.ACLID = ACIS.ACLID AND ACIS.HEND IS NULL AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HEND IS NULL AND UR.USERID = ? ) AND ACIS.CANREAD = 1;
sqlCache - factory and cache of PreparedStatmentsparams - SelectStatementsByTripleFromHistoryParams input InterfacestatementTable - template parameter
AnzoException
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult> selectStatementsByTripleFromHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
long userId,
java.lang.String statementTable)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HEND IS NULL AND S.NAMEDGRAPHID = NG.ID AND NG.HEND IS NULL AND NG.ACLID = ACIS.ACLID AND ACIS.HEND IS NULL AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HEND IS NULL AND UR.USERID = ? ) AND ACIS.CANREAD = 1;
sqlCache - factory and cache of PreparedStatmentsnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameteruserId - template parameterstatementTable - template parameter
AnzoException
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult> selectStatementsByTripleFromHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
long userId,
java.lang.String statementTable,
Transformer<StatementRdbWrapper.SelectStatementsByTripleFromHistoryResult> transform)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HEND IS NULL AND S.NAMEDGRAPHID = NG.ID AND NG.HEND IS NULL AND NG.ACLID = ACIS.ACLID AND ACIS.HEND IS NULL AND ACIS.ROLEID IN(SELECT UR.ROLEID FROM USERSROLES UR WHERE UR.HEND IS NULL AND UR.USERID = ? ) AND ACIS.CANREAD = 1;
sqlCache - factory and cache of PreparedStatmentsnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameteruserId - template parameterstatementTable - template parametertransform - org.openanzo.jdbc.utils.TransformerAnzoException
java.sql.SQLException
public static void prepareSelectStatementsByTripleFromHistory(java.sql.PreparedStatement ps,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
long userId)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are setnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameteruserId - template parameter
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleHistoryResult> selectStatementsByTripleHistory(PreparedStatementCache sqlCache,
StatementRdbWrapper.SelectStatementsByTripleHistoryParams params,
java.lang.String statementTable)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.ID, S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ? ) AND S.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;
sqlCache - factory and cache of PreparedStatmentsparams - SelectStatementsByTripleHistoryParams input InterfacestatementTable - template parameter
AnzoException
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleHistoryResult> selectStatementsByTripleHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.Long lastTransactionTime3,
java.lang.Long lastTransactionTime4,
java.lang.Long lastTransactionTime5,
java.lang.Long lastTransactionTime6,
java.lang.Long lastTransactionTime7,
java.lang.Long lastTransactionTime8,
long userId,
java.lang.String statementTable)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.ID, S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ? ) AND S.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;
sqlCache - factory and cache of PreparedStatmentsnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameterlastTransactionTime1 - template parameterlastTransactionTime2 - template parameterlastTransactionTime3 - template parameterlastTransactionTime4 - template parameterlastTransactionTime5 - template parameterlastTransactionTime6 - template parameterlastTransactionTime7 - template parameterlastTransactionTime8 - template parameteruserId - template parameterstatementTable - template parameter
AnzoException
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleHistoryResult> selectStatementsByTripleHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.Long lastTransactionTime3,
java.lang.Long lastTransactionTime4,
java.lang.Long lastTransactionTime5,
java.lang.Long lastTransactionTime6,
java.lang.Long lastTransactionTime7,
java.lang.Long lastTransactionTime8,
long userId,
java.lang.String statementTable,
Transformer<StatementRdbWrapper.SelectStatementsByTripleHistoryResult> transform)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.ID, S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S, ACIS ACIS, NAMEDGRAPHS NG WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR SUBJ = ?) AND (0 = ? OR PROP = ?) AND (0 = ? OR OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ? ) AND S.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;
sqlCache - factory and cache of PreparedStatmentsnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameterlastTransactionTime1 - template parameterlastTransactionTime2 - template parameterlastTransactionTime3 - template parameterlastTransactionTime4 - template parameterlastTransactionTime5 - template parameterlastTransactionTime6 - template parameterlastTransactionTime7 - template parameterlastTransactionTime8 - template parameteruserId - template parameterstatementTable - template parametertransform - org.openanzo.jdbc.utils.TransformerAnzoException
java.sql.SQLException
public static void prepareSelectStatementsByTripleHistory(java.sql.PreparedStatement ps,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.Long lastTransactionTime3,
java.lang.Long lastTransactionTime4,
java.lang.Long lastTransactionTime5,
java.lang.Long lastTransactionTime6,
java.lang.Long lastTransactionTime7,
java.lang.Long lastTransactionTime8,
long userId)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are setnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameterlastTransactionTime1 - template parameterlastTransactionTime2 - template parameterlastTransactionTime3 - template parameterlastTransactionTime4 - template parameterlastTransactionTime5 - template parameterlastTransactionTime6 - template parameterlastTransactionTime7 - template parameterlastTransactionTime8 - template parameteruserId - template parameter
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult> selectStatementsByTripleNoAuthHistory(PreparedStatementCache sqlCache,
StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryParams params,
java.lang.String statementTable)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR S.SUBJ = ?) AND (0 = ? OR S.PROP = ?) AND (0 = ? OR S.OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND >? );
sqlCache - factory and cache of PreparedStatmentsparams - SelectStatementsByTripleNoAuthHistoryParams input InterfacestatementTable - template parameter
AnzoException
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult> selectStatementsByTripleNoAuthHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.String statementTable)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR S.SUBJ = ?) AND (0 = ? OR S.PROP = ?) AND (0 = ? OR S.OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND >? );
sqlCache - factory and cache of PreparedStatmentsnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameterlastTransactionTime1 - template parameterlastTransactionTime2 - template parameterstatementTable - template parameter
AnzoException
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult> selectStatementsByTripleNoAuthHistory(PreparedStatementCache sqlCache,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2,
java.lang.String statementTable,
Transformer<StatementRdbWrapper.SelectStatementsByTripleNoAuthHistoryResult> transform)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT S.NAMEDGRAPHID,S.SUBJ, S.PROP, S.OBJ FROM ${a} S WHERE (0 = ? OR S.NAMEDGRAPHID = ?) AND (0 = ? OR S.SUBJ = ?) AND (0 = ? OR S.PROP = ?) AND (0 = ? OR S.OBJ = ?) AND S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND >? );
sqlCache - factory and cache of PreparedStatmentsnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameterlastTransactionTime1 - template parameterlastTransactionTime2 - template parameterstatementTable - template parametertransform - org.openanzo.jdbc.utils.TransformerAnzoException
java.sql.SQLException
public static void prepareSelectStatementsByTripleNoAuthHistory(java.sql.PreparedStatement ps,
int namedGraphNull,
long namedGraph,
int subjNull,
long subj,
int propNull,
long prop,
int objNull,
long obj,
java.lang.Long lastTransactionTime1,
java.lang.Long lastTransactionTime2)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are setnamedGraphNull - template parameternamedGraph - template parametersubjNull - template parametersubj - template parameterpropNull - template parameterprop - template parameterobjNull - template parameterobj - template parameterlastTransactionTime1 - template parameterlastTransactionTime2 - template parameter
java.sql.SQLException
public static StatementRdbWrapper.SelectStatementResult selectStatement(PreparedStatementCache sqlCache,
long id)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT NAMEDGRAPHID,SUBJ, PROP, OBJ, HSTART FROM STATEMENTS WHERE ID = ? AND HEND IS NULL;
sqlCache - factory and cache of PreparedStatmentsid - template parameter
AnzoException
java.sql.SQLException
public static StatementRdbWrapper.SelectStatementResult selectStatement(PreparedStatementCache sqlCache,
long id,
StatementRdbWrapper.SelectStatementResult result)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT NAMEDGRAPHID,SUBJ, PROP, OBJ, HSTART FROM STATEMENTS WHERE ID = ? AND HEND IS NULL;
sqlCache - factory and cache of PreparedStatmentsid - template parameterresult - SelectStatementResult result object
AnzoException
java.sql.SQLException
public static void prepareSelectStatement(java.sql.PreparedStatement ps,
long id)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are setid - template parameter
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectAllStatementsResult> selectAllStatements(PreparedStatementCache sqlCache,
java.lang.String statementTable)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT SUBJ, PROP, OBJ, HSTART, ID,NAMEDGRAPHID FROM ${a} WHERE HEND IS NULL;
sqlCache - factory and cache of PreparedStatmentsstatementTable - template parameter
AnzoException
java.sql.SQLException
public static ClosableIterator<StatementRdbWrapper.SelectAllStatementsResult> selectAllStatements(PreparedStatementCache sqlCache,
java.lang.String statementTable,
Transformer<StatementRdbWrapper.SelectAllStatementsResult> transform)
throws AnzoException,
java.sql.SQLException
SELECT DISTINCT SUBJ, PROP, OBJ, HSTART, ID,NAMEDGRAPHID FROM ${a} WHERE HEND IS NULL;
sqlCache - factory and cache of PreparedStatmentsstatementTable - template parametertransform - org.openanzo.jdbc.utils.TransformerAnzoException
java.sql.SQLException
public static void prepareSelectAllStatements(java.sql.PreparedStatement ps)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are set
java.sql.SQLException
public static void insertStatement(PreparedStatementCache sqlCache,
StatementRdbWrapper.InsertStatementParams params)
throws AnzoException,
java.sql.SQLException
INSERT INTO STATEMENTS( NAMEDGRAPHID, SUBJ, PROP, OBJ,HSTART) VALUES ( ?, ?, ?, ?, ?);
sqlCache - factory and cache of PreparedStatmentsparams - InsertStatementParams input Interface
AnzoException
java.sql.SQLException
public static void insertStatement(PreparedStatementCache sqlCache,
long namedGraphId,
long subj,
long prop,
long obj,
java.lang.Long hstart)
throws AnzoException,
java.sql.SQLException
INSERT INTO STATEMENTS( NAMEDGRAPHID, SUBJ, PROP, OBJ,HSTART) VALUES ( ?, ?, ?, ?, ?);
sqlCache - factory and cache of PreparedStatmentsnamedGraphId - template parametersubj - template parameterprop - template parameterobj - template parameterhstart - template parameter
AnzoException
java.sql.SQLException
public static void prepareInsertStatement(java.sql.PreparedStatement ps,
long namedGraphId,
long subj,
long prop,
long obj,
java.lang.Long hstart)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are setnamedGraphId - template parametersubj - template parameterprop - template parameterobj - template parameterhstart - template parameter
java.sql.SQLException
public static void deleteStatement(PreparedStatementCache sqlCache,
StatementRdbWrapper.DeleteStatementParams params)
throws AnzoException,
java.sql.SQLException
UPDATE STATEMENTS SET HEND=? WHERE ID=?;
sqlCache - factory and cache of PreparedStatmentsparams - DeleteStatementParams input Interface
AnzoException
java.sql.SQLException
public static void deleteStatement(PreparedStatementCache sqlCache,
java.lang.Long hend,
long id)
throws AnzoException,
java.sql.SQLException
UPDATE STATEMENTS SET HEND=? WHERE ID=?;
sqlCache - factory and cache of PreparedStatmentshend - template parameterid - template parameter
AnzoException
java.sql.SQLException
public static void prepareDeleteStatement(java.sql.PreparedStatement ps,
java.lang.Long hend,
long id)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are sethend - template parameterid - template parameter
java.sql.SQLException
public static java.lang.Long getTotalNumberOfStoredTriples(PreparedStatementCache sqlCache)
throws AnzoException,
java.sql.SQLException
WITH LT (COMMITED) AS ( SELECT MAX(COMMITED) FROM TRANSACTIONTIMES ) SELECT COUNT(*) FROM STATEMENTS,LT WHERE STATEMENTS.HSTART <= LT.COMMITED AND (STATEMENTS.HEND IS NULL OR STATEMENTS.HEND > LT.COMMITED)
sqlCache - factory and cache of PreparedStatments
AnzoException
java.sql.SQLException
public static void prepareGetTotalNumberOfStoredTriples(java.sql.PreparedStatement ps)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are set
java.sql.SQLException
public static java.lang.Long getTotalNumberOfStoredTriplesNoWith(PreparedStatementCache sqlCache,
StatementRdbWrapper.GetTotalNumberOfStoredTriplesNoWithParams params)
throws AnzoException,
java.sql.SQLException
SELECT COUNT(*) FROM STATEMENTS S WHERE S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) ;
sqlCache - factory and cache of PreparedStatmentsparams - GetTotalNumberOfStoredTriplesNoWithParams input Interface
AnzoException
java.sql.SQLException
public static java.lang.Long getTotalNumberOfStoredTriplesNoWith(PreparedStatementCache sqlCache,
java.lang.Long now,
java.lang.Long now2)
throws AnzoException,
java.sql.SQLException
SELECT COUNT(*) FROM STATEMENTS S WHERE S.HSTART <= ? AND (S.HEND IS NULL OR S.HEND > ?) ;
sqlCache - factory and cache of PreparedStatmentsnow - template parameternow2 - template parameter
AnzoException
java.sql.SQLException
public static void prepareGetTotalNumberOfStoredTriplesNoWith(java.sql.PreparedStatement ps,
java.lang.Long now,
java.lang.Long now2)
throws java.sql.SQLException
ps - PreparedStatement to whose parameters are setnow - template parameternow2 - template parameter
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||