Class SVNWCDbInsertDeleteFromNodeRecursive
- 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.SVNWCDbInsertDeleteFromNodeRecursive
-
public class SVNWCDbInsertDeleteFromNodeRecursive extends SVNSqlJetInsertStatement
INSERT INTO nodes ( wc_id, local_relpath, op_depth, parent_relpath, presence, kind) SELECT wc_id, local_relpath, ?4 _op_depth_, parent_relpath, 'base-deleted', kind FROM nodes WHERE wc_id = ?1 AND (local_relpath = ?2 OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0')) AND op_depth = ?3 AND presence NOT IN ('base-deleted', 'not-present', 'excluded', 'absent') AND file_external IS NULL
-
-
Field Summary
Fields Modifier and Type Field Description protected SVNSqlJetSelectFieldsStatement<SVNWCDbSchema.NODES__Fields>
select
-
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 SVNWCDbInsertDeleteFromNodeRecursive(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
-
-
-
-
Field Detail
-
select
protected SVNSqlJetSelectFieldsStatement<SVNWCDbSchema.NODES__Fields> select
-
-
Constructor Detail
-
SVNWCDbInsertDeleteFromNodeRecursive
public SVNWCDbInsertDeleteFromNodeRecursive(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
-
-