io.army.criteria.postgre.PostgreUpdate Maven / Gradle / Ivy
package io.army.criteria.postgre;
import io.army.criteria.Item;
import io.army.criteria.UpdateStatement;
import io.army.criteria.impl.SQLs;
import javax.annotation.Nullable;
import io.army.meta.FieldMeta;
import io.army.meta.TableMeta;
/**
*
* This interface representing Postgre UPDATE syntax.
* * @see Postgre UPDATE syntax
*
* @since 1.0
*/
public interface PostgreUpdate extends PostgreStatement {
interface _StaticReturningCommaSpec
extends _StaticDmlReturningCommaClause<_StaticReturningCommaSpec>,
_DqlUpdateSpec {
}
interface _ReturningSpec
extends _StaticDmlReturningClause<_StaticReturningCommaSpec>,
_DynamicReturningClause<_DqlUpdateSpec>,
_DmlUpdateSpec {
}
interface _SingleWhereAndSpec
extends UpdateStatement._UpdateWhereAndClause<_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 _RepeatableJoinClause
extends PostgreQuery._RepeatableClause<_SingleJoinSpec>, _SingleJoinSpec {
}
interface _TableSampleJoinSpec
extends _StaticTableSampleClause<_RepeatableJoinClause>, _SingleJoinSpec {
}
interface _SingleSetClause
extends UpdateStatement._StaticBatchRowSetClause, _SingleSetFromSpec>,
UpdateStatement._DynamicSetClause>, _SingleFromSpec> {
}
interface _ParensJoinSpec extends _OptionalParensStringClause<_SingleJoinSpec>,
_SingleJoinSpec {
}
interface _SingleFromSpec
extends _PostgreFromClause<_TableSampleJoinSpec, _ParensJoinSpec>,
_PostgreFromUndoneFuncClause<_SingleJoinSpec>,
_FromCteClause<_SingleJoinSpec>,
_PostgreFromNestedClause<_SingleJoinSpec>,
_SingleWhereClause {
}
interface _SingleSetFromSpec extends _SingleFromSpec,
_SingleSetClause {
}
interface _SingleUpdateClause extends Item {
_SingleSetClause update(TableMeta table, SQLs.WordAs as, String tableAlias);
_SingleSetClause update(@Nullable SQLs.WordOnly only, TableMeta table, SQLs.WordAs as,
String tableAlias);
_SingleSetClause update(TableMeta table, @Nullable SQLs.SymbolAsterisk star, SQLs.WordAs as, String tableAlias);
}
interface _SingleWithSpec
extends _PostgreDynamicWithClause<_SingleUpdateClause>,
PostgreQuery._PostgreStaticWithClause<_SingleUpdateClause>,
_SingleUpdateClause {
}
interface _UpdateDynamicCteAsClause
extends _PostgreDynamicCteAsClause<_SingleWithSpec<_CommaClause, _CommaClause>,
_CommaClause> {
}
interface _DynamicCteParensSpec extends _OptionalParensStringClause<_UpdateDynamicCteAsClause>, _UpdateDynamicCteAsClause {
}
}