Interface FromProvider

All Known Subinterfaces:
BaseCriteriaBuilder<T,​X>, BaseCTECriteriaBuilder<X>, BaseInsertCriteriaBuilder<T,​X>, BaseQueryBuilder<T,​X>, BaseSubqueryBuilder<X>, CorrelationQueryBuilder<X>, CriteriaBuilder<T>, FromBuilder<X>, FullQueryBuilder<T,​X>, FullSelectCTECriteriaBuilder<X>, InsertCriteriaBuilder<T>, LeafOngoingSetOperationCriteriaBuilder<X>, LeafOngoingSetOperationCTECriteriaBuilder<X>, LeafOngoingSetOperationSubqueryBuilder<X>, OngoingSetOperationCriteriaBuilder<T,​Y>, OngoingSetOperationCTECriteriaBuilder<T,​Y>, OngoingSetOperationSubqueryBuilder<T,​Y>, PaginatedCriteriaBuilder<T>, QueryBuilder<T,​X>, ReturningInsertCriteriaBuilder<T,​X>, SelectBaseCTECriteriaBuilder<X>, SelectCTECriteriaBuilder<X>, SelectRecursiveCTECriteriaBuilder<X>, StartOngoingSetOperationCriteriaBuilder<X,​Y>, StartOngoingSetOperationCTECriteriaBuilder<X,​Y>, StartOngoingSetOperationSubqueryBuilder<X,​Y>, SubqueryBuilder<T>

public interface FromProvider
An interface for builders that support access to the from elements.
Since:
1.3.0
Author:
Christian Beikov
  • Method Summary

    Modifier and Type Method Description
    From getFrom​(String alias)
    Returns the from element for the given alias or null.
    From getFromByPath​(String path)
    Returns the from element for the given path, creating it if necessary.
    Path getPath​(String path)
    Returns the path object for the given path string, creating it if necessary.
    Set<From> getRoots()
    Returns the query roots.
  • Method Details

    • getRoots

      Set<From> getRoots()
      Returns the query roots.
      Returns:
      The roots of this query
      Since:
      1.2.0
    • getFrom

      From getFrom​(String alias)
      Returns the from element for the given alias or null.
      Parameters:
      alias - The alias of the from element
      Returns:
      The from element of this query or null if not found
      Since:
      1.2.0
    • getFromByPath

      From getFromByPath​(String path)
      Returns the from element for the given path, creating it if necessary.
      Parameters:
      path - The path to the from element
      Returns:
      The from element of this query
      Since:
      1.2.0
    • getPath

      Path getPath​(String path)
      Returns the path object for the given path string, creating it if necessary.
      Parameters:
      path - The path string
      Returns:
      The path object for this query
      Since:
      1.2.1