[#3557] Add support for PostgreSQL user-defined aggregate functions - Regenerated schema
This commit is contained in:
parent
b1e200c699
commit
b5393c76c4
@ -463,6 +463,26 @@ public class Routines {
|
||||
return p;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.second_max</code> as a field
|
||||
*/
|
||||
public static org.jooq.AggregateFunction<java.lang.Integer> secondMax(java.lang.Integer __1) {
|
||||
org.jooq.test.postgres.generatedclasses.routines.SecondMax f = new org.jooq.test.postgres.generatedclasses.routines.SecondMax();
|
||||
f.set__1(__1);
|
||||
|
||||
return f.asAggregateFunction();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.second_max</code> as a field
|
||||
*/
|
||||
public static org.jooq.AggregateFunction<java.lang.Integer> secondMax(org.jooq.Field<java.lang.Integer> __1) {
|
||||
org.jooq.test.postgres.generatedclasses.routines.SecondMax f = new org.jooq.test.postgres.generatedclasses.routines.SecondMax();
|
||||
f.set__1(__1);
|
||||
|
||||
return f.asAggregateFunction();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.f_search_book</code> as a field
|
||||
*/
|
||||
|
||||
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package org.jooq.test.postgres.generatedclasses.routines;
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SecondMax extends org.jooq.impl.AbstractRoutine<java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = 575408053;
|
||||
|
||||
/**
|
||||
* The parameter <code>public.second_max.RETURN_VALUE</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
/**
|
||||
* The parameter <code>public.second_max._1</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> _1 = createParameter("_1", org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public SecondMax() {
|
||||
super("second_max", org.jooq.test.postgres.generatedclasses.Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
addInParameter(_1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>_1</code> parameter IN value to the routine
|
||||
*/
|
||||
public void set__1(java.lang.Integer value) {
|
||||
setValue(org.jooq.test.postgres.generatedclasses.routines.SecondMax._1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>_1</code> parameter to the function to be used with a {@link org.jooq.Select} statement
|
||||
*/
|
||||
public SecondMax set__1(org.jooq.Field<java.lang.Integer> field) {
|
||||
setField(_1, field);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user