public class CachedQuery extends Object implements CanEstimateSize
Connection.prepareStatement(String)
.Modifier and Type | Field and Description |
---|---|
boolean |
isFunction |
Object |
key
Cache key.
|
boolean |
outParmBeforeFunc |
Query |
query |
Constructor and Description |
---|
CachedQuery(Object key,
Query query,
boolean isFunction,
boolean outParmBeforeFunc) |
Modifier and Type | Method and Description |
---|---|
int |
getExecuteCount()
Number of times this statement has been used
|
long |
getSize() |
void |
increaseExecuteCount() |
void |
increaseExecuteCount(int inc) |
public final Object key
public final Query query
public final boolean isFunction
public final boolean outParmBeforeFunc
public void increaseExecuteCount()
public void increaseExecuteCount(int inc)
public int getExecuteCount()
public long getSize()
getSize
in interface CanEstimateSize
Copyright © 2015 PostgreSQL Global Development Group. All rights reserved.