Class AbstractStatementBuilder

java.lang.Object
org.litebridge.orm.persistence.AbstractStatementBuilder
All Implemented Interfaces:
StatementBuilder
Direct Known Subclasses:
AbstractConditionalStatementBuilder

public abstract sealed class AbstractStatementBuilder extends Object implements StatementBuilder permits AbstractConditionalStatementBuilder (not exhaustive)
Abstract base class for building SQL statements.
  • Field Details

    • dto

      protected Object dto
      The DTO associated with the statement.
    • ormTable

      protected final OrmTable ormTable
      The ORM table associated with the statement.
    • contextDtoClass

      protected final @Nullable Class<?> contextDtoClass
    • litebridgeContext

      protected final LitebridgeContext litebridgeContext
      The ORM context.
    • node

      protected @Nullable QueryNode node
      The current query node.
    • nodeHash

      protected int nodeHash
  • Constructor Details

    • AbstractStatementBuilder

      protected AbstractStatementBuilder(Object dto, OrmTable ormTable, @Nullable Class<?> contextDtoClass, LitebridgeContext litebridgeContext)
      Constructs a new AbstractStatementBuilder.
      Parameters:
      dto - The DTO associated with the statement.
      ormTable - The ORM table for the target DTO.
      contextDtoClass - The parent/context DTO class.
      litebridgeContext - Litebridge context.
  • Method Details