Module org.seasar.doma.core
Interface Buildable<BUILDABLE extends Buildable<BUILDABLE>>
- Type Parameters:
BUILDABLE- the subtype
- All Known Subinterfaces:
EntityQueryable<ENTITY>,Listable<ELEMENT>,SetOperand<ELEMENT>,SetOperator<ELEMENT>,Singular<ELEMENT>,Statement<RESULT>,StreamMappable<ELEMENT>
- All Known Implementing Classes:
AbstractSetOperand,AbstractStatement,EntityqlBatchDeleteStatement,EntityqlBatchInsertIntermediate,EntityqlBatchInsertStatement,EntityqlBatchInsertTerminate,EntityqlBatchUpdateStatement,EntityqlDeleteReturningStatement,EntityqlDeleteStatement,EntityqlInsertIntermediate,EntityqlInsertStatement,EntityqlInsertTerminal,EntityqlMultiInsertIntermediate,EntityqlMultiInsertReturningStatement,EntityqlMultiInsertStatement,EntityqlMultiInsertTerminal,EntityqlSelectStarting,EntityqlSelectTerminal,EntityqlUpdateReturningStatement,EntityqlUpdateStatement,NativeSqlDeleteStarting,NativeSqlDeleteTerminal,NativeSqlInsertTerminal,NativeSqlSelectIntermediate,NativeSqlSelectStarting,NativeSqlSelectTerminal,NativeSqlSetStarting,NativeSqlSetTerminal,NativeSqlUpdateTerminal,NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys,NativeSqlUpsertOnDuplicateKeyUpdateSelectingKeys,NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet,NativeSqlUpsertTerminal,UnifiedSelectStarting,UnifiedSelectTerminal
public interface Buildable<BUILDABLE extends Buildable<BUILDABLE>>
Represents that the implementation can build an SQL.
-
Method Summary
-
Method Details
-
asSql
Sql<?> asSql()Returns the built SQL.- Returns:
- the built sql
-
peek
Peeks the built SQL.- Parameters:
consumer- the SQL handler- Returns:
- this instance
-