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
- Author:
- TMate Software Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>
binds
protected SVNSqlJetDb
sDb
protected org.tmatesoft.sqljet.core.SqlJetTransactionMode
transactionMode
-
Constructor Summary
Constructors Constructor Description SVNSqlJetStatement(SVNSqlJetDb sDb)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
SVNProperties
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
getCursor()
SVNSqlJetStatement
getJoinedStatement(java.lang.Enum<?> joinedTable)
SVNSqlJetStatement
getJoinedStatement(java.lang.String joinedTable)
java.util.Map<java.lang.String,java.lang.Object>
getRowValues()
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
isNeedsReset()
boolean
next()
void
nextRow()
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor
openCursor()
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)
-
-
-
Field Detail
-
sDb
protected SVNSqlJetDb sDb
-
binds
protected java.util.List<java.lang.Object> binds
-
transactionMode
protected org.tmatesoft.sqljet.core.SqlJetTransactionMode transactionMode
-
-
Constructor Detail
-
SVNSqlJetStatement
public SVNSqlJetStatement(SVNSqlJetDb sDb)
-
-
Method Detail
-
openCursor
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor openCursor() throws SVNException
- Throws:
SVNException
-
insert
public long insert(java.lang.Object... data) throws SVNException
- Throws:
SVNException
-
exec
public long exec() throws SVNException
- Throws:
SVNException
-
getBinds
public java.util.List<java.lang.Object> getBinds()
-
isNeedsReset
public boolean isNeedsReset()
-
reset
public void reset() throws SVNException
- Throws:
SVNException
-
next
public boolean next() throws SVNException
- Throws:
SVNException
-
eof
public boolean eof() throws SVNException
- Throws:
SVNException
-
bindf
public void bindf(java.lang.String format, java.lang.Object... data) throws SVNException
- Throws:
SVNException
-
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
public void bindProperties(int i, SVNProperties props) throws SVNException
- Throws:
SVNException
-
bindIProperties
public void bindIProperties(int i, java.util.Map<java.lang.String,SVNProperties> iprops) throws SVNException
- Throws:
SVNException
-
bindChecksum
public void bindChecksum(int i, SvnChecksum checksum)
-
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
public long count() throws SVNException
- Throws:
SVNException
-
getColumn
public java.lang.Object getColumn(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
getColumn
protected java.lang.Object getColumn(java.lang.String f) throws SVNException
- Throws:
SVNException
-
getColumnLong
public long getColumnLong(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
getColumnLong
protected long getColumnLong(java.lang.String f) throws SVNException
- Throws:
SVNException
-
getColumnString
public java.lang.String getColumnString(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
getColumnString
protected java.lang.String getColumnString(java.lang.String f) throws SVNException
- Throws:
SVNException
-
isColumnNull
public boolean isColumnNull(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
isColumnNull
protected boolean isColumnNull(java.lang.String f) throws SVNException
- Throws:
SVNException
-
getColumnBlob
public byte[] getColumnBlob(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
getColumnBlob
protected byte[] getColumnBlob(java.lang.String f) throws SVNException
- Throws:
SVNException
-
getColumnBoolean
public boolean getColumnBoolean(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
getJoinedStatement
public SVNSqlJetStatement getJoinedStatement(java.lang.String joinedTable) throws SVNException
- Throws:
SVNException
-
getJoinedStatement
public SVNSqlJetStatement getJoinedStatement(java.lang.Enum<?> joinedTable) throws SVNException
- Throws:
SVNException
-
getColumnProperties
public SVNProperties getColumnProperties(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
hasColumnProperties
public boolean hasColumnProperties(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
getColumnInheritedProperties
public java.util.List<Structure<StructureFields.InheritedProperties>> getColumnInheritedProperties(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
hasColumnInheritedProperties
public boolean hasColumnInheritedProperties(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
getColumnProperties
protected SVNProperties getColumnProperties(java.lang.String f) throws SVNException
- Throws:
SVNException
-
hasColumnProperties
protected boolean hasColumnProperties(java.lang.String f) throws SVNException
- Throws:
SVNException
-
getColumnInheritedProperties
public java.util.List<Structure<StructureFields.InheritedProperties>> getColumnInheritedProperties(java.lang.String f) throws SVNException
- Throws:
SVNException
-
hasColumnInheritedProperties
public boolean hasColumnInheritedProperties(java.lang.String f) throws SVNException
- Throws:
SVNException
-
parseProperties
public static SVNProperties parseProperties(byte[] val) throws SVNException
- Throws:
SVNException
-
parseInheritedProperties
public static java.util.List<Structure<StructureFields.InheritedProperties>> parseInheritedProperties(byte[] val) throws SVNException
- Throws:
SVNException
-
done
public long done() throws SVNException
- Throws:
SVNException
-
nextRow
public void nextRow() throws SVNException
- Throws:
SVNException
-
getColumnRevnum
public long getColumnRevnum(java.lang.Enum<?> f) throws SVNException
- Throws:
SVNException
-
getCursor
protected org.tmatesoft.sqljet.core.table.ISqlJetCursor getCursor()
-
setCursor
protected void setCursor(org.tmatesoft.sqljet.core.table.ISqlJetCursor cursor)
-
getRowValues
public java.util.Map<java.lang.String,java.lang.Object> getRowValues() throws SVNException
- Throws:
SVNException
-
-