_aCache
- private Object[]
Local cache of data result objects indexed chronologically.
_nIndex
- private static Number
Internal class variable to index multiple DataSource instances.
_sName
- private String
Name of DataSource instance.
Error message for null data responses.
Error message for data responses with parsing errors.
Max size of the local cache. Set to 0 to turn off caching. Caching is
useful to reduce the number of server connections. Recommended only for data
sources that return comprehensive results for queries or when stale data is
not an issue.
Default Value: 15
Enables case-sensitivity in the matching algorithm used against JS Array
types of DataSources and DataSource caches. If queryMatchCase is true, only
case-sensitive matches will return.
Default Value: false
Use this to fine-tune the matching algorithm used against JS Array types of
DataSource and DataSource caches. If queryMatchContains is true, then the JS
Array or cache returns results that "contain" the query string. By default,
queryMatchContains is set to false, so that only results that "start with"
the query string are returned.
Default Value: false
Enables query subset matching. If caching is on and queryMatchSubset is
true, substrings of queries will return matching cached results. For
instance, if the first query is for "abc" susequent queries that start with
"abc", like "abcd", will be queried against the cache, and not the live data
source. Recommended only for DataSources that return comprehensive results
for queries with very few characters.
Default Value: false