|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.joanju.cg.db.StringTable
public class StringTable
Provides inter-package cached access to the String table.
Not part of the public API. Callgraph is mostly only interested in names for call targets, which are mostly only case-insensitive in OpenEdge. So, Callgraph only works with the lowercase value of each string.
Anything over the maximum string storage size is given UNRESOLVED value.
Field Summary | |
---|---|
static int |
MAX_LEN
We limit the strings to this max number of chars. |
Constructor Summary | |
---|---|
StringTable()
|
Method Summary | |
---|---|
static java.lang.String |
get(int id)
Returns the string for an ID, null if it's not there. |
static int |
get(java.lang.String str)
Returns the ID for a string, creates it if it's not already there. |
static int |
getForQString(java.lang.String inputString)
Given the text from a quoted string, returns a string ID. |
static int |
lookup(java.lang.String str)
Looks up the ID for a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_LEN
Constructor Detail |
---|
public StringTable()
Method Detail |
---|
public static int getForQString(java.lang.String inputString) throws java.sql.SQLException
java.sql.SQLException
public static int get(java.lang.String str) throws java.sql.SQLException
java.sql.SQLException
public static java.lang.String get(int id) throws java.sql.SQLException
java.sql.SQLException
public static int lookup(java.lang.String str) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |