public class QueryHintDefinition
extends java.lang.Object
Constructor and Description |
---|
QueryHintDefinition(javax.persistence.QueryHint[] hints) |
Modifier and Type | Method and Description |
---|---|
LockOptions |
determineLockOptions(javax.persistence.NamedQuery namedQueryAnnotation) |
boolean |
getBoolean(java.lang.String query,
java.lang.String hintName) |
CacheMode |
getCacheMode(java.lang.String query) |
FlushMode |
getFlushMode(java.lang.String query) |
java.util.Map<java.lang.String,java.lang.Object> |
getHintsMap() |
java.lang.Integer |
getInteger(java.lang.String query,
java.lang.String hintName) |
LockMode |
getLockMode(java.lang.String query) |
java.lang.String |
getString(java.lang.String query,
java.lang.String hintName) |
java.lang.Integer |
getTimeout(java.lang.String queryName) |
public QueryHintDefinition(javax.persistence.QueryHint[] hints)
public CacheMode getCacheMode(java.lang.String query)
public FlushMode getFlushMode(java.lang.String query)
public LockMode getLockMode(java.lang.String query)
public boolean getBoolean(java.lang.String query, java.lang.String hintName)
public java.lang.String getString(java.lang.String query, java.lang.String hintName)
public java.lang.Integer getInteger(java.lang.String query, java.lang.String hintName)
public java.lang.Integer getTimeout(java.lang.String queryName)
public LockOptions determineLockOptions(javax.persistence.NamedQuery namedQueryAnnotation)
public java.util.Map<java.lang.String,java.lang.Object> getHintsMap()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.