Class SVNSqlJetStatement
java.lang.Object
org.tmatesoft.svn.core.internal.db.SVNSqlJetStatement
- Direct Known Subclasses:
SVNFSFSRevPropCreateSchema
,SVNFSFSRevPropSet
,SVNSqlJetTableStatement
,SVNSqlJetUnionStatement
,SVNWCDbCopyMoveNode
,SVNWCDbCreateSchema
,SVNWCDbInsertLock
,SVNWCDbInsertWCLock
,SVNWCDbInsertWorkItem
,SVNWCDbReplaceWithBaseDeleted
public abstract class SVNSqlJetStatement
extends java.lang.Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected java.util.List<java.lang.Object>
private org.tmatesoft.sqljet.core.table.ISqlJetCursor
protected SVNSqlJetDb
protected org.tmatesoft.sqljet.core.SqlJetTransactionMode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
adjustBinds
(int i) void
bindBlob
(int i, byte[] serialized) void
bindChecksum
(int i, SvnChecksum checksum) void
bindf
(java.lang.String format, java.lang.Object... data) void
bindIProperties
(int i, java.util.Map<java.lang.String, SVNProperties> iprops) void
bindLong
(int i, long v) void
bindNull
(int i) void
bindProperties
(int i, SVNProperties props) void
bindRevision
(int i, long revision) void
bindString
(int i, java.lang.String string) long
count()
long
done()
boolean
eof()
long
exec()
protected java.lang.Object
getBind
(int i) java.util.List<java.lang.Object>
getBinds()
java.lang.Object
getColumn
(java.lang.Enum<?> f) protected java.lang.Object
getColumn
(java.lang.String f) byte[]
getColumnBlob
(java.lang.Enum<?> f) protected byte[]
getColumnBlob
(java.lang.String f) boolean
getColumnBoolean
(java.lang.Enum<?> f) java.util.List<Structure<StructureFields.InheritedProperties>>
getColumnInheritedProperties
(java.lang.Enum<?> f) java.util.List<Structure<StructureFields.InheritedProperties>>
getColumnInheritedProperties
(java.lang.String f) long
getColumnLong
(java.lang.Enum<?> f) protected long
getColumnLong
(java.lang.String f) getColumnProperties
(java.lang.Enum<?> f) protected SVNProperties
getColumnProperties
(java.lang.String f) long
getColumnRevnum
(java.lang.Enum<?> f) java.lang.String
getColumnString
(java.lang.Enum<?> f) protected java.lang.String
getColumnString
(java.lang.String f) protected org.tmatesoft.sqljet.core.table.ISqlJetCursor
getJoinedStatement
(java.lang.Enum<?> joinedTable) getJoinedStatement
(java.lang.String joinedTable) java.util.Map<java.lang.String,
java.lang.Object> boolean
hasColumnInheritedProperties
(java.lang.Enum<?> f) boolean
hasColumnInheritedProperties
(java.lang.String f) boolean
hasColumnProperties
(java.lang.Enum<?> f) protected boolean
hasColumnProperties
(java.lang.String f) long
insert
(java.lang.Object... data) boolean
isColumnNull
(java.lang.Enum<?> f) protected boolean
isColumnNull
(java.lang.String f) boolean
boolean
next()
void
nextRow()
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor
static java.util.List<Structure<StructureFields.InheritedProperties>>
parseInheritedProperties
(byte[] val) static SVNProperties
parseProperties
(byte[] val) void
reset()
protected void
setCursor
(org.tmatesoft.sqljet.core.table.ISqlJetCursor cursor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
sDb
-
cursor
private org.tmatesoft.sqljet.core.table.ISqlJetCursor cursor -
binds
protected java.util.List<java.lang.Object> binds -
transactionMode
protected org.tmatesoft.sqljet.core.SqlJetTransactionMode transactionMode
-
-
Constructor Details
-
SVNSqlJetStatement
-
-
Method Details
-
openCursor
- Throws:
SVNException
-
insert
- Throws:
SVNException
-
exec
- Throws:
SVNException
-
getBinds
public java.util.List<java.lang.Object> getBinds() -
isNeedsReset
public boolean isNeedsReset() -
reset
- Throws:
SVNException
-
next
- Throws:
SVNException
-
eof
- Throws:
SVNException
-
bindf
- Throws:
SVNException
-
adjustBinds
private void adjustBinds(int i) -
bindNull
public void bindNull(int i) -
bindLong
public void bindLong(int i, long v) -
bindString
public void bindString(int i, java.lang.String string) -
bindProperties
- Throws:
SVNException
-
bindIProperties
public void bindIProperties(int i, java.util.Map<java.lang.String, SVNProperties> iprops) throws SVNException- Throws:
SVNException
-
bindChecksum
-
bindBlob
public void bindBlob(int i, byte[] serialized) -
bindRevision
public void bindRevision(int i, long revision) -
getBind
protected java.lang.Object getBind(int i) -
count
- Throws:
SVNException
-
getColumn
- Throws:
SVNException
-
getColumn
- Throws:
SVNException
-
getColumnLong
- Throws:
SVNException
-
getColumnLong
- Throws:
SVNException
-
getColumnString
- Throws:
SVNException
-
getColumnString
- Throws:
SVNException
-
isColumnNull
- Throws:
SVNException
-
isColumnNull
- Throws:
SVNException
-
getColumnBlob
- Throws:
SVNException
-
getColumnBlob
- Throws:
SVNException
-
getColumnBoolean
- Throws:
SVNException
-
getJoinedStatement
- Throws:
SVNException
-
getJoinedStatement
- Throws:
SVNException
-
getColumnProperties
- Throws:
SVNException
-
hasColumnProperties
- Throws:
SVNException
-
getColumnInheritedProperties
public java.util.List<Structure<StructureFields.InheritedProperties>> getColumnInheritedProperties(java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
hasColumnInheritedProperties
- Throws:
SVNException
-
getColumnProperties
- Throws:
SVNException
-
hasColumnProperties
- Throws:
SVNException
-
getColumnInheritedProperties
public java.util.List<Structure<StructureFields.InheritedProperties>> getColumnInheritedProperties(java.lang.String f) throws SVNException - Throws:
SVNException
-
hasColumnInheritedProperties
- Throws:
SVNException
-
parseProperties
- Throws:
SVNException
-
parseInheritedProperties
public static java.util.List<Structure<StructureFields.InheritedProperties>> parseInheritedProperties(byte[] val) throws SVNException - Throws:
SVNException
-
done
- Throws:
SVNException
-
nextRow
- Throws:
SVNException
-
getColumnRevnum
- Throws:
SVNException
-
getCursor
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor getCursor() -
setCursor
protected void setCursor(org.tmatesoft.sqljet.core.table.ISqlJetCursor cursor) -
getRowValues
- Throws:
SVNException
-