Class SvnWcDbStatementUtil
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbStatementUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final EnumMap<ISVNWCDb.SVNWCDbKind,String> private static final HashMap<String,ISVNWCDb.SVNWCDbKind> private static final EnumMap<ISVNWCDb.SVNWCDbStatus,String> private static final HashMap<String,ISVNWCDb.SVNWCDbStatus> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SVNSqlJetStatementbindf(SVNSqlJetStatement stmt, String format, Object... binds) static byte[]getColumnBlob(SVNSqlJetStatement stmt, Enum<?> f) static booleangetColumnBoolean(SVNSqlJetStatement stmt, Enum<?> f) static SvnChecksumgetColumnChecksum(SVNSqlJetStatement stmt, Enum<?> f) static SVNDategetColumnDate(SVNSqlJetStatement stmt, Enum<?> f) static SVNDepthgetColumnDepth(SVNSqlJetStatement stmt, Enum<?> f) static SVNEventActiongetColumnEventAction(SVNSqlJetStatement stmt, Enum<?> f) getColumnInheritedProperties(SVNSqlJetStatement stmt, Enum<?> f) static longgetColumnInt64(SVNSqlJetStatement stmt, Enum<?> f) static ISVNWCDb.SVNWCDbKindgetColumnKind(SVNSqlJetStatement stmt, Enum<?> f) static SVNNodeKindgetColumnNodeKind(SVNSqlJetStatement stmt, Enum<?> f) static FilegetColumnPath(SVNSqlJetStatement stmt, Enum<?> f) static ISVNWCDb.SVNWCDbStatusstatic ISVNWCDb.SVNWCDbStatusgetColumnPresence(SVNSqlJetStatement stmt, Enum<?> f) static SVNPropertiesgetColumnProperties(SVNSqlJetStatement stmt, Enum<?> f) static longgetColumnRevNum(SVNSqlJetStatement stmt, Enum<?> f) static SVNStatusTypegetColumnStatusType(SVNSqlJetStatement stmt, Enum<?> f) static StringgetColumnText(SVNSqlJetStatement stmt, Enum<?> f) static <T extends Enum<T>>
TgetColumnToken(SVNSqlJetStatement stmt, Enum<?> f, Map<String, T> tokenMap) static Stringstatic ISVNWCDb.SVNWCDbLockgetLockFromColumns(SVNSqlJetStatement stmt, Enum<?> tokenField, Enum<?> owner, Enum<?> comment, Enum<?> date) static Stringstatic longgetTranslatedSize(SVNSqlJetStatement stmt, Enum<?> f) static booleanhasColumnProperties(SVNSqlJetStatement stmt, Enum<?> f) static booleanisColumnNull(SVNSqlJetStatement stmt, Enum<?> f) static SVNDepthparseDepth(String depthStr) static ISVNWCDb.SVNWCDbKindstatic ISVNWCDb.SVNWCDbStatusparsePresence(String presenceString) static voidreset(SVNSqlJetStatement stmt)
-
Field Details
-
presenceMap
-
presenceMap2
-
kindMap
-
kindMap2
-
-
Constructor Details
-
SvnWcDbStatementUtil
public SvnWcDbStatementUtil()
-
-
Method Details
-
bindf
public static SVNSqlJetStatement bindf(SVNSqlJetStatement stmt, String format, Object... binds) throws SVNException - Throws:
SVNException
-
getPresenceText
-
getKindText
-
parsePresence
-
parseKind
-
parseDepth
-
getColumnPresence
- Throws:
SVNException
-
getColumnPresence
public static ISVNWCDb.SVNWCDbStatus getColumnPresence(SVNSqlJetStatement stmt, Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnKind
public static ISVNWCDb.SVNWCDbKind getColumnKind(SVNSqlJetStatement stmt, Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnProperties
public static SVNProperties getColumnProperties(SVNSqlJetStatement stmt, Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnInheritedProperties
public static List<Structure<StructureFields.InheritedProperties>> getColumnInheritedProperties(SVNSqlJetStatement stmt, Enum<?> f) throws SVNException - Throws:
SVNException
-
hasColumnProperties
- Throws:
SVNException
-
getColumnText
- Throws:
SVNException
-
getColumnPath
- Throws:
SVNException
-
getColumnDepth
- Throws:
SVNException
-
isColumnNull
- Throws:
SVNException
-
getColumnInt64
- Throws:
SVNException
-
getColumnBlob
- Throws:
SVNException
-
getColumnBoolean
- Throws:
SVNException
-
getColumnRevNum
- Throws:
SVNException
-
getTranslatedSize
- Throws:
SVNException
-
getColumnToken
public static <T extends Enum<T>> T getColumnToken(SVNSqlJetStatement stmt, Enum<?> f, Map<String, T> tokenMap) throws SVNException- Throws:
SVNException
-
getColumnChecksum
- Throws:
SVNException
-
getColumnDate
- Throws:
SVNException
-
getLockFromColumns
public static ISVNWCDb.SVNWCDbLock getLockFromColumns(SVNSqlJetStatement stmt, Enum<?> tokenField, Enum<?> owner, Enum<?> comment, Enum<?> date) throws SVNException - Throws:
SVNException
-
reset
- Throws:
SVNException
-
getColumnEventAction
public static SVNEventAction getColumnEventAction(SVNSqlJetStatement stmt, Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnStatusType
public static SVNStatusType getColumnStatusType(SVNSqlJetStatement stmt, Enum<?> f) throws SVNException - Throws:
SVNException
-
getColumnNodeKind
- Throws:
SVNException
-