Class CompositeCodec.Field<Z,A>
java.lang.Object
io.codemine.java.postgresql.codecs.CompositeCodec.Field<Z,A>
- Type Parameters:
Z- the composite typeA- the field value type
- Enclosing class:
CompositeCodec<Z>
Describes a single field inside a PostgreSQL composite type.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
accessor
-
codec
-
-
Constructor Details
-
Field
Creates a new field descriptor.- Parameters:
name- the PostgreSQL column nameaccessor- function extracting this field's value from the compositecodec- codec used to encode/decode this field's values
-