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 SVNSqlJetStatementbindf(SVNSqlJetStatement stmt, java.lang.String format, java.lang.Object... binds) static byte[]getColumnBlob(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static booleangetColumnBoolean(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SvnChecksumgetColumnChecksum(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNDategetColumnDate(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNDepthgetColumnDepth(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNEventActiongetColumnEventAction(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static java.util.List<Structure<StructureFields.InheritedProperties>>getColumnInheritedProperties(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static longgetColumnInt64(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static ISVNWCDb.SVNWCDbKindgetColumnKind(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNNodeKindgetColumnNodeKind(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static java.io.FilegetColumnPath(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static ISVNWCDb.SVNWCDbStatusstatic ISVNWCDb.SVNWCDbStatusgetColumnPresence(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNPropertiesgetColumnProperties(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static longgetColumnRevNum(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNStatusTypegetColumnStatusType(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static java.lang.StringgetColumnText(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.Stringstatic ISVNWCDb.SVNWCDbLockgetLockFromColumns(SVNSqlJetStatement stmt, java.lang.Enum<?> tokenField, java.lang.Enum<?> owner, java.lang.Enum<?> comment, java.lang.Enum<?> date) static java.lang.Stringstatic longgetTranslatedSize(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static booleanhasColumnProperties(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static booleanisColumnNull(SVNSqlJetStatement stmt, java.lang.Enum<?> f) static SVNDepthparseDepth(java.lang.String depthStr) static ISVNWCDb.SVNWCDbKindparseKind(java.lang.String kindString) static ISVNWCDb.SVNWCDbStatusparsePresence(java.lang.String presenceString) static voidreset(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
-