- Type Parameters:
T
- the type returned by the constructorI
- internal parameter that consumers of this interface should wildcard; an implementor may bound this parameter to get stricter type checking of theDispenser
uses within the implementing body.
- All Superinterfaces:
Adapter.Contract<T>
,Adapter.Contract.Scalar<T>
- Enclosing interface:
Geometric
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
PATH
type's PostgreSQL semantics: vertex points and whether
closed.-
Nested Class Summary
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
Modifier and TypeMethodDescriptionconstruct
(int nPoints, boolean closed, Adapter.PullDispenser<I, Geometric.Point<I>> points) Constructs a representation T from the components of the PostgreSQL data type.
-
Method Details
-
construct
Constructs a representation T from the components of the PostgreSQL data type.- Parameters:
nPoints
- the number of points on the pathclosed
- whether the path should be understood to include a segment joining the last point to the first one.points
- a dispenser that will dispense aPoint
for each index 0 through nPoint - 1.
-