- All Superinterfaces:
Adapter.Contract<T>
,Adapter.Contract.Scalar<T>
- All Known Implementing Classes:
Datetime.Time.AsLocalTime
- Enclosing interface:
Datetime
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
TIME
type's PostgreSQL semantics: microseconds since
midnight.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A reference implementation that maps toLocalTime
.static interface
Functional interface to obtain information from the PostgreSQL type modifier applied to the type.Nested classes/interfaces inherited from interface org.postgresql.pljava.Adapter.Contract
Adapter.Contract.Array<T,
E, A extends Adapter<E, ?>>, Adapter.Contract.Scalar<T> -
Method Summary
-
Method Details
-
construct
Constructs a representation T from the components of the PostgreSQL data type.The argument represents microseconds since midnight, nonnegative and not exceeding
USECS_PER_DAY
.PostgreSQL does allow the value to exactly equal
USECS_PER_DAY
. 24:00:00 is considered a valid value. That may need extra attention if the representation to be constructed doesn't allow that.
-