Class MongoQueryBuilder.QueryState

java.lang.Object
io.micronaut.data.document.model.query.builder.MongoQueryBuilder.QueryState
Enclosing class:
MongoQueryBuilder

@Internal protected final class MongoQueryBuilder.QueryState extends Object
The state of the query.
  • Method Details

    • getEntity

      public PersistentEntity getEntity()
      Returns:
      The entity
    • isAllowJoins

      public boolean isAllowJoins()
      Returns:
      Does the query allow joins
    • isJoined

      public boolean isJoined(String associationPath)
      Checks if the path is joined already.
      Parameters:
      associationPath - The association path.
      Returns:
      true if joined
    • getAdditionalRequiredParameters

      @NonNull public @NonNull Map<String,String> getAdditionalRequiredParameters()
      The additional required parameters.
      Returns:
      The parameters
    • getParameterBindings

      public List<QueryParameterBinding> getParameterBindings()
      The parameter binding.
      Returns:
      The parameter binding
    • pushParameter

      public int pushParameter(@NonNull @NonNull BindingParameter bindingParameter, @NonNull BindingParameter.BindingContext bindingContext)