public class Inet4Datum extends Datum
Constructor and Description |
---|
Inet4Datum(byte[] addr) |
Inet4Datum(byte[] addr,
int offset,
int length) |
Inet4Datum(String addr) |
Modifier and Type | Method and Description |
---|---|
byte[] |
asByteArray() |
String |
asChars() |
int |
asInt4() |
long |
asInt8() |
int |
compareTo(Datum datum) |
boolean |
equals(Object obj) |
Datum |
equalsTo(Datum datum) |
int |
hashCode() |
int |
size() |
and, asBool, asByte, asChar, asFloat4, asFloat8, asInt2, asTextBytes, divide, greaterThan, greaterThanEqual, isNull, isNumber, isNumeric, isReal, isTrue, lessThan, lessThanEqual, minus, modular, multiply, notEqualsTo, or, plus, toJson, toString, type
public Inet4Datum(String addr)
public Inet4Datum(byte[] addr)
public Inet4Datum(byte[] addr, int offset, int length)
public byte[] asByteArray()
asByteArray
in class Datum
Copyright © 2014 Apache Software Foundation. All Rights Reserved.