com.healthmarketscience.jackcess.complex
Class VersionHistoryColumnInfo
java.lang.Object
  
com.healthmarketscience.jackcess.complex.ComplexColumnInfo<Version>
      
com.healthmarketscience.jackcess.complex.VersionHistoryColumnInfo
public class VersionHistoryColumnInfo
- extends ComplexColumnInfo<Version>
 
Complex column info for a column which tracking the version history of an "append only" memo
 column.
 
 Note, the strongly typed update/delete methods are not supported for version history
 columns (the data is supposed to be immutable). That said, the "raw" update/delete methods are
 supported for those that really want to muck with the version history data.
 
 
 
 
 
 
| Methods inherited from class com.healthmarketscience.jackcess.complex.ComplexColumnInfo | 
addRawValue, addValue, addValues, countValues, create, deleteAllValues, deleteRawValue, deleteValues, diffFlatColumns, getColumn, getComplexValueForeignKeyColumn, getDatabase, getFormat, getPageChannel, getPrimaryKeyColumn, getRawValues, getRawValues, getTypeColumns, getValues, toString, updateRawValue, updateValues | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
VersionHistoryColumnInfo
public VersionHistoryColumnInfo(Column column,
                                int complexId,
                                Table typeObjTable,
                                Table flatTable)
                         throws java.io.IOException
- Throws:
 java.io.IOException
postTableLoadInit
public void postTableLoadInit()
                       throws java.io.IOException
- Overrides:
 postTableLoadInit in class ComplexColumnInfo<Version>
 
- Throws:
 java.io.IOException
 
getValueColumn
public Column getValueColumn()
 
getModifiedDateColumn
public Column getModifiedDateColumn()
 
getType
public ComplexDataType getType()
- Specified by:
 getType in class ComplexColumnInfo<Version>
 
 
updateValue
public int updateValue(Version value)
                throws java.io.IOException
- Overrides:
 updateValue in class ComplexColumnInfo<Version>
 
- Throws:
 java.io.IOException
 
deleteValue
public void deleteValue(Version value)
                 throws java.io.IOException
- Overrides:
 deleteValue in class ComplexColumnInfo<Version>
 
- Throws:
 java.io.IOException
 
deleteAllValues
public void deleteAllValues(int complexValueFk)
                     throws java.io.IOException
- Overrides:
 deleteAllValues in class ComplexColumnInfo<Version>
 
- Throws:
 java.io.IOException
 
toValues
protected java.util.List<Version> toValues(ComplexValueForeignKey complexValueFk,
                                           java.util.List<java.util.Map<java.lang.String,java.lang.Object>> rawValues)
                                    throws java.io.IOException
- Overrides:
 toValues in class ComplexColumnInfo<Version>
 
- Throws:
 java.io.IOException
 
toValue
protected com.healthmarketscience.jackcess.complex.VersionHistoryColumnInfo.VersionImpl toValue(ComplexValueForeignKey complexValueFk,
                                                                                                java.util.Map<java.lang.String,java.lang.Object> rawValue)
- Specified by:
 toValue in class ComplexColumnInfo<Version>
 
 
asRow
protected java.lang.Object[] asRow(java.lang.Object[] row,
                                   Version version)
- Overrides:
 asRow in class ComplexColumnInfo<Version>
 
 
newVersion
public static Version newVersion(java.lang.String value,
                                 java.util.Date modifiedDate)
 
newVersion
public static Version newVersion(ComplexValueForeignKey complexValueFk,
                                 java.lang.String value,
                                 java.util.Date modifiedDate)
 
isVersionHistoryColumn
public static boolean isVersionHistoryColumn(Table typeObjTable)