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 interface
DatabaseRecord.ByteConvertable
-
Method Summary
Modifier and Type Method Description DatabaseRecord<T>
copy()
byte[]
getBinaryData(T type)
boolean
getBooleanValue(T type)
byte
getByteValue(T type)
int
getColumnCount()
Field
getFieldValue(T type)
int[]
getIntArray(T type)
int
getIntValue(T type)
long
getKey()
Field
getKeyField()
long[]
getLongArray(T type)
long
getLongValue(T type)
DBRecord
getRecord()
Schema
getSchema()
short
getShortValue(T type)
String
getStringValue(T type)
boolean
hasSameSchema(DBRecord other)
boolean
hasSameSchema(Schema schema)
boolean
isDirty()
int
length()
void
read(Buffer buf, int offset)
void
setBinaryData(T type, byte[] bytes)
void
setBooleanValue(T type, boolean value)
void
setByteValue(T type, byte value)
void
setFieldValue(T type, Field field)
void
setIntArray(T type, int[] values)
void
setIntValue(T type, int value)
void
setKey(long key)
void
setKey(Field key)
void
setLongArray(T type, long[] values)
void
setLongValue(T type, long value)
void
setShortValue(T type, short value)
void
setStringValue(T type, String value)
void
write(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()
-