Class VarlenaWrapper.Input

  • All Implemented Interfaces:
    Closeable, AutoCloseable, VarlenaWrapper
    Enclosing interface:
    VarlenaWrapper

    public static class VarlenaWrapper.Input
    extends Object
    implements VarlenaWrapper
    A class by which Java reads the content of a varlena. Associated with a ResourceOwner to bound the lifetime of the native reference; the chosen resource owner must be one that will be released no later than the memory context containing the varlena.
    • Method Detail

      • pinUnlessReleased

        public boolean pinUnlessReleased()
      • unpin

        public void unpin()
      • toString

        public String toString​(Object o)
        Description copied from interface: VarlenaWrapper
        Return a string describing this object in a way useful for debugging, prefixed with the name (abbreviated for comfort) of the class of the object passed in (the normal Java toString() method should pass this).

        Subclasses or consumers are encouraged to call this method and append further details specific to the subclass or consumer. The convention should be that the recursion will stop at some class that will actually construct the abbreviated class name of o and use it to prefix the returned value.

        Specified by:
        toString in interface VarlenaWrapper
        Parameters:
        o - An object whose class name (possibly abbreviated) should be used to prefix the returned string.
        Returns:
        Description of this object.