final case class Inet(ipAddress: InetAddress, netmask: Short) extends Product with Serializable
Postgres Inet type wrapper.
Postgres Inet type (https://www.postgresql.org/docs/current/datatype-net-types.html#DATATYPE-INET) is a tuple made of an address and a subnet (or "network mask").
- ipAddress
the IpAddress part, e.g.: 192.168.0.1
- netmask
the netmask, or number of bits to consider in
ipAddress
. This is 0 to 32 for IPv4 and 0 to 128 for IPv6. This is an unsigned byte value, so using aShort
.
- Alphabetic
- By Inheritance
- Inet
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Inet(ipAddress: InetAddress, netmask: Short)
- ipAddress
the IpAddress part, e.g.: 192.168.0.1
- netmask
the netmask, or number of bits to consider in
ipAddress
. This is 0 to 32 for IPv4 and 0 to 128 for IPv6. This is an unsigned byte value, so using aShort
.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val ipAddress: InetAddress
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val netmask: Short
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()