public class IpType extends StringType
Modifier | Constructor and Description |
---|---|
protected |
IpType() |
Modifier and Type | Method and Description |
---|---|
DataType<?> |
create() |
java.lang.String |
getName() |
int |
id() |
static boolean |
isValid(org.apache.lucene.util.BytesRef ip) |
org.apache.lucene.util.BytesRef |
value(java.lang.Object value) |
compareValueTo, readValueFrom, streamer, writeValueTo
public static final int ID
public static final IpType INSTANCE
public int id()
id
in class StringType
public org.apache.lucene.util.BytesRef value(java.lang.Object value)
value
in class StringType
public java.lang.String getName()
getName
in class StringType
public DataType<?> create()
create
in interface DataTypeFactory
create
in class StringType
public static boolean isValid(org.apache.lucene.util.BytesRef ip)