Documentation of 'org.hsqldb.types.BlobType' Java class
BlobType
org.hsqldb.types

Class BlobType

  • All Implemented Interfaces:
    java.lang.Cloneable, SchemaObject


    public final class BlobType
    extends BinaryType
    Type object for BLOB.
    Since:
    1.9.0
    • Constructor Detail

      • BlobType

        public BlobType(long precision)
    • Method Detail

      • getJDBCTypeCode

        public int getJDBCTypeCode()
        Description copied from class: Type
        Returns the JDBC type number of type, if it exists, otherwise the HSQLDB / SQL type.
        Overrides:
        getJDBCTypeCode in class BinaryType
      • getJDBCClassName

        public java.lang.String getJDBCClassName()
        Description copied from class: Type
        Returns the JDBC class name of type, if it exists, otherwise the HSQLDB class name.
        Overrides:
        getJDBCClassName in class BinaryType
      • getNameString

        public java.lang.String getNameString()
        Description copied from class: Type
        Returns the name of the type
        Overrides:
        getNameString in class BinaryType
      • getFullNameString

        public java.lang.String getFullNameString()
        Description copied from class: Type
        Returns the name of the type
        Overrides:
        getFullNameString in class Type
      • getDefinition

        public java.lang.String getDefinition()
        Description copied from class: Type
        Returns the full definition of the type, including parameters
        Overrides:
        getDefinition in class BinaryType
      • isLobType

        public boolean isLobType()
        Overrides:
        isLobType in class Type
      • compare

        public int compare(Session session,
                           java.lang.Object a,
                           java.lang.Object b)
        Overrides:
        compare in class BinaryType
      • castToType

        public java.lang.Object castToType(SessionInterface session,
                                           java.lang.Object a,
                                           Type otherType)
        Description copied from class: Type
        Explicit casts are handled by this method. SQL standard 6.12 rules for enforcement of size, precision and scale are implemented. For CHARACTER values, it performs truncation in all cases of long strings.
        Overrides:
        castToType in class BinaryType
      • convertToType

        public java.lang.Object convertToType(SessionInterface session,
                                              java.lang.Object a,
                                              Type otherType)
        Description copied from class: Type
        Same as castToType except for CHARACTER values. Perform string truncation of trailing spaces only. For other long strings, it raises an exception.
        Overrides:
        convertToType in class BinaryType
      • convertToDefaultType

        public java.lang.Object convertToDefaultType(SessionInterface session,
                                                     java.lang.Object a)
        Description copied from class: Type
        Converts the object to the given type without limit checks. Used for JDBC writes.
        Overrides:
        convertToDefaultType in class BinaryType
      • convertToString

        public java.lang.String convertToString(java.lang.Object a)
        Overrides:
        convertToString in class BinaryType

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.