Class SVNWCDbSelectWorkingChildren
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.SVNSqlJetSelectFieldsStatement<SVNWCDbSchema.NODES__Fields>
org.tmatesoft.svn.core.internal.wc17.db.statement.SVNWCDbSelectWorkingChildren
public class SVNWCDbSelectWorkingChildren
extends SVNSqlJetSelectFieldsStatement<SVNWCDbSchema.NODES__Fields>
SELECT local_relpath FROM nodes
WHERE wc_id = ?1 AND parent_relpath = ?2
AND (op_depth > (SELECT MAX(op_depth) FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2)
OR
(op_depth = (SELECT MAX(op_depth) FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2)
AND presence != 'base-deleted'))
-
Field Summary
FieldsFields inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectFieldsStatement
fieldsFields inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetTableStatement
table, tableNameFields inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
binds, sDb, transactionMode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected java.lang.Object[]getWhere()protected booleanprotected org.tmatesoft.sqljet.core.table.ISqlJetCursorMethods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectFieldsStatement
checkField, getColumnBlob, getColumnLong, getColumnString, getFieldName, isColumnNullMethods 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, reset, setIndexNameMethods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetTableStatement
addTrigger, getTable, getTableName, getTriggers, statementCompleted, statementStartedMethods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
bindBlob, bindChecksum, bindf, bindIProperties, bindLong, bindNull, bindProperties, bindRevision, bindString, count, done, exec, 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, setCursorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
parentMaxOpDepth
private long parentMaxOpDepth
-
-
Constructor Details
-
SVNWCDbSelectWorkingChildren
- Throws:
SVNException
-
-
Method Details
-
defineFields
protected void defineFields()- Specified by:
defineFieldsin classSVNSqlJetSelectFieldsStatement<SVNWCDbSchema.NODES__Fields>
-
isFilterPassed
- Overrides:
isFilterPassedin classSVNSqlJetSelectStatement- Throws:
SVNException
-
getWhere
- Overrides:
getWherein classSVNSqlJetSelectStatement- Throws:
SVNException
-
openCursor
- Overrides:
openCursorin classSVNSqlJetSelectStatement- Throws:
SVNException
-