Class ReactiveArrayJdbcType
- java.lang.Object
-
- org.hibernate.reactive.type.descriptor.jdbc.ReactiveArrayJdbcType
-
- All Implemented Interfaces:
Serializable
,JdbcType
public class ReactiveArrayJdbcType extends Object implements JdbcType
Connection
has a methodConnection.createArrayOf(String, Object[])
, but we don't have it in Vert.x SQL Client.Plus, the Vert.x SQL client accept arrays as parameters.
- See Also:
ArrayJdbcType
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReactiveArrayJdbcType(JdbcType elementJdbcType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
<X> ValueBinder<X>
getBinder(JavaType<X> javaTypeDescriptor)
JdbcType
getElementJdbcType()
<X> ValueExtractor<X>
getExtractor(JavaType<X> javaTypeDescriptor)
String
getFriendlyName()
<T> JdbcLiteralFormatter<T>
getJdbcLiteralFormatter(JavaType<T> javaTypeDescriptor)
<T> JavaType<T>
getJdbcRecommendedJavaTypeMapping(Integer precision, Integer scale, TypeConfiguration typeConfiguration)
int
getJdbcTypeCode()
Class<?>
getPreferredJavaTypeClass(WrapperOptions options)
int
hashCode()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, isBinary, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isString, isStringLike, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
-
-
-
Constructor Detail
-
ReactiveArrayJdbcType
public ReactiveArrayJdbcType(JdbcType elementJdbcType)
-
-
Method Detail
-
getJdbcTypeCode
public int getJdbcTypeCode()
- Specified by:
getJdbcTypeCode
in interfaceJdbcType
-
getJdbcRecommendedJavaTypeMapping
public <T> JavaType<T> getJdbcRecommendedJavaTypeMapping(Integer precision, Integer scale, TypeConfiguration typeConfiguration)
- Specified by:
getJdbcRecommendedJavaTypeMapping
in interfaceJdbcType
-
getJdbcLiteralFormatter
public <T> JdbcLiteralFormatter<T> getJdbcLiteralFormatter(JavaType<T> javaTypeDescriptor)
- Specified by:
getJdbcLiteralFormatter
in interfaceJdbcType
-
getPreferredJavaTypeClass
public Class<?> getPreferredJavaTypeClass(WrapperOptions options)
- Specified by:
getPreferredJavaTypeClass
in interfaceJdbcType
-
getBinder
public <X> ValueBinder<X> getBinder(JavaType<X> javaTypeDescriptor)
-
getExtractor
public <X> ValueExtractor<X> getExtractor(JavaType<X> javaTypeDescriptor)
- Specified by:
getExtractor
in interfaceJdbcType
-
getFriendlyName
public String getFriendlyName()
- Specified by:
getFriendlyName
in interfaceJdbcType
-
getElementJdbcType
public JdbcType getElementJdbcType()
-
-