com.healthmarketscience.jackcess.complex
Class ComplexColumnInfo<V extends ComplexValue>
java.lang.Object
com.healthmarketscience.jackcess.complex.ComplexColumnInfo<V>
- Direct Known Subclasses:
- AttachmentColumnInfo, MultiValueColumnInfo, UnsupportedColumnInfo, VersionHistoryColumnInfo
public abstract class ComplexColumnInfo<V extends ComplexValue>
- extends Object
Base class for the additional information tracked for complex columns.
- Author:
- James Ahlborn
INVALID_ID
public static final int INVALID_ID
- See Also:
- Constant Field Values
INVALID_COMPLEX_VALUE_ID
public static final ComplexValueForeignKey INVALID_COMPLEX_VALUE_ID
create
public static ComplexColumnInfo<? extends ComplexValue> create(Column column,
ByteBuffer buffer,
int offset)
throws IOException
- Throws:
IOException
postTableLoadInit
public void postTableLoadInit()
throws IOException
- Throws:
IOException
getColumn
public Column getColumn()
getDatabase
public Database getDatabase()
getFormat
public JetFormat getFormat()
getPageChannel
public PageChannel getPageChannel()
getPrimaryKeyColumn
public Column getPrimaryKeyColumn()
getComplexValueForeignKeyColumn
public Column getComplexValueForeignKeyColumn()
countValues
public int countValues(int complexValueFk)
throws IOException
- Throws:
IOException
getRawValues
public List<Map<String,Object>> getRawValues(int complexValueFk)
throws IOException
- Throws:
IOException
getRawValues
public List<Map<String,Object>> getRawValues(int complexValueFk,
Collection<String> columnNames)
throws IOException
- Throws:
IOException
getValues
public List<V> getValues(ComplexValueForeignKey complexValueFk)
throws IOException
- Throws:
IOException
addRawValue
public int addRawValue(Map<String,Object> rawValue)
throws IOException
- Throws:
IOException
addValue
public int addValue(V value)
throws IOException
- Throws:
IOException
addValues
public void addValues(Collection<? extends V> values)
throws IOException
- Throws:
IOException
updateRawValue
public int updateRawValue(Map<String,Object> rawValue)
throws IOException
- Throws:
IOException
updateValue
public int updateValue(V value)
throws IOException
- Throws:
IOException
updateValues
public void updateValues(Collection<? extends V> values)
throws IOException
- Throws:
IOException
deleteRawValue
public void deleteRawValue(Map<String,Object> rawValue)
throws IOException
- Throws:
IOException
deleteValue
public void deleteValue(V value)
throws IOException
- Throws:
IOException
deleteValues
public void deleteValues(Collection<? extends V> values)
throws IOException
- Throws:
IOException
deleteAllValues
public void deleteAllValues(int complexValueFk)
throws IOException
- Throws:
IOException
deleteAllValues
public void deleteAllValues(ComplexValueForeignKey complexValueFk)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Object
getType
public abstract ComplexDataType getType()
Copyright © 2005-2013 Health Market Science. All Rights Reserved.