java.lang.Object
org.jooq.postgres.extensions.types.AbstractInet
org.jooq.postgres.extensions.types.Cidr
- All Implemented Interfaces:
Serializable
A data type representing the PostgreSQL
cidr type.- Author:
- Lukas Eder
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic final @NotNull Cidrcidr(InetAddress address, Integer prefix) Create a newCidrinstance.static final @Nullable CidrcidrOrNull(InetAddress address, Integer prefix) final @NotNull Integerprefix()static final @NotNull CidrvalueOf(InetAddress address, Integer prefix) Create a newCidrinstance.Methods inherited from class org.jooq.postgres.extensions.types.AbstractInet
address, equals, hashCode, toString
-
Method Details
-
prefix
- Overrides:
prefixin classAbstractInet
-
valueOf
Create a newCidrinstance. -
cidr
Create a newCidrinstance.This is the same as
valueOf(InetAddress, Integer), but it can be static imported. -
cidrOrNull
-