com.healthmarketscience.jackcess.complex
Interface ComplexColumnInfo<V extends ComplexValue>

All Known Subinterfaces:
AttachmentColumnInfo, MultiValueColumnInfo, UnsupportedColumnInfo, VersionHistoryColumnInfo
All Known Implementing Classes:
AttachmentColumnInfoImpl, ComplexColumnInfoImpl, MultiValueColumnInfoImpl, UnsupportedColumnInfoImpl, VersionHistoryColumnInfoImpl

public interface ComplexColumnInfo<V extends ComplexValue>

Base class for the additional information tracked for complex columns.

Author:
James Ahlborn

Method Summary
 ComplexValue.Id addRawValue(Map<String,?> rawValue)
           
 ComplexValue.Id addValue(V value)
           
 void addValues(Collection<? extends V> values)
           
 int countValues(int complexValueFk)
           
 void deleteAllValues(ComplexValueForeignKey complexValueFk)
           
 void deleteAllValues(int complexValueFk)
           
 void deleteRawValue(Row rawValue)
           
 void deleteValue(V value)
           
 void deleteValues(Collection<? extends V> values)
           
 List<Row> getRawValues(int complexValueFk)
           
 List<Row> getRawValues(int complexValueFk, Collection<String> columnNames)
           
 ComplexDataType getType()
           
 List<V> getValues(ComplexValueForeignKey complexValueFk)
           
 ComplexValue.Id updateRawValue(Row rawValue)
           
 ComplexValue.Id updateValue(V value)
           
 void updateValues(Collection<? extends V> values)
           
 

Method Detail

getType

ComplexDataType getType()

countValues

int countValues(int complexValueFk)
                throws IOException
Throws:
IOException

getRawValues

List<Row> getRawValues(int complexValueFk)
                       throws IOException
Throws:
IOException

getRawValues

List<Row> getRawValues(int complexValueFk,
                       Collection<String> columnNames)
                       throws IOException
Throws:
IOException

getValues

List<V> getValues(ComplexValueForeignKey complexValueFk)
                                       throws IOException
Throws:
IOException

addRawValue

ComplexValue.Id addRawValue(Map<String,?> rawValue)
                            throws IOException
Throws:
IOException

addValue

ComplexValue.Id addValue(V value)
                         throws IOException
Throws:
IOException

addValues

void addValues(Collection<? extends V> values)
               throws IOException
Throws:
IOException

updateRawValue

ComplexValue.Id updateRawValue(Row rawValue)
                               throws IOException
Throws:
IOException

updateValue

ComplexValue.Id updateValue(V value)
                            throws IOException
Throws:
IOException

updateValues

void updateValues(Collection<? extends V> values)
                  throws IOException
Throws:
IOException

deleteRawValue

void deleteRawValue(Row rawValue)
                    throws IOException
Throws:
IOException

deleteValue

void deleteValue(V value)
                 throws IOException
Throws:
IOException

deleteValues

void deleteValues(Collection<? extends V> values)
                  throws IOException
Throws:
IOException

deleteAllValues

void deleteAllValues(int complexValueFk)
                     throws IOException
Throws:
IOException

deleteAllValues

void deleteAllValues(ComplexValueForeignKey complexValueFk)
                     throws IOException
Throws:
IOException


Copyright © 2005–2017 Health Market Science. All rights reserved.