Class SVNWCDbDeleteActualForBaseRecursive
- 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.SVNWCDbDeleteActualForBaseRecursive
-
public class SVNWCDbDeleteActualForBaseRecursive extends SVNSqlJetDeleteStatement
DELETE FROM actual_node WHERE wc_id = ?1 AND IS_STRICT_DESCENDANT_OF(local_relpath, ?2) AND EXISTS(SELECT 1 FROM NODES b WHERE b.wc_id = ?1 AND b.local_relpath = actual_node.local_relpath AND op_depth = 0) AND NOT EXISTS(SELECT 1 FROM NODES w WHERE w.wc_id = ?1 AND w.local_relpath = actual_node.local_relpath AND op_depth > 0 AND presence in (MAP_NORMAL, MAP_INCOMPLETE, MAP_NOT_PRESENT))
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classSVNWCDbDeleteActualForBaseRecursive.SelectFromNodesForPresence
-
Field Summary
Fields Modifier and Type Field Description private SVNWCDbDeleteActualForBaseRecursive.SelectFromNodesForPresenceselectFromNodesForPresenceprivate SVNWCDbNodesStrictOpDepthstrictOpDepthSelect-
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 SVNWCDbDeleteActualForBaseRecursive(SVNSqlJetDb sDb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetPathScope()protected java.lang.Object[]getWhere()protected booleanisFilterPassed()protected booleanisStrictiDescendant()-
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, getRowPath, getRowPathField, getRowValues, getRowValues2, isColumnNull, isPathScopeInIndex, isStrictDescendantOf, 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
-
strictOpDepthSelect
private SVNWCDbNodesStrictOpDepth strictOpDepthSelect
-
selectFromNodesForPresence
private SVNWCDbDeleteActualForBaseRecursive.SelectFromNodesForPresence selectFromNodesForPresence
-
-
Constructor Detail
-
SVNWCDbDeleteActualForBaseRecursive
public SVNWCDbDeleteActualForBaseRecursive(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException- Overrides:
getWherein classSVNSqlJetSelectStatement- Throws:
SVNException
-
isFilterPassed
protected boolean isFilterPassed() throws SVNException- Overrides:
isFilterPassedin classSVNSqlJetSelectStatement- Throws:
SVNException
-
getPathScope
protected java.lang.String getPathScope()
- Overrides:
getPathScopein classSVNSqlJetSelectStatement
-
isStrictiDescendant
protected boolean isStrictiDescendant()
- Overrides:
isStrictiDescendantin classSVNSqlJetSelectStatement
-
-