MCPcopy
hub / github.com/jOOQ/jOOQ / AbstractTable

Class AbstractTable

jOOQ/src/main/java/org/jooq/impl/AbstractTable.java:158–2386  ·  view source on GitHub ↗

@author Lukas Eder

Source from the content-addressed store, hash-verified

156 * @author Lukas Eder
157 */
158abstract class AbstractTable<R extends Record>
159extends
160 AbstractNamed
161implements
162 Table<R>,
163 FieldsTrait,
164 Aliasable<Table<R>>
165{
166
167 private static final JooqLogger log = JooqLogger.getLogger(AbstractTable.class);
168 private static final Clause[] CLAUSES = { TABLE };
169
170 private final TableOptions options;
171 private Schema tableschema;
172 private transient DataType<R> tabletype;
173 private transient Identity<R, ?> identity;
174 private transient Row fieldsRow;
175
176 AbstractTable(TableOptions options, Name name) {
177 this(options, name, null, null);
178 }
179
180 AbstractTable(TableOptions options, Name name, Schema schema) {
181 this(options, name, schema, null);
182 }
183
184 AbstractTable(TableOptions options, Name name, Schema schema, Comment comment) {
185 super(qualify(schema, name), comment);
186
187 this.options = options;
188 this.tableschema = schema;
189 }
190
191 // ------------------------------------------------------------------------
192 // XXX: QOM API
193 // ------------------------------------------------------------------------
194
195 @Override
196 public /* non-final */ Name $alias() {
197 return null;
198 }
199
200 @Override
201 public /* non-final */ Table<R> $aliased() {
202 return this;
203 }
204
205 // ------------------------------------------------------------------------
206 // XXX: SelectField API
207 // ------------------------------------------------------------------------
208
209 @Override
210 public final Class<R> getType() {
211 return getDataType().getType();
212 }
213
214 @Override
215 public final DataType<R> getDataType(Configuration configuration) {

Callers

nothing calls this directly

Calls 1

getLoggerMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…