Class ByteArrayType
java.lang.Object
ubic.gemma.persistence.hibernate.ByteArrayType
- All Implemented Interfaces:
ParameterizedType, UserType<Object>
Represents a vector of scalars stored as a byte array in a single column.
The following types are supported for the arrayType parameter:
booleancharintlongfloatdoubleString, either zero-terminated or tab-delimited
ByteArrayUtils can be added if necessary.- Author:
- poirigui
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object owner) disassemble(Object value) booleanintintbooleannullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner) voidnullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session) voidsetParameterValues(Properties parameters) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter
-
Constructor Details
-
ByteArrayType
public ByteArrayType()
-
-
Method Details
-
getSqlType
public int getSqlType()- Specified by:
getSqlTypein interfaceUserType<Object>
-
returnedClass
- Specified by:
returnedClassin interfaceUserType<Object>
-
equals
- Specified by:
equalsin interfaceUserType<Object>- Throws:
HibernateException
-
hashCode
- Specified by:
hashCodein interfaceUserType<Object>- Throws:
HibernateException
-
deepCopy
- Specified by:
deepCopyin interfaceUserType<Object>- Throws:
HibernateException
-
isMutable
-
disassemble
- Specified by:
disassemblein interfaceUserType<Object>- Throws:
HibernateException
-
assemble
- Specified by:
assemblein interfaceUserType<Object>- Throws:
HibernateException
-
replace
- Specified by:
replacein interfaceUserType<Object>- Throws:
HibernateException
-
setParameterValues
- Specified by:
setParameterValuesin interfaceParameterizedType
-