Class SqlJetBtreeRecord
java.lang.Object
org.tmatesoft.sqljet.core.internal.vdbe.SqlJetBtreeRecord
- All Implemented Interfaces:
ISqlJetReleasable
,ISqlJetBtreeRecord
Implements
ISqlJetBtreeRecord
.- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
Constructor Summary
ConstructorsConstructorDescriptionSqlJetBtreeRecord
(java.util.List<ISqlJetVdbeMem> values) SqlJetBtreeRecord
(ISqlJetBtreeCursor cursor, boolean isIndex, int fileFormat) SqlJetBtreeRecord
(ISqlJetVdbeMem... values) -
Method Summary
Modifier and TypeMethodDescriptionjava.util.List<ISqlJetVdbeMem>
int
long
getIntField
(int field) Assuming the record contains N fields, the record format looks like this: hdr-size type 0 type 1 ... type N-1 data0 ... data N-1 Each type field is a varint representing the serial type of the corresponding data element (see sqlite3VdbeSerialType()).double
getRealField
(int field) static ISqlJetBtreeRecord
getRecord
(SqlJetEncoding encoding, java.lang.Object... values) java.lang.String
getStringField
(int field, SqlJetEncoding enc) void
release()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SqlJetBtreeRecord
public SqlJetBtreeRecord(ISqlJetBtreeCursor cursor, boolean isIndex, int fileFormat) throws SqlJetException - Throws:
SqlJetException
-
SqlJetBtreeRecord
-
SqlJetBtreeRecord
-
-
Method Details
-
getFields
- Specified by:
getFields
in interfaceISqlJetBtreeRecord
- Returns:
- the fields
-
getRecord
public static ISqlJetBtreeRecord getRecord(SqlJetEncoding encoding, java.lang.Object... values) throws SqlJetException - Throws:
SqlJetException
-
getFieldsCount
public int getFieldsCount()- Specified by:
getFieldsCount
in interfaceISqlJetBtreeRecord
- Returns:
- the fieldsCount
-
getStringField
- Specified by:
getStringField
in interfaceISqlJetBtreeRecord
- Returns:
- Throws:
SqlJetException
-
getIntField
public long getIntField(int field) - Specified by:
getIntField
in interfaceISqlJetBtreeRecord
- Returns:
-
getRealField
public double getRealField(int field) - Specified by:
getRealField
in interfaceISqlJetBtreeRecord
- Returns:
-
getRawRecord
Assuming the record contains N fields, the record format looks like this:hdr-size type 0 type 1 ... type N-1 data0 ... data N-1 - Specified by:
getRawRecord
in interfaceISqlJetBtreeRecord
- Returns:
-
release
public void release()- Specified by:
release
in interfaceISqlJetReleasable
-