Uses of Interface
org.jooq.Record2
-
Packages that use Record2 Package Description org.jooq This package contains jOOQ's public API.org.jooq.impl This package contains jOOQ's implementation classes. -
-
Uses of Record2 in org.jooq
Methods in org.jooq with type parameters of type Record2 Modifier and Type Method Description <R extends Record2<?,?>>
@NotNull CommonTableExpression<R>DerivedColumnList2. as(Select<R> select)Specify a subselect to refer to by theDerivedColumnListto form a common table expression.<R extends Record2<?,?>>
@NotNull CommonTableExpression<R>DerivedColumnList2. asMaterialized(Select<R> select)Specify a materialized subselect to refer to by theDerivedColumnListto form a common table expression.<R extends Record2<?,?>>
@NotNull CommonTableExpression<R>DerivedColumnList2. asNotMaterialized(Select<R> select)Specify a non-materialized subselect to refer to by theDerivedColumnListto form a common table expression.Methods in org.jooq that return Record2 Modifier and Type Method Description <T1,T2>
@NotNull Record2<T1,T2>DSLContext. fetchSingle(SelectField<T1> field1, SelectField<T2> field2)Execute and return exactly one record for<T1,T2>
@NotNull Record2<T1,T2>Record. into(Field<T1> field1, Field<T2> field2)Copy this record into a new record holding only a subset of the previous fields.<T1,T2>
@NotNull Record2<T1,T2>DSLContext. newRecord(Field<T1> field1, Field<T2> field2)Create a new emptyRecord.@NotNull Record2<T1,T2>Record2. value1(T1 value)Set the first value.@NotNull Record2<T1,T2>Record2. value2(T2 value)Set the second value.@NotNull Record2<T1,T2>Record2. values(T1 t1, T2 t2)Set all values.<T> @NotNull Record2<T1,T2>Record2. with(Field<T> field, T value)Set a value into this record.<T,U>
@NotNull Record2<T1,T2>Record2. with(Field<T> field, U value, Converter<? extends T,? super U> converter)Set a value into this record.Methods in org.jooq that return types with arguments of type Record2 Modifier and Type Method Description <T1,T2>
@NotNull ResultQuery<Record2<T1,T2>>ResultQuery. coerce(Field<T1> field1, Field<T2> field2)Coerce the result record type of this query to that of a set of fields.<T1,T2>
@NotNull Result<Record2<T1,T2>>Result. into(Field<T1> field1, Field<T2> field2)Copy all records from this result into a new result with new records holding only a subset of the previous fields.<T1,T2>
@NotNull Result<Record2<T1,T2>>DSLContext. newResult(Field<T1> field1, Field<T2> field2)Create a new emptyResult.<T1,T2>
@NotNull DeleteResultStep<Record2<T1,T2>>DeleteReturningStep. returningResult(SelectField<T1> field1, SelectField<T2> field2)Configure theDELETEstatement to return a list of fields inR.<T1,T2>
@NotNull InsertResultStep<Record2<T1,T2>>InsertReturningStep. returningResult(SelectField<T1> field1, SelectField<T2> field2)Configure theINSERTstatement to return a list of fields inR.<T1,T2>
@NotNull UpdateResultStep<Record2<T1,T2>>UpdateReturningStep. returningResult(SelectField<T1> field1, SelectField<T2> field2)Configure theUPDATEstatement to return a list of fields inR.<T1,T2>
@NotNull SelectSelectStep<Record2<T1,T2>>DSLContext. select(SelectField<T1> field1, SelectField<T2> field2)Create a new DSL select statement.<T1,T2>
@NotNull SelectSelectStep<Record2<T1,T2>>WithStep. select(SelectField<T1> field1, SelectField<T2> field2)Create a new DSL select statement.<T1,T2>
@NotNull SelectSelectStep<Record2<T1,T2>>DSLContext. selectDistinct(SelectField<T1> field1, SelectField<T2> field2)Create a new DSL select statement.<T1,T2>
@NotNull SelectSelectStep<Record2<T1,T2>>WithStep. selectDistinct(SelectField<T1> field1, SelectField<T2> field2)Create a new DSL select statement.Methods in org.jooq with parameters of type Record2 Modifier and Type Method Description @NotNull ConditionBetweenAndStep2. and(Record2<T1,T2> maxValue)Create a condition to check this field against some bounds@NotNull BetweenAndStep2<T1,T2>Row2. between(Record2<T1,T2> minValue)Check if this row value expression is within a range of two records.@NotNull ConditionRow2. between(Record2<T1,T2> minValue, Record2<T1,T2> maxValue)Check if this row value expression is within a range of two records.@NotNull BetweenAndStep2<T1,T2>Row2. betweenSymmetric(Record2<T1,T2> minValue)Check if this row value expression is within a symmetric range of two records.@NotNull ConditionRow2. betweenSymmetric(Record2<T1,T2> minValue, Record2<T1,T2> maxValue)Check if this row value expression is within a symmetric range of two records.@NotNull ConditionRow2. compare(Comparator comparator, Record2<T1,T2> record)Compare this row value expression with a record using a dynamic comparator.@NotNull ConditionRow2. eq(Record2<T1,T2> record)Compare this row value expression with a record for equality.@NotNull ConditionRow2. equal(Record2<T1,T2> record)Compare this row value expression with a record for equality.@NotNull ConditionRow2. ge(Record2<T1,T2> record)Compare this row value expression with a record for order.@NotNull ConditionRow2. greaterOrEqual(Record2<T1,T2> record)Compare this row value expression with a record for order.@NotNull ConditionRow2. greaterThan(Record2<T1,T2> record)Compare this row value expression with a record for order.@NotNull ConditionRow2. gt(Record2<T1,T2> record)Compare this row value expression with a record for order.@NotNull ConditionRow2. in(Record2<T1,T2>... record)Compare this row value expression with a set of records for equality.@NotNull ConditionRow2. isDistinctFrom(Record2<T1,T2> record)Compare this row value expression with another row value expression for distinctness.@NotNull ConditionRow2. isNotDistinctFrom(Record2<T1,T2> record)Compare this row value expression with another row value expression for distinctness.@NotNull ConditionRow2. le(Record2<T1,T2> record)Compare this row value expression with a record for order.@NotNull ConditionRow2. lessOrEqual(Record2<T1,T2> record)Compare this row value expression with a record for order.@NotNull ConditionRow2. lessThan(Record2<T1,T2> record)Compare this row value expression with a record for order.@NotNull ConditionRow2. lt(Record2<T1,T2> record)Compare this row value expression with a record for order.@NotNull ConditionRow2. ne(Record2<T1,T2> record)Compare this row value expression with a record for non-equality.@NotNull BetweenAndStep2<T1,T2>Row2. notBetween(Record2<T1,T2> minValue)Check if this row value expression is within a range of two records.@NotNull ConditionRow2. notBetween(Record2<T1,T2> minValue, Record2<T1,T2> maxValue)Check if this row value expression is within a range of two records.@NotNull BetweenAndStep2<T1,T2>Row2. notBetweenSymmetric(Record2<T1,T2> minValue)Check if this row value expression is not within a symmetric range of two records.@NotNull ConditionRow2. notBetweenSymmetric(Record2<T1,T2> minValue, Record2<T1,T2> maxValue)Check if this row value expression is not within a symmetric range of two records.@NotNull ConditionRow2. notEqual(Record2<T1,T2> record)Compare this row value expression with a record for non-equality@NotNull ConditionRow2. notIn(Record2<T1,T2>... record)Compare this row value expression with a set of records for non-equality.Method parameters in org.jooq with type arguments of type Record2 Modifier and Type Method Description <T1,T2>
voidUpdateQuery. addValues(Row2<T1,T2> row, Select<? extends Record2<T1,T2>> select)Specify a multi-column set clause for theUPDATEstatement.@NotNull WithStepWithAsStep2. as(Select<? extends Record2<?,?>> select)Associate a subselect with a common table expression's table and column names.@NotNull WithStepWithAsStep2. asMaterialized(Select<? extends Record2<?,?>> select)Associate a materialized subselect with a common table expression's table and column names.@NotNull WithStepWithAsStep2. asNotMaterialized(Select<? extends Record2<?,?>> select)Associate a non-materialized subselect with a common table expression's table and column names.@NotNull ConditionRow2. compare(Comparator comparator, QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect using a dynamic comparator.@NotNull ConditionRow2. compare(Comparator comparator, Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect using a dynamic comparator.@NotNull ConditionRow2. eq(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for equality.@NotNull ConditionRow2. eq(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for equality.@NotNull ConditionRow2. equal(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for equality.@NotNull ConditionRow2. equal(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for equality.@NotNull ConditionRow2. ge(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. ge(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. greaterOrEqual(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. greaterOrEqual(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. greaterThan(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. greaterThan(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. gt(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. gt(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. in(Result<? extends Record2<T1,T2>> result)Compare this row value expression with a set of records for equality.@NotNull ConditionRow2. in(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for equality.@NotNull ConditionRow2. isDistinctFrom(Select<? extends Record2<T1,T2>> select)Compare this row value expression with another row value expression for distinctness.@NotNull ConditionRow2. isNotDistinctFrom(Select<? extends Record2<T1,T2>> select)Compare this row value expression with another row value expression for distinctness.@NotNull ConditionRow2. le(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. le(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. lessOrEqual(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. lessOrEqual(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. lessThan(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. lessThan(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. lt(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. lt(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for order.@NotNull ConditionRow2. ne(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for non-equality.@NotNull ConditionRow2. ne(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for non-equality.@NotNull ConditionRow2. notEqual(QuantifiedSelect<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for non-equality.@NotNull ConditionRow2. notEqual(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for non-equality.@NotNull ConditionRow2. notIn(Result<? extends Record2<T1,T2>> result)Compare this row value expression with a set of records for equality.@NotNull ConditionRow2. notIn(Select<? extends Record2<T1,T2>> select)Compare this row value expression with a subselect for non-equality.@NotNull InsertOnDuplicateStep<R>InsertValuesStep2. select(Select<? extends Record2<T1,T2>> select)Use aSELECTstatement as the source of values for theINSERTstatement@NotNull Merge<R>MergeValuesStep2. select(Select<? extends Record2<T1,T2>> select)Deprecated.- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, viaDSLContext.mergeInto(Table)<T1,T2>
@NotNull UpdateFromStep<R>UpdateSetFirstStep. set(Row2<T1,T2> row, Select<? extends Record2<T1,T2>> select)Specify a multi-column set clause for theUPDATEstatement. -
Uses of Record2 in org.jooq.impl
Methods in org.jooq.impl that return Record2 Modifier and Type Method Description <T1,T2>
Record2<T1,T2>DefaultDSLContext. fetchSingle(SelectField<T1> field1, SelectField<T2> field2)<T1,T2>
Record2<T1,T2>DefaultDSLContext. newRecord(Field<T1> field1, Field<T2> field2)Methods in org.jooq.impl that return types with arguments of type Record2 Modifier and Type Method Description <T1,T2>
Result<Record2<T1,T2>>DefaultDSLContext. newResult(Field<T1> field1, Field<T2> field2)static <T1,T2>
@NotNull RecordType<Record2<T1,T2>>DSL. recordType(Field<T1> field1, Field<T2> field2)Create aRecordTypeof degree2.static <T1,T2>
@NotNull Field<Record2<T1,T2>>DSL. rowField(Row2<T1,T2> row)EXPERIMENTAL: Turn a row value expression of degree2into aField.<T1,T2>
SelectSelectStep<Record2<T1,T2>>DefaultDSLContext. select(SelectField<T1> field1, SelectField<T2> field2)static <T1,T2>
@NotNull SelectSelectStep<Record2<T1,T2>>DSL. select(SelectField<T1> field1, SelectField<T2> field2)Create a new DSL subselect statement.<T1,T2>
SelectSelectStep<Record2<T1,T2>>DefaultDSLContext. selectDistinct(SelectField<T1> field1, SelectField<T2> field2)static <T1,T2>
@NotNull SelectSelectStep<Record2<T1,T2>>DSL. selectDistinct(SelectField<T1> field1, SelectField<T2> field2)Create a new DSL subselect statement.static <T1,T2>
@NotNull Table<Record2<T1,T2>>DSL. values(Row2<T1,T2>... rows)Create aVALUES()expression of degree2.
-