Class SVNWCDbSelectCommittableExternalsImmediatelyBelow
- 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.wc17.db.statement.SVNWCDbSelectCommittableExternalsImmediatelyBelow
-
- Direct Known Subclasses:
SVNWCDbSelectCommittableExternalsBelow
public class SVNWCDbSelectCommittableExternalsImmediatelyBelow extends SVNSqlJetSelectStatement
SELECT local_relpath, kind, def_repos_relpath, (SELECT root FROM repository AS r WHERE r.id = e.repos_id) FROM externals e WHERE wc_id = ?1 AND IS_STRICT_DESCENDANT_OF(e.local_relpath, ?2) AND parent_relpath = ?2 AND def_revision IS NULL AND repos_id = (SELECT repos_id FROM nodes AS n WHERE n.wc_id = ?1 AND n.local_relpath = '' AND n.op_depth = 0) AND ((kind='dir') OR EXISTS (SELECT 1 FROM nodes WHERE nodes.wc_id = e.wc_id AND nodes.local_relpath = e.parent_relpath))- Version:
- 1.8
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement1
private static class
SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement2
private static class
SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement3
-
Field Summary
Fields Modifier and Type Field Description private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement1
internalStatement1
private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement2
internalStatement2
-
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 SVNWCDbSelectCommittableExternalsImmediatelyBelow(SVNSqlJetDb sDb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkForImmediate()
SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement1
getInternalStatement1()
private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement2
getInternalStatement2()
protected java.lang.String
getPathScope()
protected java.lang.Object[]
getWhere()
protected boolean
isFilterPassed()
protected boolean
isStrictiDescendant()
boolean
next()
void
reset()
-
Methods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement
eof, getColumn, getColumnBlob, getColumnLong, getColumnString, getIndexName, getRowPath, getRowPathField, getRowValues, getRowValues2, isColumnNull, isPathScopeInIndex, isStrictDescendantOf, 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, 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
-
internalStatement1
private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement1 internalStatement1
-
internalStatement2
private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement2 internalStatement2
-
-
Constructor Detail
-
SVNWCDbSelectCommittableExternalsImmediatelyBelow
public SVNWCDbSelectCommittableExternalsImmediatelyBelow(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
getInternalStatement1
public SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement1 getInternalStatement1()
-
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
-
getInternalStatement2
private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement2 getInternalStatement2() throws SVNException
- Throws:
SVNException
-
checkForImmediate
protected boolean checkForImmediate() throws SVNException
- Throws:
SVNException
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException
- Overrides:
getWhere
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
next
public boolean next() throws SVNException
- Overrides:
next
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
reset
public void reset() throws SVNException
- Overrides:
reset
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
-