Class SVNWCDbSelectBasePresent
- 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.SVNWCDbSelectBasePresent
-
public class SVNWCDbSelectBasePresent extends SVNSqlJetSelectFieldsStatement<SVNWCDbSchema.NODES__Fields>
SELECT local_relpath, kind FROM nodes n WHERE wc_id = ?1 AND IS_STRICT_DESCENDANT_OF(local_relpath, ?2) AND op_depth = 0 AND presence in (MAP_NORMAL, MAP_INCOMPLETE) AND NOT EXISTS(SELECT 1 FROM NODES w WHERE w.wc_id = ?1 AND w.local_relpath = n.local_relpath AND op_depth > 0) ORDER BY local_relpath DESC
-
-
Field Summary
Fields Modifier and Type Field Description private SVNWCDbNodesMinOpDepth
minOpDepthSelect
-
Fields inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectFieldsStatement
fields
-
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 SVNWCDbSelectBasePresent(SVNSqlJetDb sDb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
defineFields()
protected java.lang.String
getPathScope()
protected java.lang.Object[]
getWhere()
protected boolean
isFilterPassed()
protected boolean
isStrictiDescendant()
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor
openCursor()
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectFieldsStatement
checkField, getColumnBlob, getColumnLong, getColumnString, getFieldName, isColumnNull
-
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, 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, 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, setCursor
-
-
-
-
Field Detail
-
minOpDepthSelect
private SVNWCDbNodesMinOpDepth minOpDepthSelect
-
-
Constructor Detail
-
SVNWCDbSelectBasePresent
public SVNWCDbSelectBasePresent(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
defineFields
protected void defineFields()
- Specified by:
defineFields
in classSVNSqlJetSelectFieldsStatement<SVNWCDbSchema.NODES__Fields>
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException
- Overrides:
getWhere
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
getPathScope
protected java.lang.String getPathScope()
- Overrides:
getPathScope
in classSVNSqlJetSelectStatement
-
isStrictiDescendant
protected boolean isStrictiDescendant()
- Overrides:
isStrictiDescendant
in classSVNSqlJetSelectStatement
-
isFilterPassed
protected boolean isFilterPassed() throws SVNException
- Overrides:
isFilterPassed
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
openCursor
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor openCursor() throws SVNException
- Overrides:
openCursor
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
-