Class PlaceholderValue.PlaceholderUdtValue

    • Method Detail

      • getUserDefinedType

        public String getUserDefinedType()
        Description copied from interface: UDTValue
        Gets the name (a string) of the user-defined type of this value.
        Specified by:
        getUserDefinedType in interface UDTValue
        Returns:
        The name of the user-defined data type of this value.
      • getValueAsStream

        public InputStream getValueAsStream()
        Description copied from interface: UDTValue
        Gets the value as an InputStream of this user-defined data type.
        You have to close the stream after usage.
        Specified by:
        getValueAsStream in interface UDTValue
        Returns:
        The value of a (this) user-defined data type as an InputStream. The caller is responsible for closing.
      • getInputStream

        public InputStream getInputStream()
        Description copied from interface: UDTValue
        Gets the value as an InputStream of this user-defined data type.
        You have to close the stream after usage. Usually you should not UDTValue.close() this UDTValue before all created input streams have been consumed. Implementations may deviate so that closing the UDTValue does not affect the created input streams.
        Specified by:
        getInputStream in interface UDTValue
        Returns:
        The value of a (this) user-defined data type as an InputStream. The caller is responsible for closing.
      • getValueAsArray

        public byte[] getValueAsArray()
        Description copied from interface: UDTValue
        Gets the value as a byte array of this user-defined data type.
        Specified by:
        getValueAsArray in interface UDTValue
        Returns:
        The value of a (this) user-defined data type as an array of bytes.
      • getSize

        public Long getSize()
        Description copied from interface: UDTValue
        Gets the size of this UDT value if it is known. For instance, if the content stems from a stream and the stream is not read yet, the size cannot be determined and null will be returned.
        Specified by:
        getSize in interface UDTValue
        Returns:
        The size of the content of this UDT value, null if the content is not known yet, for instance, it has not been read from the input stream yet.
      • getBytes

        public byte[] getBytes()
        Description copied from interface: UDTValue
        Gets the value as a byte array of this user-defined data type.
        Specified by:
        getBytes in interface UDTValue
        Returns:
        The value of a (this) user-defined data type as an array of bytes.