{ "name": "ObjectStorageAdapterDB", "comment": "ObjectStorageAdapterDB provides an ObjectStorage \n implementation for use by Saveable objects. This allows Saveable objects \n to save or restore their state using a fixed set of primitives and primitive arrays. \n This implementation provides various data access methods for storing/retrieving data.\n In addition, support is provided for utilizing a Record object for data storage\n using a suitable schema.", "javadoc": "\u003ccode\u003eObjectStorageAdapterDB\u003c/code\u003e provides an ObjectStorage \n implementation for use by Saveable objects. This allows Saveable objects \n to save or restore their state using a fixed set of primitives and primitive arrays. \n This implementation provides various data access methods for storing/retrieving data.\n In addition, support is provided for utilizing a Record object for data storage\n using a suitable schema.", "static": false, "implements": [ "ghidra.util.ObjectStorage" ], "extends": "java.lang.Object", "fields": [ { "name": "fieldList", "comment": "", "javadoc": "", "static": false, "type_long": "java.util.ArrayList\u003cdb.Field\u003e", "type_short": "ArrayList", "constant_value": null }, { "name": "col", "comment": "", "javadoc": "", "static": false, "type_long": "int", "type_short": "int", "constant_value": null }, { "name": "readOnly", "comment": "", "javadoc": "", "static": false, "type_long": "boolean", "type_short": "boolean", "constant_value": null } ], "methods": [ { "name": "\u003cinit\u003e", "comment": "Construct an empty writable storage adapter.", "javadoc": "Construct an empty writable storage adapter.", "static": false, "params": [], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "\u003cinit\u003e", "comment": "Construct a read-only storage adapter from an\n existing record.", "javadoc": "Construct a read-only storage adapter from an\n existing record.\n@param rec data record", "static": false, "params": [ { "name": "rec", "type_long": "db.DBRecord", "type_short": "DBRecord", "comment": "data record" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putInt", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "int", "type_short": "int", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putByte", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "byte", "type_short": "byte", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putShort", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "short", "type_short": "short", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putLong", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "long", "type_short": "long", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putString", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "java.lang.String", "type_short": "String", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putBoolean", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "boolean", "type_short": "boolean", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putFloat", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "float", "type_short": "float", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putDouble", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "double", "type_short": "double", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "getInt", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "int", "type_short": "int", "comment": "" }, "throws": [] }, { "name": "getByte", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "byte", "type_short": "byte", "comment": "" }, "throws": [] }, { "name": "getShort", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "short", "type_short": "short", "comment": "" }, "throws": [] }, { "name": "getLong", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "long", "type_short": "long", "comment": "" }, "throws": [] }, { "name": "getBoolean", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "boolean", "type_short": "boolean", "comment": "" }, "throws": [] }, { "name": "getString", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "java.lang.String", "type_short": "String", "comment": "" }, "throws": [] }, { "name": "getFloat", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "float", "type_short": "float", "comment": "" }, "throws": [] }, { "name": "getDouble", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "double", "type_short": "double", "comment": "" }, "throws": [] }, { "name": "putInts", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "int[]", "type_short": "int[]", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putBytes", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "byte[]", "type_short": "byte[]", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putShorts", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "short[]", "type_short": "short[]", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putLongs", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "long[]", "type_short": "long[]", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putFloats", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "float[]", "type_short": "float[]", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putDoubles", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "double[]", "type_short": "double[]", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "putStrings", "comment": "", "javadoc": "", "static": false, "params": [ { "name": "value", "type_long": "java.lang.String[]", "type_short": "java.lang.String[]", "comment": "" } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] }, { "name": "getInts", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "int[]", "type_short": "int[]", "comment": "" }, "throws": [] }, { "name": "getBytes", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "byte[]", "type_short": "byte[]", "comment": "" }, "throws": [] }, { "name": "getShorts", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "short[]", "type_short": "short[]", "comment": "" }, "throws": [] }, { "name": "getLongs", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "long[]", "type_short": "long[]", "comment": "" }, "throws": [] }, { "name": "getFloats", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "float[]", "type_short": "float[]", "comment": "" }, "throws": [] }, { "name": "getDoubles", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "double[]", "type_short": "double[]", "comment": "" }, "throws": [] }, { "name": "getStrings", "comment": "", "javadoc": "", "static": false, "params": [], "return": { "type_long": "java.lang.String[]", "type_short": "java.lang.String[]", "comment": "" }, "throws": [] }, { "name": "getSchema", "comment": "Get the Schema associated with the stored data.", "javadoc": "Get the Schema associated with the stored data.\n@param version version to be assigned to schema instance\n@return Schema", "static": false, "params": [ { "name": "version", "type_long": "int", "type_short": "int", "comment": "version to be assigned to schema instance" } ], "return": { "type_long": "db.Schema", "type_short": "Schema", "comment": "Schema" }, "throws": [] }, { "name": "save", "comment": "Save data into a Record.", "javadoc": "Save data into a Record.\n@param rec database record.", "static": false, "params": [ { "name": "rec", "type_long": "db.DBRecord", "type_short": "DBRecord", "comment": "database record." } ], "return": { "type_long": "void", "type_short": "void", "comment": "" }, "throws": [] } ] }