Package ghidra.trace.database
Class DBTraceUtils.RefTypeDBFieldCodec<OT extends DBAnnotatedObject>
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<RefType,OT,ByteField>
ghidra.trace.database.DBTraceUtils.RefTypeDBFieldCodec<OT>
- Type Parameters:
OT- the type of the object whose field is encoded/decoded.
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<RefType,OT, ByteField>
- Enclosing class:
DBTraceUtils
public static class DBTraceUtils.RefTypeDBFieldCodec<OT extends DBAnnotatedObject>
extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<RefType,OT,ByteField>
A codec for reference types
-
Field Summary
Fields inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
column, field, fieldType, objectType, valueType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RefTypedecode(byte enc) protected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptionsprotected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptionsprotected bytevoidEncode the given field value into the given fieldMethods inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
getFieldType, getObjectType, getValue, getValueType, load, setValue, storeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.util.database.DBCachedObjectStoreFactory.DBFieldCodec
encodeField
-
Constructor Details
-
RefTypeDBFieldCodec
-
-
Method Details
-
encode
-
decode
-
store
Description copied from interface:DBCachedObjectStoreFactory.DBFieldCodecEncode the given field value into the given field- Parameters:
value- the valuef- the field
-
doStore
protected void doStore(OT obj, DBRecord record) throws IllegalArgumentException, IllegalAccessException Description copied from class:DBCachedObjectStoreFactory.AbstractDBFieldCodecSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptions- Specified by:
doStorein classDBCachedObjectStoreFactory.AbstractDBFieldCodec<RefType,OT extends DBAnnotatedObject, ByteField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-
doLoad
protected void doLoad(OT obj, DBRecord record) throws IllegalArgumentException, IllegalAccessException Description copied from class:DBCachedObjectStoreFactory.AbstractDBFieldCodecSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptions- Specified by:
doLoadin classDBCachedObjectStoreFactory.AbstractDBFieldCodec<RefType,OT extends DBAnnotatedObject, ByteField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-