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.StringindexNameprivate 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 booleaneof()protected java.lang.ObjectgetColumn(java.lang.String f)protected byte[]getColumnBlob(java.lang.String f)protected longgetColumnLong(java.lang.String f)protected java.lang.StringgetColumnString(java.lang.String f)private java.lang.Enum<?>getDefaultRowPathField()protected java.lang.StringgetIndexName()protected java.lang.StringgetPathScope()protected java.lang.StringgetRowPath()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 booleanisColumnNull(java.lang.String f)protected booleanisFilterPassed()private booleanisPathScoped()protected booleanisPathScopeInIndex()protected static booleanisStrictDescendantOf(java.lang.String descendant, java.lang.String ancestor)protected booleanisStrictiDescendant()private voidloadRowValues(boolean has)booleannext()protected org.tmatesoft.sqljet.core.table.ISqlJetCursoropenCursor()private booleanpathIsDecendant()private booleanpathScopeMatches()voidreset()voidsetIndexName(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:
openCursorin 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:
nextin 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:
eofin 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:
getRowValuesin classSVNSqlJetStatement- Throws:
SVNException
-
getColumn
protected java.lang.Object getColumn(java.lang.String f) throws SVNException- Overrides:
getColumnin classSVNSqlJetStatement- Throws:
SVNException
-
getColumnLong
protected long getColumnLong(java.lang.String f) throws SVNException- Overrides:
getColumnLongin classSVNSqlJetStatement- Throws:
SVNException
-
getColumnString
protected java.lang.String getColumnString(java.lang.String f) throws SVNException- Overrides:
getColumnStringin classSVNSqlJetStatement- Throws:
SVNException
-
isColumnNull
protected boolean isColumnNull(java.lang.String f) throws SVNException- Overrides:
isColumnNullin classSVNSqlJetStatement- Throws:
SVNException
-
getColumnBlob
protected byte[] getColumnBlob(java.lang.String f) throws SVNException- Overrides:
getColumnBlobin classSVNSqlJetStatement- Throws:
SVNException
-
reset
public void reset() throws SVNException- Overrides:
resetin classSVNSqlJetTableStatement- Throws:
SVNException
-
isStrictDescendantOf
protected static boolean isStrictDescendantOf(java.lang.String descendant, java.lang.String ancestor)
-
-