Package dev.roanh.gmark.output
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 TypeMethodDescriptiondefault String
toSQL()
Converts this object to an SQL query.void
writeSQL
(IndentWriter writer) Writes the SQL representation of this object to the given writer.
-
Method Details
-
writeSQL
Writes the SQL representation of this object to the given writer.- Parameters:
writer
- The writer to write to.
-
toSQL
Converts this object to an SQL query.- Returns:
- An SQL query representing this object.
-