Class SVNWCDbSelectMinMaxRevisions
- 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.SVNWCDbSelectMinMaxRevisions
-
public class SVNWCDbSelectMinMaxRevisions extends SVNSqlJetSelectStatement
SELECT MIN(revision), MAX(revision), MIN(changed_revision), MAX(changed_revision) FROM nodes WHERE wc_id = ?1 AND (local_relpath = ?2 OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2)) AND presence IN (MAP_NORMAL, MAP_INCOMPLETE) AND file_external IS NULL AND op_depth = 0- Version:
- 1.8
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<ISVNWCDb.SVNWCDbStatus>
expectedPresence
private long
maxChangedRevision
private long
maxRevision
private long
minChangedRevision
private long
minRevision
-
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 SVNWCDbSelectMinMaxRevisions(SVNSqlJetDb sDb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMaxChangedRevision()
long
getMaxRevision()
long
getMinChangedRevision()
long
getMinRevision()
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
-
minRevision
private long minRevision
-
maxRevision
private long maxRevision
-
minChangedRevision
private long minChangedRevision
-
maxChangedRevision
private long maxChangedRevision
-
expectedPresence
private java.util.Set<ISVNWCDb.SVNWCDbStatus> expectedPresence
-
-
Constructor Detail
-
SVNWCDbSelectMinMaxRevisions
public SVNWCDbSelectMinMaxRevisions(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
reset
public void reset() throws SVNException
- Overrides:
reset
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
getMinRevision
public long getMinRevision()
-
getMaxRevision
public long getMaxRevision()
-
getMinChangedRevision
public long getMinChangedRevision()
-
getMaxChangedRevision
public long getMaxChangedRevision()
-
next
public boolean next() throws SVNException
- Overrides:
next
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
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException
- Overrides:
getWhere
in classSVNSqlJetSelectStatement
- Throws:
SVNException
-
-