public class MongoDBQueryImpl extends AbstractQueryImpl
parameterMetadata, session| Constructor and Description |
|---|
MongoDBQueryImpl(Class<?> entityType,
com.mongodb.DBObject query,
com.mongodb.DBObject projections,
OgmSession session) |
| Modifier and Type | Method and Description |
|---|---|
int |
executeUpdate() |
org.hibernate.LockOptions |
getLockOptions() |
Iterator<?> |
iterate() |
List<?> |
list() |
org.hibernate.ScrollableResults |
scroll() |
org.hibernate.ScrollableResults |
scroll(org.hibernate.ScrollMode scrollMode) |
org.hibernate.Query |
setLockMode(String alias,
org.hibernate.LockMode lockMode) |
org.hibernate.Query |
setLockOptions(org.hibernate.LockOptions lockOptions) |
after, before, determineType, determineType, determineType, determineType, determineType, expandParameterLists, getCacheMode, getNamedParameterLists, getNamedParameters, getNamedParams, getParameterMetadata, getQueryParameters, getQueryString, getReturnAliases, getReturnTypes, getRowSelection, getSelection, getTypes, getValues, hasNamedParameters, isReadOnly, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBinary, setBinary, setBoolean, setBoolean, setByte, setByte, setCacheable, setCacheMode, setCacheRegion, setCalendar, setCalendar, setCalendarDate, setCalendarDate, setCharacter, setCharacter, setCollectionKey, setComment, setDate, setDate, setDouble, setDouble, setEntity, setEntity, setFetchSize, setFirstResult, setFloat, setFloat, setFlushMode, setInteger, setInteger, setLocale, setLocale, setLong, setLong, setMaxResults, setOptionalEntityName, setOptionalId, setOptionalObject, setParameter, setParameter, setParameter, setParameter, setParameterList, setParameterList, setParameterList, setParameterList, setParameters, setProperties, setProperties, setReadOnly, setResultTransformer, setSerializable, setSerializable, setShort, setShort, setString, setString, setText, setText, setTime, setTime, setTimeout, setTimestamp, setTimestamp, toString, typeArray, uniqueResult, valueArray, verifyParameters, verifyParameterspublic MongoDBQueryImpl(Class<?> entityType, com.mongodb.DBObject query, com.mongodb.DBObject projections, OgmSession session)
public Iterator<?> iterate() throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionpublic org.hibernate.ScrollableResults scroll()
throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionpublic org.hibernate.ScrollableResults scroll(org.hibernate.ScrollMode scrollMode)
throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionpublic List<?> list() throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionpublic int executeUpdate()
throws org.hibernate.HibernateException
org.hibernate.HibernateExceptionpublic org.hibernate.Query setLockOptions(org.hibernate.LockOptions lockOptions)
public org.hibernate.Query setLockMode(String alias, org.hibernate.LockMode lockMode)
public org.hibernate.LockOptions getLockOptions()
getLockOptions in interface org.hibernate.QuerygetLockOptions in class AbstractQueryImplCopyright © 2010-2013 Hibernate. All Rights Reserved.