Class SQLStringTable
java.lang.Object
ghidra.features.bsim.query.client.tables.SQLStringTable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
Create this specific table in the databasegetString
(long id) Try to fetch string from our memory cache, or load it from database, or return empty stringlong
readStringId
(String value) Try to read the id of a specific string in the tablevoid
long
writeString
(String val)
-
Constructor Details
-
SQLStringTable
-
-
Method Details
-
setConnection
-
close
public void close() -
createTable
Create this specific table in the database- Throws:
SQLException
- if the create statement fails
-
getString
Try to fetch string from our memory cache, or load it from database, or return empty string- Parameters:
id
- the row ID- Returns:
- the string fetched from the table, or empty string if not found
- Throws:
SQLException
- if there is a problem parsing the table record(s)
-
writeString
- Throws:
SQLException
-
readStringId
Try to read the id of a specific string in the table- Parameters:
value
- is the string to try to find- Returns:
- the id of the string or 0 if the string is not in the table
- Throws:
SQLException
- if the result set cannot be parsed
-