org.tmatesoft.sqljet.core.internal
Interface ISqlJetKeyInfo

All Known Implementing Classes:
SqlJetKeyInfo

public interface ISqlJetKeyInfo


Method Summary
 SqlJetUnpackedRecord recordUnpack(int nKey, ISqlJetMemoryPointer pKey)
          Given the nKey-byte encoding of a record in pKey[], parse the record into a UnpackedRecord structure.
 

Method Detail

recordUnpack

SqlJetUnpackedRecord recordUnpack(int nKey,
                                  ISqlJetMemoryPointer pKey)
Given the nKey-byte encoding of a record in pKey[], parse the record into a UnpackedRecord structure. Return a pointer to that structure. The calling function might provide szSpace bytes of memory space at pSpace. This space can be used to hold the returned VDbeParsedRecord structure if it is large enough. If it is not big enough, space is obtained from sqlite3_malloc(). The returned structure should be closed by a call to sqlite3VdbeDeleteUnpackedRecord().

Parameters:
nKey - Size of the binary record
pKey - The binary record
Returns: