Class SVNWCDbDeleteWorkingBaseDelete
- 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.SVNWCDbDeleteWorkingBaseDelete
-
public class SVNWCDbDeleteWorkingBaseDelete extends SVNSqlJetDeleteStatement
DELETE FROM nodes WHERE wc_id = ?1 AND (((local_relpath) > (CASE (?2) WHEN '' THEN '' ELSE (?2) || '/' END)) AND ((local_relpath) < CASE (?2) WHEN '' THEN X'FFFF' ELSE (?2) || '0' END)) AND presence = 'base-deleted' AND op_depth > 0 AND op_depth = (SELECT MIN(op_depth) FROM nodes n WHERE n.wc_id = ?1 AND n.local_relpath = nodes.local_relpath AND op_depth > 0)
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.LongminOpDepthprivate SVNWCDbNodesMinOpDepthminOpDepthSelect-
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 SVNWCDbDeleteWorkingBaseDelete(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()voidreset()-
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, 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
-
minOpDepthSelect
private SVNWCDbNodesMinOpDepth minOpDepthSelect
-
minOpDepth
private java.lang.Long minOpDepth
-
-
Constructor Detail
-
SVNWCDbDeleteWorkingBaseDelete
public SVNWCDbDeleteWorkingBaseDelete(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
reset
public void reset() throws SVNException- Overrides:
resetin classSVNSqlJetSelectStatement- Throws:
SVNException
-
isFilterPassed
protected boolean isFilterPassed() throws SVNException- Overrides:
isFilterPassedin classSVNSqlJetSelectStatement- Throws:
SVNException
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException- Overrides:
getWherein classSVNSqlJetSelectStatement- Throws:
SVNException
-
getPathScope
protected java.lang.String getPathScope()
- Overrides:
getPathScopein classSVNSqlJetSelectStatement
-
isStrictiDescendant
protected boolean isStrictiDescendant()
- Overrides:
isStrictiDescendantin classSVNSqlJetSelectStatement
-
-