Interface Datum

All Superinterfaces:
AutoCloseable, Closeable
All Known Subinterfaces:
Datum.Input<T>

public interface Datum extends Closeable
Raw access to the contents of a PostgreSQL datum.

For type safety, only Adapter implementations should be able to obtain a Datum, and should avoid leaking it to other code.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Accessor for a Datum located, at some offset, in memory represented by a <B> object.
    static interface 
    Interface through which PL/Java code reads the content of an existing PostgreSQL datum.
    static interface 
    Empty superinterface of Accessor.Deformed and Accessor.Heap, which are erased at run time but help distinguish, in source code, which memory layout convention an Accessor is tailored for.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Use the given Verifier to confirm that the Datum content is well-formed, throwing an exception if not.
    void
    Use the given Verifier to confirm that the Datum content is well-formed, throwing an exception if not.

    Methods inherited from interface java.io.Closeable

    close