Package ghidra.util.database
Class DBCachedObjectStoreFactory.PrimitiveCodec.AbstractPrimitiveCodec<T>
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.PrimitiveCodec.AbstractPrimitiveCodec<T>
- All Implemented Interfaces:
DBCachedObjectStoreFactory.PrimitiveCodec<T>
- Direct Known Subclasses:
DBCachedObjectStoreFactory.PrimitiveCodec.ArrayPrimitiveCodec,DBCachedObjectStoreFactory.PrimitiveCodec.LengthBoundCodec,DBCachedObjectStoreFactory.PrimitiveCodec.SimplePrimitiveCodec
- Enclosing interface:
DBCachedObjectStoreFactory.PrimitiveCodec<T>
public abstract static class DBCachedObjectStoreFactory.PrimitiveCodec.AbstractPrimitiveCodec<T>
extends Object
implements DBCachedObjectStoreFactory.PrimitiveCodec<T>
An abstract implementation of
DBCachedObjectStoreFactory.PrimitiveCodec-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.util.database.DBCachedObjectStoreFactory.PrimitiveCodec
DBCachedObjectStoreFactory.PrimitiveCodec.AbstractPrimitiveCodec<T>, DBCachedObjectStoreFactory.PrimitiveCodec.ArrayObjectCodec<E>, DBCachedObjectStoreFactory.PrimitiveCodec.ArrayPrimitiveCodec<E,T>, DBCachedObjectStoreFactory.PrimitiveCodec.LengthBoundCodec<T>, DBCachedObjectStoreFactory.PrimitiveCodec.SimplePrimitiveCodec<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byteFields inherited from interface ghidra.util.database.DBCachedObjectStoreFactory.PrimitiveCodec
ADDRESS, BOOL, BOOL_ARR, BYTE, BYTE_ARR, CHAR, CHAR_ARR, CODECS_BY_CLASS, CODECS_BY_SELECTOR, INT, INT_ARR, LONG, LONG_ARR, RANGE, SHORT, SHORT_ARR, STRING, STRING_ARR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteA byte value which identifies this codec's type as the selected typeThe class describingDBCachedObjectStoreFactory.PrimitiveCodecMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.util.database.DBCachedObjectStoreFactory.PrimitiveCodec
decode, encode
-
Field Details
-
selector
protected final byte selector -
valueClass
-
-
Constructor Details
-
AbstractPrimitiveCodec
-
-
Method Details
-
getSelector
public byte getSelector()Description copied from interface:DBCachedObjectStoreFactory.PrimitiveCodecA byte value which identifies this codec's type as the selected type- Specified by:
getSelectorin interfaceDBCachedObjectStoreFactory.PrimitiveCodec<T>- Returns:
- the selector
-
getValueClass
Description copied from interface:DBCachedObjectStoreFactory.PrimitiveCodecThe class describingDBCachedObjectStoreFactory.PrimitiveCodec- Specified by:
getValueClassin interfaceDBCachedObjectStoreFactory.PrimitiveCodec<T>- Returns:
- the class
-