Package io.vertx.pgclient.data
Class Inet
- java.lang.Object
-
- io.vertx.pgclient.data.Inet
-
public class Inet extends Object
A PosgreSQL inet network address.
-
-
Constructor Summary
Constructors Constructor Description Inet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetAddress
getAddress()
Integer
getNetmask()
Inet
setAddress(InetAddress address)
Set the inet addressInet
setNetmask(Integer netmask)
Set a netmask.
-
-
-
Method Detail
-
getAddress
public InetAddress getAddress()
- Returns:
- the inet address
-
setAddress
public Inet setAddress(InetAddress address)
Set the inet address- Parameters:
address
-- Returns:
- a reference to this, so the API can be used fluently
-
getNetmask
public Integer getNetmask()
- Returns:
- the optional netmask
-
-