public class NamedQueryDefinition extends Object implements Serializable
Constructor and Description |
---|
NamedQueryDefinition(String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
Map parameterTypes) |
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes) |
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer lockTimeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
getCacheMode() |
String |
getCacheRegion() |
String |
getComment() |
Integer |
getFetchSize() |
FlushMode |
getFlushMode() |
Integer |
getLockTimeout() |
String |
getName() |
Map |
getParameterTypes() |
String |
getQuery() |
String |
getQueryString() |
Integer |
getTimeout() |
boolean |
isCacheable() |
boolean |
isReadOnly() |
String |
toString() |
public NamedQueryDefinition(String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, Map parameterTypes)
public NamedQueryDefinition(String name, String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes)
public String getName()
public String getQueryString()
public boolean isCacheable()
public String getCacheRegion()
public Integer getFetchSize()
public Integer getTimeout()
public FlushMode getFlushMode()
public Map getParameterTypes()
public String getQuery()
public CacheMode getCacheMode()
public boolean isReadOnly()
public String getComment()
public Integer getLockTimeout()
Copyright © 2018 JBoss by Red Hat. All rights reserved.