Class SVNWCDbDeleteLockOrphanRecursive
- 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.SVNSqlJetDeleteStatement
-
- org.tmatesoft.svn.core.internal.wc17.db.statement.SVNWCDbDeleteLockOrphanRecursive
-
- Direct Known Subclasses:
SVNWCDbDeleteWCLockOrphan
public class SVNWCDbDeleteLockOrphanRecursive extends SVNSqlJetDeleteStatement
DELETE FROM wc_lock WHERE wc_id = ?1 AND (?2 = '' OR local_dir_relpath = ?2 OR (local_dir_relpath > ?2 || '/' AND local_dir_relpath < ?2 || '0')) AND NOT EXISTS (SELECT 1 FROM nodes WHERE nodes.wc_id = ?1 AND nodes.local_relpath = wc_lock.local_dir_relpath)- Version:
- 1.4
- Author:
- TMate Software Ltd.
-
-
Field Summary
-
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 SVNWCDbDeleteLockOrphanRecursive(SVNSqlJetDb sDb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object[]
getWhere()
protected boolean
isFilterPassed()
protected boolean
isRecursive()
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetDeleteStatement
beforeDelete, exec
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement
eof, getColumn, getColumnBlob, getColumnLong, getColumnString, getIndexName, getPathScope, getRowPath, getRowPathField, getRowValues, getRowValues2, isColumnNull, 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
-
-
-
-
Constructor Detail
-
SVNWCDbDeleteLockOrphanRecursive
public SVNWCDbDeleteLockOrphanRecursive(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException
- Overrides:
getWhere
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
isRecursive
protected boolean isRecursive()
-
isFilterPassed
protected boolean isFilterPassed() throws SVNException
- Overrides:
isFilterPassed
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
-