public class TempTableResult extends java.lang.Object implements CacheableResult
Constructor and Description |
---|
TempTableResult(TempTableHelper tableHelper,
ConnectionPoolConfig cpc,
java.lang.String query) |
Modifier and Type | Method and Description |
---|---|
boolean |
cleanup() |
boolean |
cleanup(boolean force) |
boolean |
consumes(ResultCacheKey cacheKey) |
long |
getCreated() |
java.lang.String |
getFinalQuery() |
java.lang.Long |
getGracePeriod() |
ConnectionPoolConfig |
getPoolConfig() |
java.lang.String |
getRawQuery() |
TempTableHelper |
getTableHelper() |
java.lang.Long |
getTimeout() |
void |
setCreated(long created) |
void |
setGracePeriod(java.lang.Long grace) |
void |
setPoolConfig(ConnectionPoolConfig poolConfig) |
void |
setQuery(java.lang.String query) |
void |
setTableHelper(TempTableHelper tableHelper) |
void |
setTimeout(java.lang.Long timeout) |
boolean |
validate() |
public TempTableResult(TempTableHelper tableHelper, ConnectionPoolConfig cpc, java.lang.String query)
public boolean validate()
validate
in interface CacheableResult
public boolean cleanup(boolean force)
cleanup
in interface CacheableResult
public boolean cleanup()
cleanup
in interface CacheableResult
public java.lang.String getRawQuery()
public java.lang.String getFinalQuery()
public void setQuery(java.lang.String query)
public TempTableHelper getTableHelper()
public void setTableHelper(TempTableHelper tableHelper)
public ConnectionPoolConfig getPoolConfig()
public void setPoolConfig(ConnectionPoolConfig poolConfig)
public java.lang.Long getTimeout()
getTimeout
in interface CacheableResult
public void setTimeout(java.lang.Long timeout)
setTimeout
in interface CacheableResult
public long getCreated()
public void setCreated(long created)
public java.lang.Long getGracePeriod()
getGracePeriod
in interface CacheableResult
public void setGracePeriod(java.lang.Long grace)
setGracePeriod
in interface CacheableResult
public boolean consumes(ResultCacheKey cacheKey)
consumes
in interface CacheableResult