Class SqlSpannerQuery<T>

java.lang.Object
com.google.cloud.spring.data.spanner.repository.query.SqlSpannerQuery<T>
Type Parameters:
T - the return type of the Query Method
All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery

public class SqlSpannerQuery<T> extends Object
A Query Method for Spanner using SQL strings.
Since:
1.1
  • Field Details

  • Method Details

    • executeRawResult

      public List executeRawResult(Object[] parameters)
    • execute

      public Object execute(Object[] parameters)
      Specified by:
      execute in interface org.springframework.data.repository.query.RepositoryQuery
    • getQueryMethod

      public SpannerQueryMethod getQueryMethod()
      Specified by:
      getQueryMethod in interface org.springframework.data.repository.query.RepositoryQuery