Interface Inet
PostgreSQL
inet type. IPv4 or IPv6 host address with optional subnet mask.
Holds an IPv4 or IPv6 host address, and optionally its subnet, all in one field. The subnet is represented by the number of network address bits present in the host address (the "netmask"). If the netmask is 32 and the address is IPv4 (or 128 for IPv6), the value represents just a single host.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidAppends the PostgreSQL text representation of this address tosb.voidEncodes this address in PostgreSQL binary wire format intoout.
-
Method Details
-
appendInTextTo
Appends the PostgreSQL text representation of this address tosb. -
encodeInBinary
Encodes this address in PostgreSQL binary wire format intoout.
-