Package ghidra.trace.database.target
Class DBTraceObjectDBFieldCodec<OV extends DBAnnotatedObject & ghidra.trace.database.target.TraceObjectValueStorage>
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<DBTraceObject,OV,LongField>
ghidra.trace.database.target.DBTraceObjectDBFieldCodec<OV>
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<DBTraceObject,OV, LongField>
public class DBTraceObjectDBFieldCodec<OV extends DBAnnotatedObject & ghidra.trace.database.target.TraceObjectValueStorage>
extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<DBTraceObject,OV,LongField>
-
Field Summary
Fields inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
column, field, fieldType, objectType, valueType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static DBTraceObjectdecode(ghidra.trace.database.target.TraceObjectValueStorage ent, long enc) protected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptionsprotected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptionsprotected static longencode(DBTraceObject value) voidstore(DBTraceObject value, LongField f) Encode 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
-
DBTraceObjectDBFieldCodec
-
-
Method Details
-
encode
-
decode
protected static DBTraceObject decode(ghidra.trace.database.target.TraceObjectValueStorage ent, long enc) -
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(OV 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<DBTraceObject,OV extends DBAnnotatedObject & ghidra.trace.database.target.TraceObjectValueStorage, LongField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-
doLoad
protected void doLoad(OV 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<DBTraceObject,OV extends DBAnnotatedObject & ghidra.trace.database.target.TraceObjectValueStorage, LongField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-