public class SqlJetKeyInfo extends java.lang.Object implements ISqlJetKeyInfo
Constructor and Description |
---|
SqlJetKeyInfo() |
Modifier and Type | Method and Description |
---|---|
ISqlJetCollSeq |
getCollating(int i) |
SqlJetEncoding |
getEnc() |
int |
getNField() |
boolean |
getSortOrder(int i) |
SqlJetUnpackedRecord |
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) |
public SqlJetUnpackedRecord recordUnpack(int nKey, ISqlJetMemoryPointer pKey)
ISqlJetKeyInfo
recordUnpack
in interface ISqlJetKeyInfo
nKey
- Size of the binary recordpKey
- The binary recordpublic int getNField()
public void setNField(int field)
field
- the nField to setpublic SqlJetEncoding getEnc()
public void setEnc(SqlJetEncoding enc)
enc
- the enc to setpublic void setSortOrder(int i, boolean desc) throws SqlJetException
SqlJetException
public boolean getSortOrder(int i) throws SqlJetException
SqlJetException
public void setCollating(int i, ISqlJetCollSeq coll) throws SqlJetException
SqlJetException
public ISqlJetCollSeq getCollating(int i) throws SqlJetException
SqlJetException
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.