Class SVNWCDbUpdateCopyfrom
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetTableStatement
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetUpdateStatement
-
- org.tmatesoft.svn.core.internal.wc17.db.statement.SVNWCDbUpdateCopyfrom
-
public class SVNWCDbUpdateCopyfrom extends SVNSqlJetUpdateStatement
UPDATE nodes SET repos_id = ?3, repos_path = ?4 WHERE wc_id = ?1 AND local_relpath = ?2; AND op_depth = (SELECT MAX(op_depth) FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth > 0);- Version:
- 1.4
-
-
Field Summary
Fields Modifier and Type Field Description private SVNWCDbNodesMaxOpDepth
maxOpDepth
-
Fields inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetTableStatement
table, tableName
-
Fields inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
binds, sDb, transactionMode
-
-
Constructor Summary
Constructors Constructor Description SVNWCDbUpdateCopyfrom(SVNSqlJetDb sDb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getUpdateValues()
protected java.lang.Object[]
getWhere()
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetUpdateStatement
exec, update
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement
eof, getColumn, getColumnBlob, getColumnLong, getColumnString, getIndexName, getPathScope, getRowPath, getRowPathField, getRowValues, getRowValues2, isColumnNull, isFilterPassed, isPathScopeInIndex, isStrictDescendantOf, isStrictiDescendant, next, openCursor, reset, setIndexName
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetTableStatement
addTrigger, getTable, getTableName, getTriggers, statementCompleted, statementStarted
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
bindBlob, bindChecksum, bindf, bindIProperties, bindLong, bindNull, bindProperties, bindRevision, bindString, count, done, getBind, getBinds, getColumn, getColumnBlob, getColumnBoolean, getColumnInheritedProperties, getColumnInheritedProperties, getColumnLong, getColumnProperties, getColumnProperties, getColumnRevnum, getColumnString, getCursor, getJoinedStatement, getJoinedStatement, hasColumnInheritedProperties, hasColumnInheritedProperties, hasColumnProperties, hasColumnProperties, insert, isColumnNull, isNeedsReset, nextRow, parseInheritedProperties, parseProperties, setCursor
-
-
-
-
Field Detail
-
maxOpDepth
private SVNWCDbNodesMaxOpDepth maxOpDepth
-
-
Constructor Detail
-
SVNWCDbUpdateCopyfrom
public SVNWCDbUpdateCopyfrom(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException
- Overrides:
getWhere
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
getUpdateValues
public java.util.Map<java.lang.String,java.lang.Object> getUpdateValues() throws SVNException
- Specified by:
getUpdateValues
in classSVNSqlJetUpdateStatement
- Throws:
SVNException
-
-