Class SVNWCDBSelectExternalProperties
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.SVNWCDBSelectExternalProperties
SELECT IFNULL((SELECT properties FROM actual_node a
WHERE a.wc_id = ?1 AND A.local_relpath = n.local_relpath),
properties),
local_relpath, depth
FROM nodes n
WHERE wc_id = ?1
AND (?2 = ''
OR local_relpath = ?2
OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))
AND kind = 'dir' AND presence='normal'
AND op_depth=(SELECT MAX(op_depth) FROM nodes o
WHERE o.wc_id = ?1 AND o.local_relpath = n.local_relpath)
-
Field Summary
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 TypeMethodDescriptiongetColumnProperties(java.lang.String f) protected java.lang.Stringprotected java.lang.Object[]getWhere()private booleanprotected booleanMethods inherited from class org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement
eof, getColumn, getColumnBlob, getColumnLong, getColumnString, getIndexName, getRowPath, getRowPathField, getRowValues, getRowValues2, isColumnNull, isPathScopeInIndex, isStrictDescendantOf, isStrictiDescendant, next, openCursor, 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, 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
-
maxOpDepthSelect
-
propertiesSelect
-
-
Constructor Details
-
SVNWCDBSelectExternalProperties
- Throws:
SVNException
-
-
Method Details
-
isFilterPassed
- Overrides:
isFilterPassedin classSVNSqlJetSelectStatement- Throws:
SVNException
-
hasMaxOpDepth
- Throws:
SVNException
-
getColumnProperties
- Overrides:
getColumnPropertiesin classSVNSqlJetStatement- Throws:
SVNException
-
getWhere
- Overrides:
getWherein classSVNSqlJetSelectStatement- Throws:
SVNException
-
getPathScope
protected java.lang.String getPathScope()- Overrides:
getPathScopein classSVNSqlJetSelectStatement
-