MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / DropViewImpl

Class DropViewImpl

jOOQ/src/main/java/org/jooq/impl/DropViewImpl.java:72–269  ·  view source on GitHub ↗

The DROP VIEW statement.

Source from the content-addressed store, hash-verified

70 * The <code>DROP VIEW</code> statement.
71 */
72@SuppressWarnings({ "rawtypes", "unused" })
73final class DropViewImpl
74extends
75 AbstractDDLQuery
76implements
77 QOM.DropView,
78 DropViewStep,
79 DropViewFinalStep
80{
81
82 final Table<?> view;
83 final boolean materialized;
84 final boolean ifExists;
85 Cascade cascade;
86
87 DropViewImpl(
88 Configuration configuration,
89 Table<?> view,
90 boolean materialized,
91 boolean ifExists
92 ) {
93 this(
94 configuration,
95 view,
96 materialized,
97 ifExists,
98 null
99 );
100 }
101
102 DropViewImpl(
103 Configuration configuration,
104 Table<?> view,
105 boolean materialized,
106 boolean ifExists,
107 Cascade cascade
108 ) {
109 super(configuration);
110
111 this.view = view;
112 this.materialized = materialized;
113 this.ifExists = ifExists;
114 this.cascade = cascade;
115 }
116
117 // -------------------------------------------------------------------------
118 // XXX: DSL API
119 // -------------------------------------------------------------------------
120
121 @Override
122 public final DropViewImpl cascade() {
123 this.cascade = Cascade.CASCADE;
124 return this;
125 }
126
127 @Override
128 public final DropViewImpl restrict() {
129 this.cascade = Cascade.RESTRICT;

Callers

nothing calls this directly

Calls 1

supportedUntilMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…