@Override public final void addFrom(Collection<? extends TableLike<?>> f) { for (TableLike<?> provider : f) { from.add(provider.asTable()); } }
@Override public final void addFrom(Collection<? extends TableLike<?>> f) { for (TableLike<?> provider : f) from.add(provider.asTable()); }
@Override public final void addFrom(TableLike<?>... f) { for (TableLike<?> provider : f) getFrom().add(provider.asTable()); }
@Override public final void addFrom(Collection<? extends TableLike<?>> f) { for (TableLike<?> provider : f) getFrom().add(provider.asTable()); }
@Override public final void addFrom(TableLike<?> f) { getFrom().add(f.asTable()); }
@Override public final void addFrom(Collection<? extends TableLike<?>> f) { for (TableLike<?> provider : f) { getFrom().add(provider.asTable()); } }
SelectQueryImpl(Configuration configuration, WithImpl with, TableLike<? extends R> from, boolean distinct) { super(configuration); this.with = with; this.distinct = distinct; this.select = new SelectFieldList<SelectFieldOrAsterisk>(); this.from = new TableList(); this.condition = new ConditionProviderImpl(); this.connectBy = new ConditionProviderImpl(); this.connectByStartWith = new ConditionProviderImpl(); this.having = new ConditionProviderImpl(); this.orderBy = new SortFieldList(); this.seek = new QueryPartList<Field<?>>(); this.limit = new Limit(); this.unionOp = new ArrayList<CombineOperator>(); this.union = new ArrayList<QueryPartList<Select<?>>>(); this.unionOrderBy = new SortFieldList(); this.unionSeek = new QueryPartList<Field<?>>(); this.unionLimit = new Limit(); if (from != null) this.from.add(from.asTable()); }
SelectQueryImpl(Configuration configuration, TableLike<? extends R> from, boolean distinct) { super(configuration); this.distinct = distinct; this.select = new SelectFieldList(); this.from = new TableList(); this.condition = new ConditionProviderImpl(); this.connectBy = new ConditionProviderImpl(); this.connectByStartWith = new ConditionProviderImpl(); this.groupBy = new QueryPartList<GroupField>(); this.having = new ConditionProviderImpl(); this.window = new WindowList(); this.orderBy = new SortFieldList(); this.seek = new QueryPartList<Field<?>>(); this.limit = new Limit(); if (from != null) { this.from.add(from.asTable()); } this.forUpdateOf = new QueryPartList<Field<?>>(); this.forUpdateOfTables = new TableList(); }