Class SqlJetKeyInfo
java.lang.Object
org.tmatesoft.sqljet.core.internal.vdbe.SqlJetKeyInfo
- All Implemented Interfaces:
ISqlJetKeyInfo
- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCollating
(int i) getEnc()
int
boolean
getSortOrder
(int i) recordUnpack
(int nKey, ISqlJetMemoryPointer pKey) Given the nKey-byte encoding of a record in pKey[], parse the record into a UnpackedRecord structure.void
setCollating
(int i, ISqlJetCollSeq coll) void
setEnc
(SqlJetEncoding enc) void
setNField
(int field) void
setSortOrder
(int i, boolean desc)
-
Constructor Details
-
SqlJetKeyInfo
public SqlJetKeyInfo()
-
-
Method Details
-
recordUnpack
Description copied from interface:ISqlJetKeyInfo
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().- Specified by:
recordUnpack
in interfaceISqlJetKeyInfo
- Parameters:
nKey
- Size of the binary recordpKey
- The binary record- Returns:
-
getNField
public int getNField()- Returns:
- the nField
-
setNField
public void setNField(int field) - Parameters:
field
- the nField to set
-
getEnc
- Returns:
- the enc
-
setEnc
- Parameters:
enc
- the enc to set
-
setSortOrder
- Throws:
SqlJetException
-
getSortOrder
- Throws:
SqlJetException
-
setCollating
- Throws:
SqlJetException
-
getCollating
- Throws:
SqlJetException
-