Package org.apache.gravitino.dto.rel
Class SQLRepresentationDTO.Builder
java.lang.Object
org.apache.gravitino.dto.rel.SQLRepresentationDTO.Builder
- Enclosing class:
- SQLRepresentationDTO
Builder for
SQLRepresentationDTO.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newSQLRepresentationDTO.withDialect(String dialect) Sets the dialect.Sets the SQL text.
-
Method Details
-
withDialect
Sets the dialect.- Parameters:
dialect- The dialect identifier.- Returns:
- This builder.
-
withSql
Sets the SQL text.- Parameters:
sql- The SQL text.- Returns:
- This builder.
-
build
Builds a newSQLRepresentationDTO.- Returns:
- The constructed instance.
-