io.army.criteria.postgre.PostgreDelete Maven / Gradle / Ivy
package io.army.criteria.postgre;
import io.army.criteria.Item;
import io.army.criteria.impl.SQLs;
import javax.annotation.Nullable;
import io.army.meta.TableMeta;
/**
*
* This interface representing Postgre DELETE syntax.
*
* @see Postgre DELETE syntax
* @since 1.0
*/
public interface PostgreDelete extends PostgreStatement {
interface _StaticReturningCommaSpec
extends _StaticDmlReturningCommaClause<_StaticReturningCommaSpec>,
_DqlDeleteSpec {
}
interface _ReturningSpec
extends _StaticDmlReturningClause<_StaticReturningCommaSpec>,
_DynamicReturningClause<_DqlDeleteSpec>,
_DmlDeleteSpec {
}
interface _SingleWhereAndSpec
extends _WhereAndClause<_SingleWhereAndSpec>,
_ReturningSpec {
}
interface _SingleWhereClause
extends _WhereClause<_ReturningSpec, _SingleWhereAndSpec>,
_WhereCurrentOfClause<_ReturningSpec> {
}
interface _RepeatableOnClause
extends PostgreQuery._RepeatableClause<_OnClause<_SingleJoinSpec>>,
_OnClause<_SingleJoinSpec> {
}
interface _TableSampleOnSpec
extends _StaticTableSampleClause<_RepeatableOnClause>,
_OnClause<_SingleJoinSpec> {
}
interface _SingleJoinSpec
extends _JoinModifierClause<_TableSampleOnSpec, _AsParensOnClause<_SingleJoinSpec>>,
_PostgreJoinUndoneFuncClause<_OnClause<_SingleJoinSpec>>,
_PostgreCrossClause<_TableSampleJoinSpec, _ParensJoinSpec>,
_PostgreCrossUndoneFuncClause<_SingleJoinSpec>,
_JoinCteClause<_OnClause<_SingleJoinSpec>>,
_CrossJoinCteClause<_SingleJoinSpec>,
_PostgreJoinNestedClause<_OnClause<_SingleJoinSpec>>,
_PostgreCrossNestedClause<_SingleJoinSpec>,
_PostgreDynamicJoinCrossClause<_SingleJoinSpec>,
_SingleWhereClause {
}
interface _ParensJoinSpec extends _OptionalParensStringClause<_SingleJoinSpec>,
_SingleJoinSpec {
}
interface _RepeatableJoinClause
extends PostgreQuery._RepeatableClause<_SingleJoinSpec>, _SingleJoinSpec {
}
interface _TableSampleJoinSpec
extends _StaticTableSampleClause<_RepeatableJoinClause>, _SingleJoinSpec {
}
interface _SingleUsingSpec
extends _PostgreUsingClause<_TableSampleJoinSpec, _ParensJoinSpec>,
_PostgreUsingUndoneFuncClause<_SingleJoinSpec>,
_UsingCteClause<_SingleJoinSpec>,
_PostgreUsingNestedClause<_SingleJoinSpec>,
_SingleWhereClause {
}
interface _PostgreDeleteClause extends Item {
_SingleUsingSpec deleteFrom(TableMeta> table, SQLs.WordAs as, String tableAlias);
_SingleUsingSpec deleteFrom(@Nullable SQLs.WordOnly only, TableMeta> table, SQLs.WordAs as, String tableAlias);
_SingleUsingSpec deleteFrom(TableMeta> table, @Nullable SQLs.SymbolAsterisk star, SQLs.WordAs as, String tableAlias);
}
interface _SingleWithSpec extends _PostgreDeleteClause,
_PostgreDynamicWithClause<_PostgreDeleteClause>,
PostgreQuery._PostgreStaticWithClause<_PostgreDeleteClause> {
}
interface _DeleteDynamicCteAsClause
extends _PostgreDynamicCteAsClause<_SingleWithSpec<_CommaClause, _CommaClause>,
_CommaClause> {
}
interface _DynamicCteParensSpec extends _OptionalParensStringClause<_DeleteDynamicCteAsClause>, _DeleteDynamicCteAsClause {
}
}