Package cppclassanalyzer.database.record
Interface DatabaseRecord<T extends FieldEnum>
- All Known Implementing Classes:
ArchivedClassTypeInfoRecord,ArchivedGnuVtableRecord,ClassTypeInfoRecord,VtableRecord
public interface DatabaseRecord<T extends FieldEnum>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceDatabaseRecord.ByteConvertable -
Method Summary
Modifier and Type Method Description DatabaseRecord<T>copy()byte[]getBinaryData(T type)booleangetBooleanValue(T type)bytegetByteValue(T type)intgetColumnCount()FieldgetFieldValue(T type)int[]getIntArray(T type)intgetIntValue(T type)longgetKey()FieldgetKeyField()long[]getLongArray(T type)longgetLongValue(T type)DBRecordgetRecord()SchemagetSchema()shortgetShortValue(T type)StringgetStringValue(T type)booleanhasSameSchema(DBRecord other)booleanhasSameSchema(Schema schema)booleanisDirty()intlength()voidread(Buffer buf, int offset)voidsetBinaryData(T type, byte[] bytes)voidsetBooleanValue(T type, boolean value)voidsetByteValue(T type, byte value)voidsetFieldValue(T type, Field field)voidsetIntArray(T type, int[] values)voidsetIntValue(T type, int value)voidsetKey(long key)voidsetKey(Field key)voidsetLongArray(T type, long[] values)voidsetLongValue(T type, long value)voidsetShortValue(T type, short value)voidsetStringValue(T type, String value)voidwrite(Buffer buf, int offset)
-
Method Details
-
getSchema
Schema getSchema() -
copy
DatabaseRecord<T> copy() -
getBinaryData
-
getBooleanValue
-
getByteValue
-
getColumnCount
int getColumnCount() -
getFieldValue
-
getIntValue
-
getKey
long getKey() -
getKeyField
Field getKeyField() -
getLongValue
-
getShortValue
-
getStringValue
-
getLongArray
-
getIntArray
-
hasSameSchema
-
hasSameSchema
-
isDirty
boolean isDirty() -
length
int length() -
read
- Throws:
IOException
-
setBinaryData
-
setBooleanValue
-
setByteValue
-
setFieldValue
-
setIntValue
-
setLongValue
-
setShortValue
-
setStringValue
-
setLongArray
-
setIntArray
-
setKey
void setKey(long key) -
setKey
-
write
- Throws:
IOException
-
getRecord
DBRecord getRecord()
-