Class QueryInfo

java.lang.Object
org.nervousync.database.query.QueryInfo

public final class QueryInfo extends Object
The type Query info.
Version:
$Revision : 1.0 $ $Date: 10/28/2020 11:46 $
Author:
Steven Wee wmkm0113@Hotmail.com
  • Method Details

    • getQueryTable

      public QueryTable getQueryTable()
      Gets query table.
      Returns:
      the query table
    • getOrderByColumns

      public List<OrderByColumn> getOrderByColumns()
      Gets order by columns.
      Returns:
      the order by columns
    • getGroupByColumns

      public List<GroupByColumn> 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

      public LockOption 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

      public String cacheKey()
      Cache key string.
      Returns:
      the string
    • newBuilder

      public static QueryInfo.Builder newBuilder(Class<?> entityClass)
      New builder builder.
      Parameters:
      entityClass - the entity class
      Returns:
      the builder
    • newBuilder

      public static QueryInfo.Builder newBuilder(String aliasName, Class<?> entityClass)
      New builder builder.
      Parameters:
      aliasName - the alias name
      entityClass - the entity class
      Returns:
      the builder
    • analyzeBuilder

      public static QueryInfo.Builder analyzeBuilder(String aliasName, Class<?> entityClass)
      Analyze builder builder.
      Parameters:
      aliasName - the alias name
      entityClass - the entity class
      Returns:
      the builder