Interface Cidr
PostgreSQL
cidr type. Represents a network address — an IPv4 or IPv6 address whose host
bits are all zero.
Unlike Inet, which can hold an arbitrary host address with an optional subnet mask, a
cidr value always denotes a network: the address stored is the network address itself
(all host bits are zero), and the netmask is required.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidAppends the PostgreSQL text representation of this CIDR block tosb.voidEncodes this CIDR block in PostgreSQL binary wire format intoout.
-
Method Details
-
appendInTextTo
Appends the PostgreSQL text representation of this CIDR block tosb. -
encodeInBinary
Encodes this CIDR block in PostgreSQL binary wire format intoout.
-