Class PartTreeJdbcQuery

java.lang.Object
org.springframework.data.jdbc.repository.query.AbstractJdbcQuery
org.springframework.data.jdbc.repository.query.PartTreeJdbcQuery
All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery

public class PartTreeJdbcQuery extends AbstractJdbcQuery
An AbstractJdbcQuery implementation based on a PartTree.
Since:
2.0
Author:
Mark Paluch, Jens Schauder, Diego Krupitza
  • Constructor Details

    • PartTreeJdbcQuery

      public PartTreeJdbcQuery(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations operations, org.springframework.jdbc.core.RowMapper<Object> rowMapper)
      Creates a new PartTreeJdbcQuery.
      Parameters:
      context - must not be null.
      queryMethod - must not be null.
      dialect - must not be null.
      converter - must not be null.
      operations - must not be null.
      rowMapper - must not be null.
    • PartTreeJdbcQuery

      public PartTreeJdbcQuery(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations operations, AbstractJdbcQuery.RowMapperFactory rowMapperFactory)
      Creates a new PartTreeJdbcQuery.
      Parameters:
      context - must not be null.
      queryMethod - must not be null.
      dialect - must not be null.
      converter - must not be null.
      operations - must not be null.
      rowMapperFactory - must not be null.
      Since:
      2.3
  • Method Details

    • execute

      public Object execute(Object[] values)
    • createQuery

      protected org.springframework.data.jdbc.repository.query.ParametrizedQuery createQuery(RelationalParametersParameterAccessor accessor, org.springframework.data.repository.query.ReturnedType returnedType)