public class InetAddressSerializer extends java.lang.Object implements TypeSerializer<java.net.InetAddress>
| Modifier and Type | Field and Description |
|---|---|
static InetAddressSerializer |
instance |
| Constructor and Description |
|---|
InetAddressSerializer() |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetAddress |
deserialize(java.nio.ByteBuffer bytes) |
java.lang.Class<java.net.InetAddress> |
getType() |
java.nio.ByteBuffer |
serialize(java.net.InetAddress value) |
java.lang.String |
toString(java.net.InetAddress value) |
void |
validate(java.nio.ByteBuffer bytes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoCQLLiteralpublic static final InetAddressSerializer instance
public java.net.InetAddress deserialize(java.nio.ByteBuffer bytes)
deserialize in interface TypeSerializer<java.net.InetAddress>public java.nio.ByteBuffer serialize(java.net.InetAddress value)
serialize in interface TypeSerializer<java.net.InetAddress>public void validate(java.nio.ByteBuffer bytes)
throws MarshalException
validate in interface TypeSerializer<java.net.InetAddress>MarshalExceptionpublic java.lang.String toString(java.net.InetAddress value)
toString in interface TypeSerializer<java.net.InetAddress>public java.lang.Class<java.net.InetAddress> getType()
getType in interface TypeSerializer<java.net.InetAddress>Copyright © 2018 The Apache Software Foundation