Class SVNSqlJetSelectStatement
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetTableStatement
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetSelectStatement
-
- Direct Known Subclasses:
SVNFSFSRevPropGet
,SVNSqlJetDeleteStatement
,SVNSqlJetSelectFieldsStatement
,SVNSqlJetUpdateStatement
,SvnWcDbCopy.SelectNodeToCopy
,SVNWCDbDeleteActualForBaseRecursive.SelectFromNodesForPresence
,SVNWCDBDoesNodeExists
,SVNWCDbHasServerExcludedNodes
,SVNWCDbNodesBase
,SVNWCDbNodesCurrent
,SVNWCDbNodesMaxOpDepth
,SVNWCDbNodesMinOpDepth
,SVNWCDbNodesStrictOpDepth
,SvnWcDbProperties.SelectRowWithMaxOpDepth
,SVNWCDbSelectAllServerExcludedNodes
,SVNWCDbSelectAncestorWCLocks
,SVNWCDbSelectBaseNodeChildren
,SVNWCDbSelectBaseNodeLockTokensRecursive
,SVNWCDbSelectChangelist
,SVNWCDbSelectCommittableExternalsImmediatelyBelow
,SVNWCDbSelectCopyPristines
,SVNWCDBSelectExternalProperties
,SVNWCDbSelectGeOpDepthChildren
,SVNWCDbSelectIPropsNode
,SVNWCDbSelectLock
,SVNWCDbSelectMinMaxRevisions
,SVNWCDbSelectMovedFromRelPath
,SVNWCDbSelectMovedFromRelPath17
,SVNWCDbSelectNodeChildrenInfo
,SVNWCDbSelectNodeChildrenWalkerInfo
,SVNWCDbSelectNotPresent
,SVNWCDbSelectOpDepthMovedPair
,SVNWCDbSelectRevertListCopiedChildren
,SVNWCDbSelectSHA1Checksum
,SVNWCDbSelectUnreferencedPristines
,SVNWCDbSelectWCRootNodes
public class SVNSqlJetSelectStatement extends SVNSqlJetTableStatement
- Version:
- 1.4
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
indexName
private java.util.Map<java.lang.String,java.lang.Object>
rowValues
-
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 SVNSqlJetSelectStatement(SVNSqlJetDb sDb, java.lang.Enum<?> fromTable)
SVNSqlJetSelectStatement(SVNSqlJetDb sDb, java.lang.Enum<?> fromTable, java.lang.Enum<?> indexName)
SVNSqlJetSelectStatement(SVNSqlJetDb sDb, java.lang.String fromTable)
SVNSqlJetSelectStatement(SVNSqlJetDb sDb, java.lang.String fromTable, java.lang.String indexName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
eof()
protected java.lang.Object
getColumn(java.lang.String f)
protected byte[]
getColumnBlob(java.lang.String f)
protected long
getColumnLong(java.lang.String f)
protected java.lang.String
getColumnString(java.lang.String f)
private java.lang.Enum<?>
getDefaultRowPathField()
protected java.lang.String
getIndexName()
protected java.lang.String
getPathScope()
protected java.lang.String
getRowPath()
protected java.lang.Enum<?>
getRowPathField()
java.util.Map<java.lang.String,java.lang.Object>
getRowValues()
java.util.Map<java.lang.String,java.lang.Object>
getRowValues2(java.util.Map<java.lang.String,java.lang.Object> v)
protected java.lang.Object[]
getWhere()
protected boolean
isColumnNull(java.lang.String f)
protected boolean
isFilterPassed()
private boolean
isPathScoped()
protected boolean
isPathScopeInIndex()
protected static boolean
isStrictDescendantOf(java.lang.String descendant, java.lang.String ancestor)
protected boolean
isStrictiDescendant()
private void
loadRowValues(boolean has)
boolean
next()
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor
openCursor()
private boolean
pathIsDecendant()
private boolean
pathScopeMatches()
void
reset()
void
setIndexName(java.lang.String indexName)
-
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
-
-
-
-
Constructor Detail
-
SVNSqlJetSelectStatement
public SVNSqlJetSelectStatement(SVNSqlJetDb sDb, java.lang.Enum<?> fromTable) throws SVNException
- Throws:
SVNException
-
SVNSqlJetSelectStatement
public SVNSqlJetSelectStatement(SVNSqlJetDb sDb, java.lang.Enum<?> fromTable, java.lang.Enum<?> indexName) throws SVNException
- Throws:
SVNException
-
SVNSqlJetSelectStatement
public SVNSqlJetSelectStatement(SVNSqlJetDb sDb, java.lang.String fromTable) throws SVNException
- Throws:
SVNException
-
SVNSqlJetSelectStatement
public SVNSqlJetSelectStatement(SVNSqlJetDb sDb, java.lang.String fromTable, java.lang.String indexName) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
openCursor
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor openCursor() throws SVNException
- Overrides:
openCursor
in classSVNSqlJetStatement
- Throws:
SVNException
-
isPathScoped
private boolean isPathScoped() throws SVNException
- Throws:
SVNException
-
getPathScope
protected java.lang.String getPathScope()
-
isStrictiDescendant
protected boolean isStrictiDescendant()
-
isPathScopeInIndex
protected boolean isPathScopeInIndex() throws SVNException
- Throws:
SVNException
-
getIndexName
protected java.lang.String getIndexName()
-
setIndexName
public void setIndexName(java.lang.String indexName)
-
getWhere
protected java.lang.Object[] getWhere() throws SVNException
- Throws:
SVNException
-
next
public boolean next() throws SVNException
- Overrides:
next
in classSVNSqlJetStatement
- Throws:
SVNException
-
pathScopeMatches
private boolean pathScopeMatches() throws SVNException
- Throws:
SVNException
-
pathIsDecendant
private boolean pathIsDecendant() throws SVNException
- Throws:
SVNException
-
getRowPathField
protected java.lang.Enum<?> getRowPathField() throws SVNException
- Throws:
SVNException
-
getDefaultRowPathField
private java.lang.Enum<?> getDefaultRowPathField()
-
getRowPath
protected java.lang.String getRowPath() throws SVNException
- Throws:
SVNException
-
isFilterPassed
protected boolean isFilterPassed() throws SVNException
- Throws:
SVNException
-
eof
public boolean eof() throws SVNException
- Overrides:
eof
in classSVNSqlJetStatement
- Throws:
SVNException
-
loadRowValues
private void loadRowValues(boolean has) throws SVNException
- Throws:
SVNException
-
getRowValues2
public java.util.Map<java.lang.String,java.lang.Object> getRowValues2(java.util.Map<java.lang.String,java.lang.Object> v) throws SVNException
- Throws:
SVNException
-
getRowValues
public java.util.Map<java.lang.String,java.lang.Object> getRowValues() throws SVNException
- Overrides:
getRowValues
in classSVNSqlJetStatement
- Throws:
SVNException
-
getColumn
protected java.lang.Object getColumn(java.lang.String f) throws SVNException
- Overrides:
getColumn
in classSVNSqlJetStatement
- Throws:
SVNException
-
getColumnLong
protected long getColumnLong(java.lang.String f) throws SVNException
- Overrides:
getColumnLong
in classSVNSqlJetStatement
- Throws:
SVNException
-
getColumnString
protected java.lang.String getColumnString(java.lang.String f) throws SVNException
- Overrides:
getColumnString
in classSVNSqlJetStatement
- Throws:
SVNException
-
isColumnNull
protected boolean isColumnNull(java.lang.String f) throws SVNException
- Overrides:
isColumnNull
in classSVNSqlJetStatement
- Throws:
SVNException
-
getColumnBlob
protected byte[] getColumnBlob(java.lang.String f) throws SVNException
- Overrides:
getColumnBlob
in classSVNSqlJetStatement
- Throws:
SVNException
-
reset
public void reset() throws SVNException
- Overrides:
reset
in classSVNSqlJetTableStatement
- Throws:
SVNException
-
isStrictDescendantOf
protected static boolean isStrictDescendantOf(java.lang.String descendant, java.lang.String ancestor)
-
-