public static class QueryStrategyCache.Mapping
extends java.lang.Object
implements java.lang.AutoCloseable
| Constructor and Description |
|---|
Mapping(com.mapr.ojai.store.impl.QueryStrategyCache.LoadedQuery loadedQuery)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
QueryStrategy |
getStrategy()
Get the QueryStrategy for this Mapping.
|
public Mapping(com.mapr.ojai.store.impl.QueryStrategyCache.LoadedQuery loadedQuery)
loadedQuery - the loaded query instancepublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic QueryStrategy getStrategy() throws java.lang.Exception
java.lang.Exception - if there was an error loading the strategy