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.ISqlJetCursorprotected SVNSqlJetDbprotected org.tmatesoft.sqljet.core.SqlJetTransactionMode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidadjustBinds(int i) voidbindBlob(int i, byte[] serialized) voidbindChecksum(int i, SvnChecksum checksum) voidbindf(java.lang.String format, java.lang.Object... data) voidbindIProperties(int i, java.util.Map<java.lang.String, SVNProperties> iprops) voidbindLong(int i, long v) voidbindNull(int i) voidbindProperties(int i, SVNProperties props) voidbindRevision(int i, long revision) voidbindString(int i, java.lang.String string) longcount()longdone()booleaneof()longexec()protected java.lang.ObjectgetBind(int i) java.util.List<java.lang.Object>getBinds()java.lang.ObjectgetColumn(java.lang.Enum<?> f) protected java.lang.ObjectgetColumn(java.lang.String f) byte[]getColumnBlob(java.lang.Enum<?> f) protected byte[]getColumnBlob(java.lang.String f) booleangetColumnBoolean(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) longgetColumnLong(java.lang.Enum<?> f) protected longgetColumnLong(java.lang.String f) getColumnProperties(java.lang.Enum<?> f) protected SVNPropertiesgetColumnProperties(java.lang.String f) longgetColumnRevnum(java.lang.Enum<?> f) java.lang.StringgetColumnString(java.lang.Enum<?> f) protected java.lang.StringgetColumnString(java.lang.String f) protected org.tmatesoft.sqljet.core.table.ISqlJetCursorgetJoinedStatement(java.lang.Enum<?> joinedTable) getJoinedStatement(java.lang.String joinedTable) java.util.Map<java.lang.String,java.lang.Object> booleanhasColumnInheritedProperties(java.lang.Enum<?> f) booleanhasColumnInheritedProperties(java.lang.String f) booleanhasColumnProperties(java.lang.Enum<?> f) protected booleanhasColumnProperties(java.lang.String f) longinsert(java.lang.Object... data) booleanisColumnNull(java.lang.Enum<?> f) protected booleanisColumnNull(java.lang.String f) booleanbooleannext()voidnextRow()protected org.tmatesoft.sqljet.core.table.ISqlJetCursorstatic java.util.List<Structure<StructureFields.InheritedProperties>>parseInheritedProperties(byte[] val) static SVNPropertiesparseProperties(byte[] val) voidreset()protected voidsetCursor(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
-