Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class GrantImpl

extends AbstractDDLQuery
implements Grant, GrantOnStep, GrantToStep, GrantWithGrantOptionStep, GrantFinalStep
Class Inheritance
All Implemented Interfaces
org.jooq.GrantFinalStep, org.jooq.DDLQuery, org.jooq.RowCountQuery, org.jooq.Publisher, java.util.concurrent.Flow.Publisher, org.reactivestreams.Publisher, org.jooq.Query, org.jooq.AttachableQueryPart, org.jooq.QueryPart, java.io.Serializable, org.jooq.Attachable, org.jooq.Statement, org.jooq.GrantWithGrantOptionStep, org.jooq.GrantToStep, org.jooq.GrantOnStep, org.jooq.impl.QOM.Grant
Annotations
@SuppressWarnings:hiding, rawtypes, unused
Static Imports
org.jooq.impl.DSL.*, org.jooq.impl.Internal.*, org.jooq.impl.Keywords.*, org.jooq.impl.Names.*, org.jooq.impl.SQLDataType.*, org.jooq.impl.Tools.*, org.jooq.impl.Tools.BooleanDataKey.*, org.jooq.impl.Tools.ExtendedDataKey.*, org.jooq.impl.Tools.SimpleDataKey.*, org.jooq.SQLDialect.*

Deprecated

as a consequence of GrantWithGrantOptionStep and GrantFinalStep being deprecated. See corresponding docs for further information.

The GRANT statement.

Field Summary

Modifier and TypeField and Description
private static final Clause[]
CLAUSE

Deprecated as a consequence of Clause being deprecated.
pack-priv Table<?>
pack-priv final QueryPartListView<? extends Privilege>
pack-priv Role
pack-priv boolean
pack-priv boolean

Constructor Summary

AccessConstructor and Description
pack-priv
GrantImpl(Configuration configuration, Collection<? extends Privilege> privileges)

pack-priv
GrantImpl(Configuration configuration, Collection<? extends Privilege> privileges, Table<?> on, Role to, boolean toPublic, boolean withGrantOption)

Method Summary

Modifier and TypeMethod and Description
public final Function5<? super Collection<? extends Privilege>, ? super Table<?>, ? super Role, ? super Boolean, ? super Boolean, ? extends QOM.Grant>
public final Table<?>
public final QOM.Grant
$on(Table<?> newValue)

Implements org.jooq.impl.QOM.Grant.$on.

public final QOM.UnmodifiableList<? extends Privilege>
public final QOM.Grant
public final Role
public final QOM.Grant
$to(Role newValue)

Implements org.jooq.impl.QOM.Grant.$to.

public final boolean
public final QOM.Grant
$toPublic(boolean newValue)

Implements org.jooq.impl.QOM.Grant.$toPublic.

public final boolean
public final QOM.Grant
public final void
accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.
public final Clause[]
clauses(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.clauses.

Implements org.jooq.QueryPartInternal.clauses.

Deprecated as a consequence of Clause being deprecated.
The Clauses that are represented by this query part.
public final GrantImpl
on(String on)

Implements org.jooq.GrantOnStep.on.

Deprecated as a consequence of GrantImpl being deprecated.
Add the ON clause to the GRANT statement.
public final GrantImpl
on(Name on)

Implements org.jooq.GrantOnStep.on.

Deprecated as a consequence of GrantImpl being deprecated.
Add the ON clause to the GRANT statement.
public final GrantImpl
on(Table<?> on)

Implements org.jooq.GrantOnStep.on.

Deprecated as a consequence of GrantImpl being deprecated.
Add the ON clause to the GRANT statement.
public final GrantImpl
to(User to)

Implements org.jooq.GrantToStep.to.

Deprecated as a consequence of GrantImpl being deprecated.
Add the TO clause to the GRANT statement.
public final GrantImpl
to(Role to)

Implements org.jooq.GrantToStep.to.

Deprecated as a consequence of GrantImpl being deprecated.
Add the TO clause to the GRANT statement.
public final GrantImpl
toPublic()

Implements org.jooq.GrantToStep.toPublic.

Deprecated as a consequence of GrantImpl being deprecated.
Add the TO PUBLIC clause to the GRANT statement.
public final GrantImpl
withGrantOption()

Implements org.jooq.GrantWithGrantOptionStep.withGrantOption.

Deprecated as a consequence of GrantImpl being deprecated.
Add the WITH GRANT OPTION clause to the GRANT statement.
Inherited from org.jooq.impl.AbstractDDLQuery:
acceptCascade

Field Detail

CLAUSEback to summary
private static final Clause[] CLAUSE

Deprecated

as a consequence of Clause being deprecated. See corresponding docs for further information.

onback to summary
pack-priv Table<?> on
privilegesback to summary
pack-priv final QueryPartListView<? extends Privilege> privileges
toback to summary
pack-priv Role to
toPublicback to summary
pack-priv boolean toPublic
withGrantOptionback to summary
pack-priv boolean withGrantOption

Constructor Detail

GrantImplback to summary
pack-priv GrantImpl(Configuration configuration, Collection<? extends Privilege> privileges)
GrantImplback to summary
pack-priv GrantImpl(Configuration configuration, Collection<? extends Privilege> privileges, Table<?> on, Role to, boolean toPublic, boolean withGrantOption)

Method Detail

$constructorback to summary
public final Function5<? super Collection<? extends Privilege>, ? super Table<?>, ? super Role, ? super Boolean, ? super Boolean, ? extends QOM.Grant> $constructor()
$onback to summary
public final Table<?> $on()

Implements org.jooq.impl.QOM.Grant.$on.

Annotations
@Override
$onback to summary
public final QOM.Grant $on(Table<?> newValue)

Implements org.jooq.impl.QOM.Grant.$on.

Annotations
@Override
$privilegesback to summary
public final QOM.UnmodifiableList<? extends Privilege> $privileges()

Implements org.jooq.impl.QOM.Grant.$privileges.

Annotations
@Override
$privilegesback to summary
public final QOM.Grant $privileges(Collection<? extends Privilege> newValue)

Implements org.jooq.impl.QOM.Grant.$privileges.

Annotations
@Override
$toback to summary
public final Role $to()

Implements org.jooq.impl.QOM.Grant.$to.

Annotations
@Override
$toback to summary
public final QOM.Grant $to(Role newValue)

Implements org.jooq.impl.QOM.Grant.$to.

Annotations
@Override
$toPublicback to summary
public final boolean $toPublic()

Implements org.jooq.impl.QOM.Grant.$toPublic.

Annotations
@Override
$toPublicback to summary
public final QOM.Grant $toPublic(boolean newValue)

Implements org.jooq.impl.QOM.Grant.$toPublic.

Annotations
@Override
$withGrantOptionback to summary
public final boolean $withGrantOption()

Implements org.jooq.impl.QOM.Grant.$withGrantOption.

Annotations
@Override
$withGrantOptionback to summary
public final QOM.Grant $withGrantOption(boolean newValue)

Implements org.jooq.impl.QOM.Grant.$withGrantOption.

Annotations
@Override
acceptback to summary
public final void accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

Doc from org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.

Annotations
@Override
clausesback to summary
public final Clause[] clauses(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.clauses.

Implements org.jooq.QueryPartInternal.clauses.

Doc from org.jooq.QueryPartInternal.clauses.

Deprecated

as a consequence of Clause being deprecated. See corresponding docs for further information.

The Clauses that are represented by this query part.

QueryParts can specify several Clauses for which an event will be emitted before (in forward order) and after (in reverse order) visiting the the query part through Context#visit(QueryPart)

This method is for JOOQ INTERNAL USE only. Do not reference directly

Returns:Clause[]

The Clauses represented by this query part or null or an empty array if this query part does not represent a clause.

Annotations
@Override
onback to summary
public final GrantImpl on(String on)

Implements org.jooq.GrantOnStep.on.

Doc from org.jooq.GrantOnStep.on.

Deprecated

as a consequence of GrantImpl being deprecated. See corresponding docs for further information.

Add the ON clause to the GRANT statement.

Annotations
@Override
onback to summary
public final GrantImpl on(Name on)

Implements org.jooq.GrantOnStep.on.

Doc from org.jooq.GrantOnStep.on.

Deprecated

as a consequence of GrantImpl being deprecated. See corresponding docs for further information.

Add the ON clause to the GRANT statement.

Annotations
@Override
onback to summary
public final GrantImpl on(Table<?> on)

Implements org.jooq.GrantOnStep.on.

Doc from org.jooq.GrantOnStep.on.

Deprecated

as a consequence of GrantImpl being deprecated. See corresponding docs for further information.

Add the ON clause to the GRANT statement.

Annotations
@Override
toback to summary
public final GrantImpl to(User to)

Implements org.jooq.GrantToStep.to.

Doc from org.jooq.GrantToStep.to.

Deprecated

as a consequence of GrantImpl being deprecated. See corresponding docs for further information.

Add the TO clause to the GRANT statement.

Annotations
@Override
toback to summary
public final GrantImpl to(Role to)

Implements org.jooq.GrantToStep.to.

Doc from org.jooq.GrantToStep.to.

Deprecated

as a consequence of GrantImpl being deprecated. See corresponding docs for further information.

Add the TO clause to the GRANT statement.

Annotations
@Override
toPublicback to summary
public final GrantImpl toPublic()

Implements org.jooq.GrantToStep.toPublic.

Doc from org.jooq.GrantToStep.toPublic.

Deprecated

as a consequence of GrantImpl being deprecated. See corresponding docs for further information.

Add the TO PUBLIC clause to the GRANT statement.

Annotations
@Override
withGrantOptionback to summary
public final GrantImpl withGrantOption()

Implements org.jooq.GrantWithGrantOptionStep.withGrantOption.

Doc from org.jooq.GrantWithGrantOptionStep.withGrantOption.

Deprecated

as a consequence of GrantImpl being deprecated. See corresponding docs for further information.

Add the WITH GRANT OPTION clause to the GRANT statement.

Annotations
@Override