Package ghidra.util.database
Class DBCachedObjectStoreFactory.LongArrayDBFieldCodec<OT extends DBAnnotatedObject>
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<long[],OT,BinaryField>
ghidra.util.database.DBCachedObjectStoreFactory.LongArrayDBFieldCodec<OT>
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<long[],OT, BinaryField>
- Enclosing class:
DBCachedObjectStoreFactory
public static class DBCachedObjectStoreFactory.LongArrayDBFieldCodec<OT extends DBAnnotatedObject>
extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<long[],OT,BinaryField>
The built-in codec for
long[]-
Field Summary
Fields inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
column, field, fieldType, objectType, valueType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected long[]decode(byte[] enc) protected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptionsprotected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptionsprotected byte[]encode(long[] val) voidstore(long[] value, BinaryField 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
-
LongArrayDBFieldCodec
-
-
Method Details
-
encode
protected byte[] encode(long[] val) -
decode
protected long[] decode(byte[] enc) -
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<long[],OT extends DBAnnotatedObject, BinaryField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-
store
Description copied from interface:DBCachedObjectStoreFactory.DBFieldCodecEncode the given field value into the given field- Parameters:
value- the valuef- the field
-
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<long[],OT extends DBAnnotatedObject, BinaryField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-