Interface OutputSQL

All Known Subinterfaces:
CPQ, QueryLanguageSyntax, RPQ
All Known Implementing Classes:
ConcatCPQ, ConcatRPQ, DisjunctionRPQ, EdgeCPQ, EdgeRPQ, GenericConcatenation, GenericEdge, IdentityCPQ, IntersectionCPQ, KleeneRPQ, Query

public interface OutputSQL
Interface for components that can be converted to an SQL query representing them.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Converts this object to an SQL query.
    void
    Writes the SQL representation of this object to the given writer.
  • Method Details

    • writeSQL

      void writeSQL(IndentWriter writer)
      Writes the SQL representation of this object to the given writer.
      Parameters:
      writer - The writer to write to.
    • toSQL

      default String toSQL()
      Converts this object to an SQL query.
      Returns:
      An SQL query representing this object.