Class SvnWcDbStatementUtil
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbStatementUtil
public class SvnWcDbStatementUtil
extends java.lang.Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final java.util.EnumMap<ISVNWCDb.SVNWCDbKind,
java.lang.String> private static final java.util.HashMap<java.lang.String,
ISVNWCDb.SVNWCDbKind> private static final java.util.EnumMap<ISVNWCDb.SVNWCDbStatus,
java.lang.String> private static final java.util.HashMap<java.lang.String,
ISVNWCDb.SVNWCDbStatus> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SVNSqlJetStatement
bindf
(SVNSqlJetStatement stmt, java.lang.String format, java.lang.Object... binds) static byte[]
getColumnBlob
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static boolean
getColumnBoolean
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SvnChecksum
getColumnChecksum
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNDate
getColumnDate
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNDepth
getColumnDepth
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNEventAction
getColumnEventAction
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static java.util.List<Structure<StructureFields.InheritedProperties>>
getColumnInheritedProperties
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static long
getColumnInt64
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static ISVNWCDb.SVNWCDbKind
getColumnKind
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNNodeKind
getColumnNodeKind
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static java.io.File
getColumnPath
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static ISVNWCDb.SVNWCDbStatus
static ISVNWCDb.SVNWCDbStatus
getColumnPresence
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNProperties
getColumnProperties
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static long
getColumnRevNum
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNStatusType
getColumnStatusType
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static java.lang.String
getColumnText
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static <T extends java.lang.Enum<T>>
TgetColumnToken
(SVNSqlJetStatement stmt, java.lang.Enum<?> f, java.util.Map<java.lang.String, T> tokenMap) static java.lang.String
static ISVNWCDb.SVNWCDbLock
getLockFromColumns
(SVNSqlJetStatement stmt, java.lang.Enum<?> tokenField, java.lang.Enum<?> owner, java.lang.Enum<?> comment, java.lang.Enum<?> date) static java.lang.String
static long
getTranslatedSize
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static boolean
hasColumnProperties
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static boolean
isColumnNull
(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNDepth
parseDepth
(java.lang.String depthStr) static ISVNWCDb.SVNWCDbKind
parseKind
(java.lang.String kindString) static ISVNWCDb.SVNWCDbStatus
parsePresence
(java.lang.String presenceString) static void
reset
(SVNSqlJetStatement stmt) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
presenceMap
-
presenceMap2
-
kindMap
-
kindMap2
-
-
Constructor Details
-
SvnWcDbStatementUtil
public SvnWcDbStatementUtil()
-
-
Method Details
-
bindf
public static SVNSqlJetStatement bindf(SVNSqlJetStatement stmt, java.lang.String format, java.lang.Object... binds) throws SVNException - Throws:
SVNException
-
getPresenceText
-
getKindText
-
parsePresence
-
parseKind
-
parseDepth
-
getColumnPresence
- Throws:
SVNException
-
getColumnPresence
public static ISVNWCDb.SVNWCDbStatus getColumnPresence(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnKind
public static ISVNWCDb.SVNWCDbKind getColumnKind(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnProperties
public static SVNProperties getColumnProperties(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnInheritedProperties
public static java.util.List<Structure<StructureFields.InheritedProperties>> getColumnInheritedProperties(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
hasColumnProperties
public static boolean hasColumnProperties(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnText
public static java.lang.String getColumnText(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnPath
public static java.io.File getColumnPath(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnDepth
public static SVNDepth getColumnDepth(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
isColumnNull
public static boolean isColumnNull(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnInt64
- Throws:
SVNException
-
getColumnBlob
public static byte[] getColumnBlob(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnBoolean
public static boolean getColumnBoolean(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnRevNum
public static long getColumnRevNum(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getTranslatedSize
public static long getTranslatedSize(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnToken
public static <T extends java.lang.Enum<T>> T getColumnToken(SVNSqlJetStatement stmt, java.lang.Enum<?> f, java.util.Map<java.lang.String, T> tokenMap) throws SVNException- Throws:
SVNException
-
getColumnChecksum
public static SvnChecksum getColumnChecksum(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnDate
public static SVNDate getColumnDate(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getLockFromColumns
public static ISVNWCDb.SVNWCDbLock getLockFromColumns(SVNSqlJetStatement stmt, java.lang.Enum<?> tokenField, java.lang.Enum<?> owner, java.lang.Enum<?> comment, java.lang.Enum<?> date) throws SVNException - Throws:
SVNException
-
reset
- Throws:
SVNException
-
getColumnEventAction
public static SVNEventAction getColumnEventAction(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnStatusType
public static SVNStatusType getColumnStatusType(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnNodeKind
public static SVNNodeKind getColumnNodeKind(SVNSqlJetStatement stmt, java.lang.Enum<?> f) throws SVNException - Throws:
SVNException
-