Class QueryExtractorDelegate

java.lang.Object
org.springframework.data.cassandra.core.cql.QueryExtractorDelegate

public class QueryExtractorDelegate extends Object
Utility to extract CQL queries from a Statement.
Since:
3.0.5
Author:
Mark Paluch
  • Constructor Details

    • QueryExtractorDelegate

      public QueryExtractorDelegate()
  • Method Details

    • getCql

      @Nullable public static String getCql(@Nullable Object statement)
      Try to extract the CQL query from a statement object.
      Parameters:
      statement - the statement object.
      Returns:
      the CQL query when statement is not null.