Module org.jooq.postgres.extensions
Class AbstractPostgresBinding<T,U>
java.lang.Object
org.jooq.impl.AbstractBinding<T,U>
org.jooq.postgres.extensions.bindings.AbstractPostgresBinding<T,U>
- All Implemented Interfaces:
Serializable
,Binding<T,
U>
- Direct Known Subclasses:
HstoreBinding
A common base class for bindings in this module.
- Author:
- Lukas Eder
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
castType()
Provide the data type name for casts.void
get
(BindingGetSQLInputContext<U> ctx) void
set
(BindingSetSQLOutputContext<U> ctx) protected void
sqlBind
(BindingSQLContext<U> ctx) protected void
sqlInline
(BindingSQLContext<U> ctx) Methods inherited from class org.jooq.impl.AbstractBinding
get, register, sql
-
Constructor Details
-
AbstractPostgresBinding
public AbstractPostgresBinding()
-
-
Method Details
-
castType
Provide the data type name for casts.Most PostgreSQL vendor specific data types need to be cast explicitly, e.g.
?::hstore
. Implementations should provide this cast type, e.g.hstore
. -
sqlInline
- Overrides:
sqlInline
in classAbstractBinding<T,
U> - Throws:
SQLException
-
sqlBind
- Overrides:
sqlBind
in classAbstractBinding<T,
U> - Throws:
SQLException
-
set
- Specified by:
set
in interfaceBinding<T,
U> - Overrides:
set
in classAbstractBinding<T,
U> - Throws:
SQLException
-
get
- Specified by:
get
in interfaceBinding<T,
U> - Overrides:
get
in classAbstractBinding<T,
U> - Throws:
SQLException
-