Package org.nervousync.database.query
Class QueryInfo
java.lang.Object
org.nervousync.database.query.QueryInfo
The type Query info.
- Version:
- $Revision : 1.0 $ $Date: 10/28/2020 11:46 $
- Author:
- Steven Wee wmkm0113@Hotmail.com
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryInfo.BuilderanalyzeBuilder(String aliasName, Class<?> entityClass) Analyze builder builder.cacheKey()Cache key string.Gets group by columns.Gets lock option.intGets offset.Gets order by columns.intGets page limit.Gets query table.booleanIs analyzed boolean.booleanIs cacheables boolean.booleanIs for update boolean.static QueryInfo.BuildernewBuilder(Class<?> entityClass) New builder builder.static QueryInfo.BuildernewBuilder(String aliasName, Class<?> entityClass) New builder builder.booleanPager query boolean.
-
Method Details
-
getQueryTable
Gets query table.- Returns:
- the query table
-
getOrderByColumns
Gets order by columns.- Returns:
- the order by columns
-
getGroupByColumns
Gets group by columns.- Returns:
- the group by columns
-
getPageLimit
public int getPageLimit()Gets page limit.- Returns:
- the page limit
-
getOffset
public int getOffset()Gets offset.- Returns:
- the offset
-
isCacheables
public boolean isCacheables()Is cacheables boolean.- Returns:
- the boolean
-
isForUpdate
public boolean isForUpdate()Is for update boolean.- Returns:
- the boolean
-
getLockOption
Gets lock option.- Returns:
- the lock option
-
isAnalyzed
public boolean isAnalyzed()Is analyzed boolean.- Returns:
- the boolean
-
pagerQuery
public boolean pagerQuery()Pager query boolean.- Returns:
- boolean
-
cacheKey
Cache key string.- Returns:
- the string
-
newBuilder
New builder builder.- Parameters:
entityClass- the entity class- Returns:
- the builder
-
newBuilder
New builder builder.- Parameters:
aliasName- the alias nameentityClass- the entity class- Returns:
- the builder
-
analyzeBuilder
Analyze builder builder.- Parameters:
aliasName- the alias nameentityClass- the entity class- Returns:
- the builder
-