Class SVNWCDbDeleteLowestWorkingNode
- 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.SVNWCDbDeleteLowestWorkingNode
-
public class SVNWCDbDeleteLowestWorkingNode extends SVNSqlJetDeleteStatement
DELETE FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = (SELECT MIN(op_depth) FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth > 0) AND presence = 'base-deleted';- Version:
- 1.4
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Long
minOpDepth
private SVNWCDbNodesMinOpDepth
minOpDepthSelect
-
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 SVNWCDbDeleteLowestWorkingNode(SVNSqlJetDb sDb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object[]
getWhere()
protected boolean
isFilterPassed()
void
reset()
-
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, 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
-
SVNWCDbDeleteLowestWorkingNode
public SVNWCDbDeleteLowestWorkingNode(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
reset
public void reset() throws SVNException
- Overrides:
reset
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException
- Overrides:
getWhere
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
isFilterPassed
protected boolean isFilterPassed() throws SVNException
- Overrides:
isFilterPassed
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
-