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 classSVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement1private static classSVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement2private static classSVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement3
-
Field Summary
Fields Modifier and Type Field Description private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement1internalStatement1private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement2internalStatement2-
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 booleancheckForImmediate()SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement1getInternalStatement1()private SVNWCDbSelectCommittableExternalsImmediatelyBelow.InternalStatement2getInternalStatement2()protected java.lang.StringgetPathScope()protected java.lang.Object[]getWhere()protected booleanisFilterPassed()protected booleanisStrictiDescendant()booleannext()voidreset()-
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:
getPathScopein classSVNSqlJetSelectStatement
-
isStrictiDescendant
protected boolean isStrictiDescendant()
- Overrides:
isStrictiDescendantin classSVNSqlJetSelectStatement
-
isFilterPassed
protected boolean isFilterPassed() throws SVNException- Overrides:
isFilterPassedin 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:
getWherein classSVNSqlJetSelectStatement- Throws:
SVNException
-
next
public boolean next() throws SVNException- Overrides:
nextin classSVNSqlJetSelectStatement- Throws:
SVNException
-
reset
public void reset() throws SVNException- Overrides:
resetin classSVNSqlJetSelectStatement- Throws:
SVNException
-
-