Class QueryCache
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.util.QueryCache
 
- 
 public class QueryCache extends java.lang.ObjectStores queries prepared for execution - that is, with columns quoted, etc.
- 
- 
Constructor SummaryConstructors Constructor Description QueryCache(java.lang.String colQuoteChar)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetColumnQuoteChar()java.lang.StringgetQuery(java.lang.String key, java.lang.String rawQuery)Gets a quoted query from the cache, inserting it if not already there.
 
- 
- 
- 
Method Detail- 
getColumnQuoteCharpublic java.lang.String getColumnQuoteChar() 
 - 
getQuerypublic java.lang.String getQuery(java.lang.String key, java.lang.String rawQuery)Gets a quoted query from the cache, inserting it if not already there. If key is null, it won't be stored, just quoted and returned. Raw query is expected to surround column names with $. Like, SELECT $id$ FROM table.
 
- 
 
-