Class SVNWCDbInsertExternalUpgrade
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetTableStatement
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetInsertStatement
-
- org.tmatesoft.svn.core.internal.wc17.db.statement.SVNWCDbInsertExternalUpgrade
-
public class SVNWCDbInsertExternalUpgrade extends SVNSqlJetInsertStatement
-- STMT_INSERT_EXTERNAL_UPGRADE INSERT OR REPLACE INTO externals ( wc_id, local_relpath, parent_relpath, presence, kind, def_local_relpath, repos_id, def_repos_relpath, def_operational_revision, def_revision) VALUES (?1, ?2, ?3, ?4, CASE WHEN (SELECT file_external FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0) IS NOT NULL THEN 'file' ELSE 'unknown' END, ?5, ?6, ?7, ?8, ?9)- Version:
- 1.4
- Author:
- TMate Software Ltd.
-
-
Field Summary
-
Fields inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetInsertStatement
conflictAction
-
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 SVNWCDbInsertExternalUpgrade(SVNSqlJetDb sDb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
exec()
protected java.util.Map<java.lang.String,java.lang.Object>
getInsertValues()
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetTableStatement
addTrigger, getTable, getTableName, getTriggers, reset, statementCompleted, statementStarted
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
bindBlob, bindChecksum, bindf, bindIProperties, bindLong, bindNull, bindProperties, bindRevision, bindString, count, done, eof, getBind, getBinds, getColumn, getColumn, getColumnBlob, getColumnBlob, getColumnBoolean, getColumnInheritedProperties, getColumnInheritedProperties, getColumnLong, getColumnLong, getColumnProperties, getColumnProperties, getColumnRevnum, getColumnString, getColumnString, getCursor, getJoinedStatement, getJoinedStatement, getRowValues, hasColumnInheritedProperties, hasColumnInheritedProperties, hasColumnProperties, hasColumnProperties, insert, isColumnNull, isColumnNull, isNeedsReset, next, nextRow, openCursor, parseInheritedProperties, parseProperties, setCursor
-
-
-
-
Constructor Detail
-
SVNWCDbInsertExternalUpgrade
public SVNWCDbInsertExternalUpgrade(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
exec
public long exec() throws SVNException
- Overrides:
exec
in classSVNSqlJetInsertStatement
- Throws:
SVNException
-
getInsertValues
protected java.util.Map<java.lang.String,java.lang.Object> getInsertValues() throws SVNException
- Specified by:
getInsertValues
in classSVNSqlJetInsertStatement
- Throws:
SVNException
-
-